projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb4b2ad
)
nir/gcm: Add some missing break statements
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Sun, 22 Feb 2015 06:29:01 +0000
(22:29 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Mon, 23 Feb 2015 21:20:13 +0000
(13:20 -0800)
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/glsl/nir/nir_opt_gcm.c
patch
|
blob
|
history
diff --git
a/src/glsl/nir/nir_opt_gcm.c
b/src/glsl/nir/nir_opt_gcm.c
index bf565b96988f65492bbff3dd77840a8fd938f65b..b4f5fd3d50aea185b637c4a273a422406f74ed12 100644
(file)
--- a/
src/glsl/nir/nir_opt_gcm.c
+++ b/
src/glsl/nir/nir_opt_gcm.c
@@
-121,9
+121,11
@@
gcm_pin_instructions_block(nir_block *block, void *void_state)
case nir_op_fddy_coarse:
/* These can only go in uniform control flow; pin them for now */
instr->pass_flags = GCM_INSTR_PINNED;
+ break;
default:
instr->pass_flags = 0;
+ break;
}
break;
@@
-134,9
+136,11
@@
gcm_pin_instructions_block(nir_block *block, void *void_state)
case nir_texop_lod:
/* These two take implicit derivatives so they need to be pinned */
instr->pass_flags = GCM_INSTR_PINNED;
+ break;
default:
instr->pass_flags = 0;
+ break;
}
break;