projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9a5ef1
)
Fix a really stupid mistake that Michel hit. Return proper hash.
author
Zack Rusin
<zack@tungstengraphics.com>
Wed, 19 Sep 2007 19:29:17 +0000
(15:29 -0400)
committer
Zack Rusin
<zack@tungstengraphics.com>
Wed, 19 Sep 2007 19:29:48 +0000
(15:29 -0400)
src/mesa/pipe/cso_cache/cso_cache.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/cso_cache/cso_cache.c
b/src/mesa/pipe/cso_cache/cso_cache.c
index e87733c7abab840c047bb74b83d9beb69fe8d7ca..71f0d0872611a7402c7e114c9dd11371c04f10ad 100644
(file)
--- a/
src/mesa/pipe/cso_cache/cso_cache.c
+++ b/
src/mesa/pipe/cso_cache/cso_cache.c
@@
-74,16
+74,22
@@
static struct cso_hash *_cso_hash_for_type(struct cso_cache *sc, enum cso_cache_
switch(type) {
case CSO_BLEND:
hash = sc->blend_hash;
+ break;
case CSO_SAMPLER:
hash = sc->sampler_hash;
+ break;
case CSO_DEPTH_STENCIL:
hash = sc->depth_stencil_hash;
+ break;
case CSO_RASTERIZER:
hash = sc->rasterizer_hash;
+ break;
case CSO_FRAGMENT_SHADER:
hash = sc->fs_hash;
+ break;
case CSO_VERTEX_SHADER:
hash = sc->vs_hash;
+ break;
}
return hash;