From 0907b53740a456d769d7ad26f071d7610abb9918 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Sch=C3=BCrmann?= Date: Mon, 4 Sep 2023 09:46:25 +0200 Subject: [PATCH] aco/insert_exec_mask: set Exact mode after p_discard_if when necessary Fixes: 5e9df85b1a4504c5b4162e77e139056dc80accc6 ('aco: optimize discard_if when WQM is not needed afterwards') Part-of: --- src/amd/compiler/aco_insert_exec_mask.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/amd/compiler/aco_insert_exec_mask.cpp b/src/amd/compiler/aco_insert_exec_mask.cpp index 4a495be..74458ae 100644 --- a/src/amd/compiler/aco_insert_exec_mask.cpp +++ b/src/amd/compiler/aco_insert_exec_mask.cpp @@ -570,6 +570,7 @@ process_instructions(exec_ctx& ctx, Block* block, std::vectorindex].exec.back().first); ctx.info[block->index].exec[0].first = Operand(bld.lm); + state = Exact; } } -- 2.7.4