aco: Annotate switch fallthroughs

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7847>
This commit is contained in:
Tony Wasserka
2020-12-01 11:52:20 +01:00
committed by Marge Bot
parent 22790ef3d4
commit 6ba83d820c
2 changed files with 3 additions and 0 deletions
@@ -5364,12 +5364,14 @@ void visit_load_push_constant(isel_context *ctx, nir_intrinsic_instr *instr)
case 3:
vec = bld.tmp(s4);
trim = true;
FALLTHROUGH;
case 4:
op = aco_opcode::s_load_dwordx4;
break;
case 6:
vec = bld.tmp(s8);
trim = true;
FALLTHROUGH;
case 8:
op = aco_opcode::s_load_dwordx8;
break;