diff options
author | Keith Whitwell <[email protected]> | 2008-05-01 12:28:50 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-05-01 12:28:59 +0100 |
commit | b59f9c95c1f7aca60c5d6889d4dc388d19fbc3e1 (patch) | |
tree | 786626938bd551130b0ff49d62457069db926c22 /src | |
parent | 228aaa6cab9ebb32eb23b85fc8a5f05c1dbe975a (diff) |
gallium: add information to surface to identify which texture image it is pointing at
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/include/pipe/p_state.h | 3 |
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; }; |