Skip to content

Commit a402e1a

Browse files
krystian-andrzejewskiigcbot
authored andcommitted
Consider a WA table entry before inserting a flush sampler instruction
1 parent fa907a5 commit a402e1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

visa/FlowGraph.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,7 @@ void FlowGraph::handleExit(G4_BB* firstSubroutineBB)
11691169
}
11701170
}
11711171
needsEOTSend = false;
1172-
if (builder->getHasNullReturnSampler())
1172+
if (builder->getHasNullReturnSampler() && VISA_WA_CHECK(builder->getPWaTable(), Wa_1607871015))
11731173
{
11741174
bb->addSamplerFlushBeforeEOT();
11751175
}

0 commit comments

Comments
 (0)