summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe/p_state.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-05-03 15:41:05 +0100
committerKeith Whitwell <[email protected]>2008-05-03 15:41:05 +0100
commit8e6a3807981bb96bb6747683dbc9f92ae7117dd2 (patch)
tree78912a6a59da28a9502bc226df8cea2e154841bc /src/gallium/include/pipe/p_state.h
parent99df379b2c5b8e4e2ee7e5f2af864daf0a9eb1f7 (diff)
gallium: add pipe surface layout value (Roland Scheidegger)
Diffstat (limited to 'src/gallium/include/pipe/p_state.h')
-rw-r--r--src/gallium/include/pipe/p_state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h
index 4936b7f5077..571ea8c6e15 100644
--- a/src/gallium/include/pipe/p_state.h
+++ b/src/gallium/include/pipe/p_state.h
@@ -271,6 +271,7 @@ struct pipe_surface
unsigned width;
unsigned height;
unsigned pitch; /**< in pixels */
+ unsigned layout; /**< PIPE_SURFACE_LAYOUT_x */
unsigned offset; /**< offset from start of buffer, in bytes */
unsigned refcount;
unsigned usage; /**< PIPE_BUFFER_USAGE_* */