summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/softpipe/sp_surface.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-07 13:13:41 -0600
committerBrian <[email protected]>2007-08-07 13:13:41 -0600
commitb23f358cbc36a2b6a9e7609290a7458fa48f7ccb (patch)
treeb993aff460f679f2c28b06e5f123f90d687255d8 /src/mesa/pipe/softpipe/sp_surface.h
parent281dad225947b4f00bfc5e785d92d2a7c2f06afe (diff)
sketch out new pipe surface/sampler types
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 6782bba376e..90086c327f4 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)