diff options
author | José Fonseca <[email protected]> | 2008-05-07 14:14:48 +0900 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-05-07 14:14:48 +0900 |
commit | fe06a47361b2db3dfde537aeb0c193495a16905e (patch) | |
tree | 32411b56423975495470160bd642fb75ca6d2ec6 | |
parent | 6b0fd0f1572cd6af1e931b70f75852de25d32649 (diff) |
gallium: New PIPE_TEXTURE_USAGE_PRIMARY flag for primary surfaces.
-rw-r--r-- | src/gallium/include/pipe/p_state.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index 571ea8c6e15..e7ee8c97ed7 100644 --- a/src/gallium/include/pipe/p_state.h +++ b/src/gallium/include/pipe/p_state.h @@ -287,8 +287,9 @@ struct pipe_surface #define PIPE_TEXTURE_USAGE_RENDER_TARGET 0x1 #define PIPE_TEXTURE_USAGE_DISPLAY_TARGET 0x2 /* ie a backbuffer */ -#define PIPE_TEXTURE_USAGE_DEPTH_STENCIL 0x4 -#define PIPE_TEXTURE_USAGE_SAMPLER 0x8 +#define PIPE_TEXTURE_USAGE_PRIMARY 0x4 /* ie a frontbuffer */ +#define PIPE_TEXTURE_USAGE_DEPTH_STENCIL 0x8 +#define PIPE_TEXTURE_USAGE_SAMPLER 0x10 /** * Texture object. |