Mesa (main): aco: fix validation of DPP v_cndmask_b32/v_addc_co_u32
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Aug 19 18:36:04 UTC 2021
Module: Mesa
Branch: main
Commit: a9562fd0d610bc98ffa38166aba553bbaa951fd2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9562fd0d610bc98ffa38166aba553bbaa951fd2
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date: Wed Jul 7 20:42:27 2021 +0100
aco: fix validation of DPP v_cndmask_b32/v_addc_co_u32
Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11924>
---
src/amd/compiler/aco_validate.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/amd/compiler/aco_validate.cpp b/src/amd/compiler/aco_validate.cpp
index af1393ba418..500266f58cf 100644
--- a/src/amd/compiler/aco_validate.cpp
+++ b/src/amd/compiler/aco_validate.cpp
@@ -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 ||
More information about the mesa-commit
mailing list