mirror of https://gitlab.freedesktop.org/mesa/mesa
aco/gfx12: disable s_cmpk optimization
These opcodes were removed. Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Georg Lehmann <dadschoorse@gmail.com> Acked-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29162>
This commit is contained in:
parent
2c4f561708
commit
4abe5b7927
|
@ -5382,7 +5382,7 @@ apply_literals(opt_ctx& ctx, aco_ptr<Instruction>& instr)
|
|||
}
|
||||
}
|
||||
|
||||
if (instr->isSOPC())
|
||||
if (instr->isSOPC() && ctx.program->gfx_level < GFX12)
|
||||
try_convert_sopc_to_sopk(instr);
|
||||
|
||||
/* allow more s_addk_i32 optimizations if carry isn't used */
|
||||
|
|
Loading…
Reference in New Issue