summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/cso_cache/cso_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/cso_cache/cso_cache.h')
-rw-r--r--src/mesa/pipe/cso_cache/cso_cache.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/pipe/cso_cache/cso_cache.h b/src/mesa/pipe/cso_cache/cso_cache.h
index 23be9cd713..d9793ca855 100644
--- a/src/mesa/pipe/cso_cache/cso_cache.h
+++ b/src/mesa/pipe/cso_cache/cso_cache.h
@@ -44,13 +44,15 @@ struct cso_cache {
struct cso_hash *sampler_hash;
struct cso_hash *depth_stencil_hash;
struct cso_hash *rasterizer_hash;
+ struct cso_hash *shader_hash;
};
enum cso_cache_type {
CSO_BLEND,
CSO_SAMPLER,
CSO_DEPTH_STENCIL,
- CSO_RASTERIZER
+ CSO_RASTERIZER,
+ CSO_SHADER
};
unsigned cso_construct_key(void *item, int item_size);