diff options
author | Keith Whitwell <[email protected]> | 2008-05-02 17:56:01 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-05-02 17:56:01 +0100 |
commit | b2021e7c06a9ec13b82eeeb352ad2408fe060518 (patch) | |
tree | 67bf6e3c5075eefb813ac55e44f601b057707959 /src/gallium/include/pipe | |
parent | 7849ccb2a7dba3b9d751acaac9dd9aec3abe3b59 (diff) |
gallium: identify depth-stencil textures
And don't use the display-target path to allocate them.
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r-- | src/gallium/include/pipe/p_state.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index d7565dff960..4936b7f5077 100644 --- a/src/gallium/include/pipe/p_state.h +++ b/src/gallium/include/pipe/p_state.h @@ -286,7 +286,8 @@ struct pipe_surface #define PIPE_TEXTURE_USAGE_RENDER_TARGET 0x1 #define PIPE_TEXTURE_USAGE_DISPLAY_TARGET 0x2 /* ie a backbuffer */ -#define PIPE_TEXTURE_USAGE_SAMPLER 0x4 +#define PIPE_TEXTURE_USAGE_DEPTH_STENCIL 0x4 +#define PIPE_TEXTURE_USAGE_SAMPLER 0x8 /** * Texture object. |