Skip to content

Commit 97b3d8f

Browse files
lwesiersigcbot
authored andcommitted
Revert of vector8 load/store on OCL
Revert of enable by default vector8 load/store on OCL
1 parent 7c7dcfe commit 97b3d8f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

IGC/Compiler/CISACodeGen/ShaderCodeGen.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -768,9 +768,7 @@ void AddLegalizationPasses(CodeGenContext& ctx, IGCPassManager& mpm, PSSignature
768768

769769
bool AllowVector8LoadStore =
770770
IGC_IS_FLAG_ENABLED(EnableVector8LoadStore) ||
771-
((ctx.type == ShaderType::RAYTRACING_SHADER || ctx.hasSyncRTCalls()) && ctx.platform.supports8DWLSCMessage()) ||
772-
(ctx.platform.GetPlatformFamily() == IGFX_XE_HPC_CORE && ctx.platform.supports8DWLSCMessage() &&
773-
ctx.type == ShaderType::OPENCL_SHADER);
771+
((ctx.type == ShaderType::RAYTRACING_SHADER || ctx.hasSyncRTCalls()) && ctx.platform.supports8DWLSCMessage());
774772

775773
mpm.add(createMemOptPass(AllowNegativeSymPtrsForLoad, AllowVector8LoadStore));
776774

0 commit comments

Comments
 (0)