intel/fs: Add Fall-through comment
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fri, 5 Jun 2020 23:04:13 +0000 (16:04 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 8 Jun 2020 15:49:24 +0000 (15:49 +0000)
Just to clarify the missing break is intentional.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5365>

src/intel/compiler/brw_fs_nir.cpp

index 37f03507bb0ec184ed3a73b3d5182e141a80d522..f188d8989235c7359ecd74203d3d5aadd5fb11ad 100644 (file)
@@ -4227,6 +4227,7 @@ fs_visitor::nir_emit_intrinsic(const fs_builder &bld, nir_intrinsic_instr *instr
 
    case nir_intrinsic_scoped_barrier:
       assert(nir_intrinsic_execution_scope(instr) == NIR_SCOPE_NONE);
+      /* Fall through. */
    case nir_intrinsic_group_memory_barrier:
    case nir_intrinsic_memory_barrier_shared:
    case nir_intrinsic_memory_barrier_buffer: