i965/fs/nir: Mark fallthrough.
authorMatt Turner <mattst88@gmail.com>
Sat, 11 Apr 2015 16:49:36 +0000 (09:49 -0700)
committerMatt Turner <mattst88@gmail.com>
Sat, 11 Apr 2015 16:59:47 +0000 (09:59 -0700)
src/mesa/drivers/dri/i965/brw_fs_nir.cpp

index 7c56290ed702763a7765e0ae944a260e682fbf2a..c179d7137a846ac5641837ad81b23fd9e3a1779f 100644 (file)
@@ -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;