From: Pierre-Eric Pelloux-Prayer Date: Tue, 24 Nov 2020 10:30:08 +0000 (+0100) Subject: nir/ntt: update fallthrough comments X-Git-Tag: upstream/21.0.0~1977 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4d89b988bae108d37673e87ef5a691fd36884fad;p=platform%2Fupstream%2Fmesa.git nir/ntt: update fallthrough comments Reviewed-by: Kristian H. Kristensen Part-of: --- diff --git a/src/gallium/auxiliary/nir/nir_to_tgsi_info.c b/src/gallium/auxiliary/nir/nir_to_tgsi_info.c index eab7908..d548603 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));