intel/fs: Add Fall-through comment
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Wed, 18 Sep 2019 16:04:39 +0000 (09:04 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Thu, 19 Sep 2019 17:02:16 +0000 (10:02 -0700)
Reviewed-by: Andres Gomez <agomez@igalia.com>
src/intel/compiler/brw_fs_nir.cpp

index 043b4f196f33fd048ded61a825baaaeb3e1f8c03..b6bdd7a5f291bbefb0688210a037b636f5f6e224 100644 (file)
@@ -1652,13 +1652,16 @@ fs_visitor::nir_emit_alu(const fs_builder &bld, nir_alu_instr *instr,
 
    case nir_op_unpack_half_2x16_split_x_flush_to_zero:
       assert(FLOAT_CONTROLS_DENORM_FLUSH_TO_ZERO_FP16 & execution_mode);
+      /* Fall-through */
    case nir_op_unpack_half_2x16_split_x:
       inst = bld.emit(BRW_OPCODE_F16TO32, result,
                       subscript(op[0], BRW_REGISTER_TYPE_UW, 0));
       inst->saturate = instr->dest.saturate;
       break;
+
    case nir_op_unpack_half_2x16_split_y_flush_to_zero:
       assert(FLOAT_CONTROLS_DENORM_FLUSH_TO_ZERO_FP16 & execution_mode);
+      /* Fall-through */
    case nir_op_unpack_half_2x16_split_y:
       inst = bld.emit(BRW_OPCODE_F16TO32, result,
                       subscript(op[0], BRW_REGISTER_TYPE_UW, 1));