summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_surface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_surface.h')
-rw-r--r--src/mesa/pipe/softpipe/sp_surface.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/pipe/softpipe/sp_surface.h b/src/mesa/pipe/softpipe/sp_surface.h
index 6782bba376..90086c327f 100644
--- a/src/mesa/pipe/softpipe/sp_surface.h
+++ b/src/mesa/pipe/softpipe/sp_surface.h
@@ -85,6 +85,12 @@ struct softpipe_surface {
};
+extern struct pipe_surface *
+softpipe_get_tex_surface(struct pipe_context *pipe,
+ struct pipe_mipmap_tree *mt,
+ GLuint face, GLuint level, GLuint zslice);
+
+
/** Cast wrapper */
static INLINE struct softpipe_surface *
softpipe_surface(struct pipe_surface *ps)