mirror of
https://github.com/intel/intel-graphics-compiler.git
synced 2025-10-30 08:18:26 +08:00
[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:
@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user