summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/cso_cache/cso_cache.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2007-12-17 16:14:29 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2007-12-17 16:14:29 +0000
commitbfe79babf99e6b9435195178d1ea64687c60d161 (patch)
tree2d526bbee445fce7db6cd2bba7207cfcebe74f0e /src/mesa/pipe/cso_cache/cso_cache.h
parent556e247cee905f84d639b4a292e891c24b36bea1 (diff)
gallium: incorporate alpha state into depth_stencil state object.
Diffstat (limited to 'src/mesa/pipe/cso_cache/cso_cache.h')
-rw-r--r--src/mesa/pipe/cso_cache/cso_cache.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/mesa/pipe/cso_cache/cso_cache.h b/src/mesa/pipe/cso_cache/cso_cache.h
index cd36dd51e9..116e2eaa2c 100644
--- a/src/mesa/pipe/cso_cache/cso_cache.h
+++ b/src/mesa/pipe/cso_cache/cso_cache.h
@@ -40,7 +40,6 @@
struct cso_hash;
struct cso_cache {
- struct cso_hash *alpha_hash;
struct cso_hash *blend_hash;
struct cso_hash *depth_stencil_hash;
struct cso_hash *fs_hash;
@@ -54,8 +53,8 @@ struct cso_blend {
void *data;
};
-struct cso_depth_stencil {
- struct pipe_depth_stencil_state state;
+struct cso_depth_stencil_alpha {
+ struct pipe_depth_stencil_alpha_state state;
void *data;
};
@@ -79,19 +78,14 @@ struct cso_sampler {
void *data;
};
-struct cso_alpha_test {
- struct pipe_alpha_test_state state;
- void *data;
-};
enum cso_cache_type {
CSO_BLEND,
CSO_SAMPLER,
- CSO_DEPTH_STENCIL,
+ CSO_DEPTH_STENCIL_ALPHA,
CSO_RASTERIZER,
CSO_FRAGMENT_SHADER,
- CSO_VERTEX_SHADER,
- CSO_ALPHA_TEST
+ CSO_VERTEX_SHADER
};
unsigned cso_construct_key(void *item, int item_size);