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:
Sven van Haastregt
2025-04-08 18:49:00 +02:00
committed by GitHub
parent 051b82b7e9
commit 0abec2f49a
336 changed files with 336 additions and 336 deletions

View File

@@ -34,7 +34,7 @@
%lhs = OpFunctionParameter %_ptr_CrossWorkgroup_float
%rhs = OpFunctionParameter %_ptr_CrossWorkgroup_float
%entry = OpLabel
%17 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
%17 = OpLoad %v3ulong %gl_GlobalInvocationID
%18 = OpCompositeExtract %ulong %17 0
%19 = OpShiftLeftLogical %ulong %18 %ulong_32
%20 = OpShiftRightArithmetic %ulong %19 %ulong_32