mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 03:40:10 +01:00
aco: fix validation of DPP v_cndmask_b32/v_addc_co_u32
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11924>
This commit is contained in:
parent
6494b08407
commit
a9562fd0d6
1 changed files with 1 additions and 1 deletions
|
|
@ -273,7 +273,7 @@ validate_ir(Program* program)
|
|||
if (instr->isSDWA())
|
||||
scalar_mask = program->chip_class >= GFX9 ? 0x7 : 0x4;
|
||||
else if (instr->isDPP())
|
||||
scalar_mask = 0x0;
|
||||
scalar_mask = 0x4;
|
||||
|
||||
if (instr->isVOPC() || instr->opcode == aco_opcode::v_readfirstlane_b32 ||
|
||||
instr->opcode == aco_opcode::v_readlane_b32 ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue