Skip to content

Commit 8b32f60

Browse files
sys-igcigcbot
authored andcommitted
[Autobackout][FunctionalRegression]Revert of change: 7b8b6da: Eliminate samples with the same texture coordinates
Adding ReassociatePass before GVN pass ensures the second sample gets eliminated.
1 parent 7b8b6da commit 8b32f60

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

IGC/Compiler/CISACodeGen/ShaderCodeGen.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1411,9 +1411,6 @@ void OptimizeIR(CodeGenContext *const pContext) {
14111411
if (IGC_IS_FLAG_ENABLED(OCLEnableReassociate) && pContext->type == ShaderType::OPENCL_SHADER) {
14121412
mpm.add(createReassociatePass());
14131413
}
1414-
if (pContext->type == ShaderType::COMPUTE_SHADER) {
1415-
mpm.add(llvm::createReassociatePass());
1416-
}
14171414

14181415
mpm.add(createPromoteConstantStructsPass());
14191416

0 commit comments

Comments
 (0)