mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 15:40:11 +01:00
aco/validate: Handle p_wqm like p_parallelcopy
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24906>
This commit is contained in:
parent
e104718c9f
commit
1ddf8378cb
1 changed files with 2 additions and 1 deletions
|
|
@ -468,7 +468,8 @@ validate_ir(Program* program)
|
||||||
check(program->gfx_level >= GFX9 || !def.regClass().is_subdword(),
|
check(program->gfx_level >= GFX9 || !def.regClass().is_subdword(),
|
||||||
"Cannot split SGPR into subdword VGPRs before GFX9+", instr.get());
|
"Cannot split SGPR into subdword VGPRs before GFX9+", instr.get());
|
||||||
}
|
}
|
||||||
} else if (instr->opcode == aco_opcode::p_parallelcopy) {
|
} else if (instr->opcode == aco_opcode::p_parallelcopy ||
|
||||||
|
instr->opcode == aco_opcode::p_wqm) {
|
||||||
check(instr->definitions.size() == instr->operands.size(),
|
check(instr->definitions.size() == instr->operands.size(),
|
||||||
"Number of Operands does not match number of Definitions", instr.get());
|
"Number of Operands does not match number of Definitions", instr.get());
|
||||||
for (unsigned i = 0; i < instr->operands.size(); i++) {
|
for (unsigned i = 0; i < instr->operands.size(); i++) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue