summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe/p_state.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-05-01 12:28:50 +0100
committerKeith Whitwell <[email protected]>2008-05-01 12:28:59 +0100
commitb59f9c95c1f7aca60c5d6889d4dc388d19fbc3e1 (patch)
tree786626938bd551130b0ff49d62457069db926c22 /src/gallium/include/pipe/p_state.h
parent228aaa6cab9ebb32eb23b85fc8a5f05c1dbe975a (diff)
gallium: add information to surface to identify which texture image it is pointing at
Diffstat (limited to 'src/gallium/include/pipe/p_state.h')
-rw-r--r--src/gallium/include/pipe/p_state.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h
index 62b05a403b3..47e57e2957c 100644
--- a/src/gallium/include/pipe/p_state.h
+++ b/src/gallium/include/pipe/p_state.h
@@ -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;
};