From 4d89b988bae108d37673e87ef5a691fd36884fad Mon Sep 17 00:00:00 2001 From: Pierre-Eric Pelloux-Prayer Date: Tue, 24 Nov 2020 11:30:08 +0100 Subject: [PATCH] nir/ntt: update fallthrough comments Reviewed-by: Kristian H. Kristensen Part-of: --- src/gallium/auxiliary/nir/nir_to_tgsi_info.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/auxiliary/nir/nir_to_tgsi_info.c b/src/gallium/auxiliary/nir/nir_to_tgsi_info.c index eab790876f3..d54860315ec 100644 --- a/src/gallium/auxiliary/nir/nir_to_tgsi_info.c +++ b/src/gallium/auxiliary/nir/nir_to_tgsi_info.c @@ -351,7 +351,7 @@ static void scan_instruction(const struct nir_shader *nir, if (glsl_base_type_is_integer(base_type)) break; - /* fall-through */ + FALLTHROUGH; case INTERP_MODE_SMOOTH: if (var->data.sample) info->uses_persp_sample = true; @@ -551,7 +551,7 @@ void nir_tgsi_scan_shader(const struct nir_shader *nir, info->input_interpolate[i] = TGSI_INTERPOLATE_COLOR; break; } - /* fall-through */ + FALLTHROUGH; case INTERP_MODE_SMOOTH: assert(!glsl_base_type_is_integer(base_type));