From: Keith Whitwell Date: Thu, 1 May 2008 11:28:50 +0000 (+0100) Subject: gallium: add information to surface to identify which texture image it is pointing at X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b59f9c95c1f7aca60c5d6889d4dc388d19fbc3e1;p=mesa.git gallium: add information to surface to identify which texture image it is pointing at --- 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; };