gallium: add information to surface to identify which texture image it is pointing at
authorKeith Whitwell <keith@tungstengraphics.com>
Thu, 1 May 2008 11:28:50 +0000 (12:28 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Thu, 1 May 2008 11:28:59 +0000 (12:28 +0100)
src/gallium/include/pipe/p_state.h

index 62b05a403b36086009d5755eeee61a4466de989f..47e57e2957cd39375ba2b8e191761b1e9b993fca 100644 (file)
@@ -278,6 +278,9 @@ struct pipe_surface
    struct pipe_winsys *winsys;   /**< winsys which owns/created the surface */
 
    struct pipe_texture *texture; /**< optional texture into which this is a view  */
+   unsigned face;
+   unsigned level;
+   unsigned zslice;
 };