summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2015-04-11 09:49:36 -0700
committerMatt Turner <[email protected]>2015-04-11 09:59:47 -0700
commit024ecc783b763712d2896fd315d8b5222c27b1ec (patch)
tree62d723cf5b18d958451343e2d25118036aa2eb18
parent1ac230975e2d3d9429e7a54f05d4fd803419fcd3 (diff)
i965/fs/nir: Mark fallthrough.
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_nir.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp
index 7c56290ed70..c179d7137a8 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp
@@ -1515,6 +1515,7 @@ fs_visitor::nir_emit_intrinsic(nir_intrinsic_instr *instr)
case nir_intrinsic_load_uniform_indirect:
has_indirect = true;
+ /* fallthrough */
case nir_intrinsic_load_uniform: {
unsigned index = instr->const_index[0];
@@ -1742,6 +1743,7 @@ fs_visitor::nir_emit_intrinsic(nir_intrinsic_instr *instr)
case nir_intrinsic_store_output_indirect:
has_indirect = true;
+ /* fallthrough */
case nir_intrinsic_store_output: {
fs_reg src = get_nir_src(instr->src[0]);
unsigned index = 0;