summaryrefslogtreecommitdiff
path: root/src/gallium/include/pipe
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2008-05-02 17:56:01 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2008-05-02 17:56:01 +0100
commitb2021e7c06a9ec13b82eeeb352ad2408fe060518 (patch)
tree67bf6e3c5075eefb813ac55e44f601b057707959 /src/gallium/include/pipe
parent7849ccb2a7dba3b9d751acaac9dd9aec3abe3b59 (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.h3
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 d7565dff96..4936b7f507 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.