nir: fix implicit fallthrough warnings
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5705>
This commit is contained in:

committed by
Marge Bot

parent
31dcc173b1
commit
dbf016e259
@@ -301,7 +301,7 @@ gather_intrinsic_info(nir_intrinsic_instr *instr, nir_shader *shader,
|
||||
case nir_intrinsic_demote:
|
||||
case nir_intrinsic_demote_if:
|
||||
shader->info.fs.uses_demote = true;
|
||||
/* fallthrough: quads with helper lanes only might be discarded entirely */
|
||||
/* fallthrough - quads with helper lanes only might be discarded entirely */
|
||||
case nir_intrinsic_discard:
|
||||
case nir_intrinsic_discard_if:
|
||||
/* Freedreno uses the discard_if intrinsic to end GS invocations that
|
||||
|
Reference in New Issue
Block a user