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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user