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:
Rhys Perry
2020-12-01 09:54:31 +00:00
committed by Marge Bot
parent ce56902f85
commit 2d12991e01
4 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -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());