mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-25 08:19:02 +00:00
spirv_new: remove invalid Aligned 0 decorations (#2360)
After https://github.com/KhronosGroup/SPIRV-Tools/pull/6027 spirv-val is now rejecting `Aligned 0` Memory Operands. This causes the spirv_new test binary to no longer build with a recent SPIRV-Tools version. Mechanically remove all occurrences of `Aligned 0` in the SPIR-V assembly files. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
committed by
GitHub
parent
051b82b7e9
commit
0abec2f49a
@@ -33,7 +33,7 @@
|
||||
%lhs = OpFunctionParameter %_ptr_CrossWorkgroup_v4float
|
||||
%rhs = OpFunctionParameter %_ptr_CrossWorkgroup_v4float
|
||||
%entry = OpLabel
|
||||
%17 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%17 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%18 = OpCompositeExtract %uint %17 0
|
||||
%19 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_v4float %lhs %18
|
||||
%20 = OpLoad %v4float %19 Aligned 16
|
||||
|
||||
Reference in New Issue
Block a user