ssa_rewrite_pass: Correct phi node type for thread bitmask

This commit is contained in:
IndecisiveTurtle 2024-07-15 13:33:57 +03:00
parent ce6a01bd41
commit 58d1cbd9b7
2 changed files with 7 additions and 6 deletions

View file

@ -7,7 +7,7 @@
namespace Shader::Gcn {
void Translator::EXP(const GcnInst& inst) {
if (ir.block->has_multiple_predecessors) {
if (ir.block->has_multiple_predecessors && info.stage == Stage::Fragment) {
LOG_WARNING(Render_Recompiler, "An ambiguous export appeared in translation");
ir.Discard(ir.LogicalNot(ir.GetExec()));
}