aco: use FALLTHROUGH macro
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7844>
This commit is contained in:
@@ -467,7 +467,7 @@ bool validate_ir(Program* program)
|
||||
}
|
||||
case Format::FLAT:
|
||||
check(instr->operands[1].isUndefined(), "Flat instructions don't support SADDR", instr.get());
|
||||
/* fallthrough */
|
||||
FALLTHROUGH;
|
||||
case Format::GLOBAL:
|
||||
case Format::SCRATCH: {
|
||||
check(instr->operands[0].isTemp() && instr->operands[0].regClass().type() == RegType::vgpr, "FLAT/GLOBAL/SCRATCH address must be vgpr", instr.get());
|
||||
|
||||
Reference in New Issue
Block a user