mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 02:50:09 +01:00
aco/assembler: Fix v_cmpx with SDWA.
We need to use the implicit destination.
Fixes: baab6f18c9 ("aco: Optimize branching sequence during SSA elimination.")
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18049>
This commit is contained in:
parent
9e5f311efe
commit
5ffc73896f
1 changed files with 1 additions and 1 deletions
|
|
@ -720,7 +720,7 @@ emit_instruction(asm_context& ctx, std::vector<uint32_t>& out, Instruction* inst
|
|||
uint32_t encoding = 0;
|
||||
|
||||
if (instr->isVOPC()) {
|
||||
if (instr->definitions[0].physReg() != vcc) {
|
||||
if (instr->definitions[0].physReg() != vcc && instr->definitions[0].physReg() != exec) {
|
||||
encoding |= instr->definitions[0].physReg() << 8;
|
||||
encoding |= 1 << 15;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue