Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3483>
encoding = (0b110100 << 26);
} else if (ctx.chip_class == GFX10) {
encoding = (0b110101 << 26);
+ } else {
+ unreachable("Unknown chip_class.");
}
if (ctx.chip_class <= GFX7) {
case 4:
opcode = aco_opcode::buffer_store_dwordx4;
break;
+ default:
+ unreachable("Unsupported dword count.");
}
aco_ptr<MUBUF_instruction> store{create_instruction<MUBUF_instruction>(opcode, Format::MUBUF, 4, 0)};