projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
076e5ea
)
cso: remove unreachable break statements
author
Brian Paul
<brianp@vmware.com>
Thu, 2 Aug 2012 22:30:10 +0000
(16:30 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 3 Aug 2012 13:16:35 +0000
(07:16 -0600)
src/gallium/auxiliary/cso_cache/cso_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/cso_cache/cso_context.c
b/src/gallium/auxiliary/cso_cache/cso_context.c
index 7db1e41f8b0c9bfea30c338dc8b325a074a1ed78..b592c4f2feb99b8686685b7500d381b564993176 100644
(file)
--- a/
src/gallium/auxiliary/cso_cache/cso_context.c
+++ b/
src/gallium/auxiliary/cso_cache/cso_context.c
@@
-189,19
+189,14
@@
static INLINE boolean delete_cso(struct cso_context *ctx,
switch (type) {
case CSO_BLEND:
return delete_blend_state(ctx, state);
- break;
case CSO_SAMPLER:
return delete_sampler_state(ctx, state);
- break;
case CSO_DEPTH_STENCIL_ALPHA:
return delete_depth_stencil_state(ctx, state);
- break;
case CSO_RASTERIZER:
return delete_rasterizer_state(ctx, state);
- break;
case CSO_VELEMENTS:
return delete_vertex_elements(ctx, state);
- break;
default:
assert(0);
FREE(state);