Module: Mesa Branch: main Commit: 1502c22e2c32d6a87dd17bdc76af68b8470cb6ea URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1502c22e2c32d6a87dd17bdc76af68b8470cb6ea
Author: Daniel Schürmann <[email protected]> Date: Mon Dec 20 10:46:43 2021 +0100 aco: don't allow SDWA on VOP3P instructions Reviewed-by: Timur Kristóf <[email protected]> Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13576> --- src/amd/compiler/aco_ir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/compiler/aco_ir.cpp b/src/amd/compiler/aco_ir.cpp index 156227a345c..eee2eb2e882 100644 --- a/src/amd/compiler/aco_ir.cpp +++ b/src/amd/compiler/aco_ir.cpp @@ -187,7 +187,7 @@ can_use_SDWA(chip_class chip, const aco_ptr<Instruction>& instr, bool pre_ra) if (!instr->isVALU()) return false; - if (chip < GFX8 || instr->isDPP()) + if (chip < GFX8 || instr->isDPP() || instr->isVOP3P()) return false; if (instr->isSDWA())
