[Autobackout][FunctionalRegression]Revert of change: 7b8b6da4df: Eliminate samples with the same texture coordinates

Adding ReassociatePass before GVN pass ensures the second sample gets
    eliminated.
This commit is contained in:
sys_igc
2025-08-28 06:33:28 +02:00
committed by igcbot
parent 7b8b6da4df
commit 8b32f60b27

View File

@ -1411,9 +1411,6 @@ void OptimizeIR(CodeGenContext *const pContext) {
if (IGC_IS_FLAG_ENABLED(OCLEnableReassociate) && pContext->type == ShaderType::OPENCL_SHADER) {
mpm.add(createReassociatePass());
}
if (pContext->type == ShaderType::COMPUTE_SHADER) {
mpm.add(llvm::createReassociatePass());
}
mpm.add(createPromoteConstantStructsPass());