Skip to content

Commit

Permalink
Revert of vector8 load/store on OCL
Browse files Browse the repository at this point in the history
Revert of enable by default vector8 load/store on OCL

(cherry picked from commit 97b3d8f)
  • Loading branch information
lwesiers authored and pszymich committed Jan 8, 2025
1 parent 2bf94ed commit 5b21d1b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions IGC/Compiler/CISACodeGen/ShaderCodeGen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -767,8 +767,7 @@ void AddLegalizationPasses(CodeGenContext& ctx, IGCPassManager& mpm, PSSignature

bool AllowVector8LoadStore =
IGC_IS_FLAG_ENABLED(EnableVector8LoadStore) ||
((ctx.type == ShaderType::RAYTRACING_SHADER || ctx.hasSyncRTCalls()) && ctx.platform.supports8DWLSCMessage()) ||
ctx.platform.getPlatformInfo().eProductFamily == IGFX_PVC;
((ctx.type == ShaderType::RAYTRACING_SHADER || ctx.hasSyncRTCalls()) && ctx.platform.supports8DWLSCMessage());

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

Expand Down

0 comments on commit 5b21d1b

Please sign in to comment.