nir/ntt: update fallthrough comments

Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7747>
This commit is contained in:
Pierre-Eric Pelloux-Prayer 2020-11-24 11:30:08 +01:00
parent fecbc1e541
commit 4d89b988ba
1 changed files with 2 additions and 2 deletions

View File

@ -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));