Skip to content

Commit 8e50c90

Browse files
lwesiersigcbot
authored andcommitted
Enable vector8 load/store by default.
Enable vector8 load/store by default to all platforms supporting this feature on OCL path.
1 parent e0d826a commit 8e50c90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IGC/Compiler/CISACodeGen/ShaderCodeGen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ void AddLegalizationPasses(CodeGenContext& ctx, IGCPassManager& mpm, PSSignature
768768
bool AllowVector8LoadStore =
769769
IGC_IS_FLAG_ENABLED(EnableVector8LoadStore) ||
770770
((ctx.type == ShaderType::RAYTRACING_SHADER || ctx.hasSyncRTCalls()) && ctx.platform.supports8DWLSCMessage()) ||
771-
ctx.platform.getPlatformInfo().eProductFamily == IGFX_PVC;
771+
(ctx.platform.isCoreChildOf(IGFX_XE_HPC_CORE) && ctx.platform.supports8DWLSCMessage());
772772

773773
mpm.add(createMemOptPass(AllowNegativeSymPtrsForLoad, AllowVector8LoadStore));
774774

0 commit comments

Comments
 (0)