mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +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
@@ -28,7 +28,7 @@
|
||||
%val = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%counter = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%13 = OpLabel
|
||||
%14 = OpLoad %v3uint %__spirv_GlobalInvocationId Aligned 0
|
||||
%14 = OpLoad %v3uint %__spirv_GlobalInvocationId
|
||||
%15 = OpCompositeExtract %uint %14 0
|
||||
%16 = OpAtomicIDecrement %uint %counter %uint_1 %uint_512
|
||||
%17 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uint %val %15
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
%val = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%counter = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%15 = OpLabel
|
||||
%16 = OpLoad %v3ulong %__spirv_GlobalInvocationId Aligned 0
|
||||
%16 = OpLoad %v3ulong %__spirv_GlobalInvocationId
|
||||
%17 = OpCompositeExtract %ulong %16 0
|
||||
%18 = OpShiftLeftLogical %ulong %17 %ulong_32
|
||||
%19 = OpShiftRightArithmetic %ulong %18 %ulong_32
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
%val = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%counter = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%13 = OpLabel
|
||||
%14 = OpLoad %v3uint %__spirv_GlobalInvocationId Aligned 0
|
||||
%14 = OpLoad %v3uint %__spirv_GlobalInvocationId
|
||||
%15 = OpCompositeExtract %uint %14 0
|
||||
%16 = OpAtomicIIncrement %uint %counter %uint_1 %uint_512
|
||||
%17 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uint %val %15
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
%val = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%counter = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%15 = OpLabel
|
||||
%16 = OpLoad %v3ulong %__spirv_GlobalInvocationId Aligned 0
|
||||
%16 = OpLoad %v3ulong %__spirv_GlobalInvocationId
|
||||
%17 = OpCompositeExtract %ulong %16 0
|
||||
%18 = OpShiftLeftLogical %ulong %17 %ulong_32
|
||||
%19 = OpShiftRightArithmetic %ulong %18 %ulong_32
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
%rhs = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%16 = OpLabel
|
||||
%17 = OpVariable %_ptr_Function_uint Function
|
||||
%18 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%18 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%19 = OpCompositeExtract %uint %18 0
|
||||
%20 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uint %lhs %19
|
||||
%21 = OpLoad %uint %20 Aligned 4
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
%rhs = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%18 = OpLabel
|
||||
%19 = OpVariable %_ptr_Function_uint Function
|
||||
%20 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%20 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%21 = OpCompositeExtract %ulong %20 0
|
||||
%22 = OpShiftLeftLogical %ulong %21 %ulong_32
|
||||
%23 = OpShiftRightArithmetic %ulong %22 %ulong_32
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
%rhs = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%16 = OpLabel
|
||||
%17 = OpVariable %_ptr_Function_uint Function
|
||||
%18 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%18 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%19 = OpCompositeExtract %uint %18 0
|
||||
%20 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uint %lhs %19
|
||||
%21 = OpLoad %uint %20 Aligned 4
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
%rhs = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%18 = OpLabel
|
||||
%19 = OpVariable %_ptr_Function_uint Function
|
||||
%20 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%20 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%21 = OpCompositeExtract %ulong %20 0
|
||||
%22 = OpShiftLeftLogical %ulong %21 %ulong_32
|
||||
%23 = OpShiftRightArithmetic %ulong %22 %ulong_32
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%10 = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%11 = OpLabel
|
||||
%12 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%12 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%13 = OpCompositeExtract %uint %12 0
|
||||
%14 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uint %in %13
|
||||
%15 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uint %10 %13
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%out = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%13 = OpLabel
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%15 = OpCompositeExtract %ulong %14 0
|
||||
%16 = OpShiftLeftLogical %ulong %15 %ulong_32
|
||||
%17 = OpShiftRightArithmetic %ulong %16 %ulong_32
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_v4uint
|
||||
%15 = OpLabel
|
||||
%16 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%16 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%17 = OpCompositeExtract %uint %16 0
|
||||
%18 = OpCompositeConstruct %v4uint %uint_123 %uint_122 %uint_121 %uint_119
|
||||
%19 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_v4uint %in %17
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
%1 = OpFunction %void None %11
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_v4uint
|
||||
%17 = OpLabel
|
||||
%18 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%18 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%19 = OpCompositeExtract %ulong %18 0
|
||||
%20 = OpShiftLeftLogical %ulong %19 %ulong_32
|
||||
%21 = OpShiftRightArithmetic %ulong %20 %ulong_32
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
%19 = OpLabel
|
||||
%20 = OpCompositeConstruct %_struct_10 %uint_2100483600 %uchar_128
|
||||
%21 = OpCompositeConstruct %_struct_11 %18 %20
|
||||
%22 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%22 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%23 = OpCompositeExtract %uint %22 0
|
||||
%24 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup__struct_11 %in %23
|
||||
OpStore %24 %21
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
%21 = OpLabel
|
||||
%22 = OpCompositeConstruct %_struct_11 %uint_2100483600 %uchar_128
|
||||
%23 = OpCompositeConstruct %_struct_12 %20 %22
|
||||
%24 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%24 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%25 = OpCompositeExtract %ulong %24 0
|
||||
%26 = OpShiftLeftLogical %ulong %25 %ulong_32
|
||||
%27 = OpShiftRightArithmetic %ulong %26 %ulong_32
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_uchar
|
||||
%12 = OpLabel
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%14 = OpCompositeExtract %uint %13 0
|
||||
%15 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uchar %in %14
|
||||
OpStore %15 %uchar_20
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_uchar
|
||||
%13 = OpLabel
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%15 = OpCompositeExtract %ulong %14 0
|
||||
%16 = OpShiftLeftLogical %ulong %15 %ulong_32
|
||||
%17 = OpShiftRightArithmetic %ulong %16 %ulong_32
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_double
|
||||
%12 = OpLabel
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%14 = OpCompositeExtract %uint %13 0
|
||||
%15 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_double %in %14
|
||||
OpStore %15 %double_3_1415926535897931
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_double
|
||||
%13 = OpLabel
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%15 = OpCompositeExtract %ulong %14 0
|
||||
%16 = OpShiftLeftLogical %ulong %15 %ulong_32
|
||||
%17 = OpShiftRightArithmetic %ulong %16 %ulong_32
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%14 = OpLabel
|
||||
%15 = OpSelect %uint %false %uint_1 %uint_0
|
||||
%16 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%16 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%17 = OpCompositeExtract %uint %16 0
|
||||
%18 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uint %in %17
|
||||
OpStore %18 %15
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%16 = OpLabel
|
||||
%17 = OpSelect %uint %false %uint_1 %uint_0
|
||||
%18 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%18 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%19 = OpCompositeExtract %ulong %18 0
|
||||
%20 = OpShiftLeftLogical %ulong %19 %ulong_32
|
||||
%21 = OpShiftRightArithmetic %ulong %20 %ulong_32
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_float
|
||||
%12 = OpLabel
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%14 = OpCompositeExtract %uint %13 0
|
||||
%15 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_float %in %14
|
||||
OpStore %15 %float_3_14159274
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_float
|
||||
%13 = OpLabel
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%15 = OpCompositeExtract %ulong %14 0
|
||||
%16 = OpShiftLeftLogical %ulong %15 %ulong_32
|
||||
%17 = OpShiftRightArithmetic %ulong %16 %ulong_32
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_float
|
||||
%13 = OpLabel
|
||||
%14 = OpFConvert %float %half_0x1_ap_1
|
||||
%15 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%15 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%16 = OpCompositeExtract %uint %15 0
|
||||
%17 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_float %in %16
|
||||
OpStore %17 %14
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_float
|
||||
%14 = OpLabel
|
||||
%15 = OpFConvert %float %half_0x1_ap_1
|
||||
%16 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%16 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%17 = OpCompositeExtract %ulong %16 0
|
||||
%18 = OpShiftLeftLogical %ulong %17 %ulong_32
|
||||
%19 = OpShiftRightArithmetic %ulong %18 %ulong_32
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
%1 = OpFunction %void None %9
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_v3uint
|
||||
%14 = OpLabel
|
||||
%15 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%15 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%16 = OpCompositeExtract %uint %15 0
|
||||
%17 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_v3uint %in %16
|
||||
OpStore %17 %13 Aligned 16
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
%1 = OpFunction %void None %11
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_v3uint
|
||||
%17 = OpLabel
|
||||
%18 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%18 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%19 = OpCompositeExtract %ulong %18 0
|
||||
%20 = OpShiftLeftLogical %ulong %19 %ulong_32
|
||||
%21 = OpShiftRightArithmetic %ulong %20 %ulong_32
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_v4uint
|
||||
%16 = OpLabel
|
||||
%17 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%17 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%18 = OpCompositeExtract %uint %17 0
|
||||
%19 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_v4uint %in %18
|
||||
OpStore %19 %15 Aligned 16
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
%1 = OpFunction %void None %11
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_v4uint
|
||||
%18 = OpLabel
|
||||
%19 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%19 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%20 = OpCompositeExtract %ulong %19 0
|
||||
%21 = OpShiftLeftLogical %ulong %20 %ulong_32
|
||||
%22 = OpShiftRightArithmetic %ulong %21 %ulong_32
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
%1 = OpFunction %void None %9
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%11 = OpLabel
|
||||
%12 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%12 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%13 = OpCompositeExtract %uint %12 0
|
||||
%14 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uint %in %13
|
||||
OpStore %14 %uint_123
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%13 = OpLabel
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%15 = OpCompositeExtract %ulong %14 0
|
||||
%16 = OpShiftLeftLogical %ulong %15 %ulong_32
|
||||
%17 = OpShiftRightArithmetic %ulong %16 %ulong_32
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_ulong
|
||||
%12 = OpLabel
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%14 = OpCompositeExtract %uint %13 0
|
||||
%15 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_ulong %in %14
|
||||
OpStore %15 %ulong_34359738368
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
%1 = OpFunction %void None %9
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_ulong
|
||||
%12 = OpLabel
|
||||
%13 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%13 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%14 = OpCompositeExtract %ulong %13 0
|
||||
%15 = OpShiftLeftLogical %ulong %14 %ulong_32
|
||||
%16 = OpShiftRightArithmetic %ulong %15 %ulong_32
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_ushort
|
||||
%12 = OpLabel
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%14 = OpCompositeExtract %uint %13 0
|
||||
%15 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_ushort %in %14
|
||||
OpStore %15 %ushort_32000
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_ushort
|
||||
%13 = OpLabel
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%15 = OpCompositeExtract %ulong %14 0
|
||||
%16 = OpShiftLeftLogical %ulong %15 %ulong_32
|
||||
%17 = OpShiftRightArithmetic %ulong %16 %ulong_32
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
%1 = OpFunction %void None %11
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup__struct_9
|
||||
%15 = OpLabel
|
||||
%16 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%16 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%17 = OpCompositeExtract %uint %16 0
|
||||
%18 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup__struct_9 %in %17
|
||||
OpStore %18 %14
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
%1 = OpFunction %void None %12
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup__struct_10
|
||||
%17 = OpLabel
|
||||
%18 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%18 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%19 = OpCompositeExtract %ulong %18 0
|
||||
%20 = OpShiftLeftLogical %ulong %19 %ulong_32
|
||||
%21 = OpShiftRightArithmetic %ulong %20 %ulong_32
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
%1 = OpFunction %void None %11
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup__struct_9
|
||||
%15 = OpLabel
|
||||
%16 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%16 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%17 = OpCompositeExtract %uint %16 0
|
||||
%18 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup__struct_9 %in %17
|
||||
OpStore %18 %14
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
%1 = OpFunction %void None %12
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup__struct_10
|
||||
%17 = OpLabel
|
||||
%18 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%18 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%19 = OpCompositeExtract %ulong %18 0
|
||||
%20 = OpShiftLeftLogical %ulong %19 %ulong_32
|
||||
%21 = OpShiftRightArithmetic %ulong %20 %ulong_32
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
%1 = OpFunction %void None %13
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup__struct_11
|
||||
%21 = OpLabel
|
||||
%22 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%22 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%23 = OpCompositeExtract %uint %22 0
|
||||
%24 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup__struct_11 %in %23
|
||||
OpStore %24 %20
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
%1 = OpFunction %void None %14
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup__struct_12
|
||||
%23 = OpLabel
|
||||
%24 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%24 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%25 = OpCompositeExtract %ulong %24 0
|
||||
%26 = OpShiftLeftLogical %ulong %25 %ulong_32
|
||||
%27 = OpShiftRightArithmetic %ulong %26 %ulong_32
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%14 = OpLabel
|
||||
%15 = OpSelect %uint %true %uint_1 %uint_0
|
||||
%16 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%16 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%17 = OpCompositeExtract %uint %16 0
|
||||
%18 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uint %in %17
|
||||
OpStore %18 %15 Aligned 4
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%16 = OpLabel
|
||||
%17 = OpSelect %uint %true %uint_1 %uint_0
|
||||
%18 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%18 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%19 = OpCompositeExtract %ulong %18 0
|
||||
%20 = OpShiftLeftLogical %ulong %19 %ulong_32
|
||||
%21 = OpShiftRightArithmetic %ulong %20 %ulong_32
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_uchar
|
||||
%12 = OpLabel
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%14 = OpCompositeExtract %uint %13 0
|
||||
%15 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uchar %in %14
|
||||
OpStore %15 %uchar_19
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_uchar
|
||||
%13 = OpLabel
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%15 = OpCompositeExtract %ulong %14 0
|
||||
%16 = OpShiftLeftLogical %ulong %15 %ulong_32
|
||||
%17 = OpShiftRightArithmetic %ulong %16 %ulong_32
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
%1 = OpFunction %void None %9
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%11 = OpLabel
|
||||
%12 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%12 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%13 = OpCompositeExtract %uint %12 0
|
||||
%14 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uint %in %13
|
||||
OpStore %14 %uint_54321
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%13 = OpLabel
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%15 = OpCompositeExtract %ulong %14 0
|
||||
%16 = OpShiftLeftLogical %ulong %15 %ulong_32
|
||||
%17 = OpShiftRightArithmetic %ulong %16 %ulong_32
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_ulong
|
||||
%12 = OpLabel
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%14 = OpCompositeExtract %uint %13 0
|
||||
%15 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_ulong %in %14
|
||||
OpStore %15 %ulong_9223372036854775810
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
%1 = OpFunction %void None %9
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_ulong
|
||||
%12 = OpLabel
|
||||
%13 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%13 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%14 = OpCompositeExtract %ulong %13 0
|
||||
%15 = OpShiftLeftLogical %ulong %14 %ulong_32
|
||||
%16 = OpShiftRightArithmetic %ulong %15 %ulong_32
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_ushort
|
||||
%12 = OpLabel
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%14 = OpCompositeExtract %uint %13 0
|
||||
%15 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_ushort %in %14
|
||||
OpStore %15 %ushort_65000
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_ushort
|
||||
%13 = OpLabel
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%15 = OpCompositeExtract %ulong %14 0
|
||||
%16 = OpShiftLeftLogical %ulong %15 %ulong_32
|
||||
%17 = OpShiftRightArithmetic %ulong %16 %ulong_32
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_uchar
|
||||
%12 = OpLabel
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%14 = OpCompositeExtract %uint %13 0
|
||||
%15 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uchar %in %14
|
||||
%16 = OpCopyObject %uchar %uchar_20
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_uchar
|
||||
%13 = OpLabel
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%15 = OpCompositeExtract %ulong %14 0
|
||||
%16 = OpShiftLeftLogical %ulong %15 %ulong_32
|
||||
%17 = OpShiftRightArithmetic %ulong %16 %ulong_32
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_double
|
||||
%12 = OpLabel
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%14 = OpCompositeExtract %uint %13 0
|
||||
%15 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_double %in %14
|
||||
%16 = OpCopyObject %double %double_3_1415926535897931
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_double
|
||||
%13 = OpLabel
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%15 = OpCompositeExtract %ulong %14 0
|
||||
%16 = OpShiftLeftLogical %ulong %15 %ulong_32
|
||||
%17 = OpShiftRightArithmetic %ulong %16 %ulong_32
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_float
|
||||
%12 = OpLabel
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%14 = OpCompositeExtract %uint %13 0
|
||||
%15 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_float %in %14
|
||||
%16 = OpCopyObject %float %float_3_14159274
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_float
|
||||
%13 = OpLabel
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%15 = OpCompositeExtract %ulong %14 0
|
||||
%16 = OpShiftLeftLogical %ulong %15 %ulong_32
|
||||
%17 = OpShiftRightArithmetic %ulong %16 %ulong_32
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
%13 = OpLabel
|
||||
%14 = OpCopyObject %half %half_0x1_ap_1
|
||||
%15 = OpFConvert %float %14
|
||||
%16 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%16 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%17 = OpCompositeExtract %uint %16 0
|
||||
%18 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_float %in %17
|
||||
OpStore %18 %15
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
%14 = OpLabel
|
||||
%15 = OpCopyObject %half %half_0x1_ap_1
|
||||
%16 = OpFConvert %float %15
|
||||
%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
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
%1 = OpFunction %void None %9
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_v3uint
|
||||
%14 = OpLabel
|
||||
%15 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%15 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%16 = OpCompositeExtract %uint %15 0
|
||||
%17 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_v3uint %in %16
|
||||
%18 = OpCopyObject %v3uint %13
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
%1 = OpFunction %void None %11
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_v3uint
|
||||
%17 = OpLabel
|
||||
%18 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%18 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%19 = OpCompositeExtract %ulong %18 0
|
||||
%20 = OpShiftLeftLogical %ulong %19 %ulong_32
|
||||
%21 = OpShiftRightArithmetic %ulong %20 %ulong_32
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_v4uint
|
||||
%16 = OpLabel
|
||||
%17 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%17 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%18 = OpCompositeExtract %uint %17 0
|
||||
%19 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_v4uint %in %18
|
||||
%20 = OpCopyObject %v4uint %15
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
%1 = OpFunction %void None %11
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_v4uint
|
||||
%18 = OpLabel
|
||||
%19 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%19 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%20 = OpCompositeExtract %ulong %19 0
|
||||
%21 = OpShiftLeftLogical %ulong %20 %ulong_32
|
||||
%22 = OpShiftRightArithmetic %ulong %21 %ulong_32
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
%1 = OpFunction %void None %9
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%11 = OpLabel
|
||||
%12 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%12 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%13 = OpCompositeExtract %uint %12 0
|
||||
%14 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uint %in %13
|
||||
%15 = OpCopyObject %uint %uint_123
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%13 = OpLabel
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%15 = OpCompositeExtract %ulong %14 0
|
||||
%16 = OpShiftLeftLogical %ulong %15 %ulong_32
|
||||
%17 = OpShiftRightArithmetic %ulong %16 %ulong_32
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_ulong
|
||||
%12 = OpLabel
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%14 = OpCompositeExtract %uint %13 0
|
||||
%15 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_ulong %in %14
|
||||
%16 = OpCopyObject %ulong %ulong_34359738368
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
%1 = OpFunction %void None %9
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_ulong
|
||||
%12 = OpLabel
|
||||
%13 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%13 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%14 = OpCompositeExtract %ulong %13 0
|
||||
%15 = OpShiftLeftLogical %ulong %14 %ulong_32
|
||||
%16 = OpShiftRightArithmetic %ulong %15 %ulong_32
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_ushort
|
||||
%12 = OpLabel
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%14 = OpCompositeExtract %uint %13 0
|
||||
%15 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_ushort %in %14
|
||||
%16 = OpCopyObject %ushort %ushort_32000
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_ushort
|
||||
%13 = OpLabel
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%15 = OpCompositeExtract %ulong %14 0
|
||||
%16 = OpShiftLeftLogical %ulong %15 %ulong_32
|
||||
%17 = OpShiftRightArithmetic %ulong %16 %ulong_32
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
%1 = OpFunction %void None %11
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup__struct_9
|
||||
%15 = OpLabel
|
||||
%16 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%16 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%17 = OpCompositeExtract %uint %16 0
|
||||
%18 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup__struct_9 %in %17
|
||||
%19 = OpCopyObject %_struct_9 %14
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
%1 = OpFunction %void None %12
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup__struct_10
|
||||
%17 = OpLabel
|
||||
%18 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%18 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%19 = OpCompositeExtract %ulong %18 0
|
||||
%20 = OpShiftLeftLogical %ulong %19 %ulong_32
|
||||
%21 = OpShiftRightArithmetic %ulong %20 %ulong_32
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
%1 = OpFunction %void None %11
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup__struct_9
|
||||
%15 = OpLabel
|
||||
%16 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%16 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%17 = OpCompositeExtract %uint %16 0
|
||||
%18 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup__struct_9 %in %17
|
||||
%19 = OpCopyObject %_struct_9 %14
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
%1 = OpFunction %void None %12
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup__struct_10
|
||||
%17 = OpLabel
|
||||
%18 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%18 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%19 = OpCompositeExtract %ulong %18 0
|
||||
%20 = OpShiftLeftLogical %ulong %19 %ulong_32
|
||||
%21 = OpShiftRightArithmetic %ulong %20 %ulong_32
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
%1 = OpFunction %void None %13
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup__struct_11
|
||||
%21 = OpLabel
|
||||
%22 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%22 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%23 = OpCompositeExtract %uint %22 0
|
||||
%24 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup__struct_11 %in %23
|
||||
%25 = OpCopyObject %_struct_11 %20
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
%1 = OpFunction %void None %14
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup__struct_12
|
||||
%23 = OpLabel
|
||||
%24 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%24 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%25 = OpCompositeExtract %ulong %24 0
|
||||
%26 = OpShiftLeftLogical %ulong %25 %ulong_32
|
||||
%27 = OpShiftRightArithmetic %ulong %26 %ulong_32
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_uchar
|
||||
%12 = OpLabel
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%14 = OpCompositeExtract %uint %13 0
|
||||
%15 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uchar %in %14
|
||||
%16 = OpCopyObject %uchar %uchar_19
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_uchar
|
||||
%13 = OpLabel
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%15 = OpCompositeExtract %ulong %14 0
|
||||
%16 = OpShiftLeftLogical %ulong %15 %ulong_32
|
||||
%17 = OpShiftRightArithmetic %ulong %16 %ulong_32
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
%1 = OpFunction %void None %9
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%11 = OpLabel
|
||||
%12 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%12 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%13 = OpCompositeExtract %uint %12 0
|
||||
%14 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uint %in %13
|
||||
%15 = OpCopyObject %uint %uint_54321
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%13 = OpLabel
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%15 = OpCompositeExtract %ulong %14 0
|
||||
%16 = OpShiftLeftLogical %ulong %15 %ulong_32
|
||||
%17 = OpShiftRightArithmetic %ulong %16 %ulong_32
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_ulong
|
||||
%12 = OpLabel
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%14 = OpCompositeExtract %uint %13 0
|
||||
%15 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_ulong %in %14
|
||||
%16 = OpCopyObject %ulong %ulong_9223372036854775810
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
%1 = OpFunction %void None %9
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_ulong
|
||||
%12 = OpLabel
|
||||
%13 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%13 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%14 = OpCompositeExtract %ulong %13 0
|
||||
%15 = OpShiftLeftLogical %ulong %14 %ulong_32
|
||||
%16 = OpShiftRightArithmetic %ulong %15 %ulong_32
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_ushort
|
||||
%12 = OpLabel
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%13 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%14 = OpCompositeExtract %uint %13 0
|
||||
%15 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_ushort %in %14
|
||||
%16 = OpCopyObject %ushort %ushort_65000
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
%1 = OpFunction %void None %10
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_ushort
|
||||
%13 = OpLabel
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%14 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%15 = OpCompositeExtract %ulong %14 0
|
||||
%16 = OpShiftLeftLogical %ulong %15 %ulong_32
|
||||
%17 = OpShiftRightArithmetic %ulong %16 %ulong_32
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
%lhs = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%rhs = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%entry = OpLabel
|
||||
%14 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%14 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%15 = OpCompositeExtract %uint %14 0
|
||||
%16 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uint %lhs %15
|
||||
%17 = OpLoad %uint %16 Aligned 4
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
%lhs = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%rhs = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%entry = OpLabel
|
||||
%16 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%16 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%17 = OpCompositeExtract %ulong %16 0
|
||||
%18 = OpShiftLeftLogical %ulong %17 %ulong_32
|
||||
%19 = OpShiftRightArithmetic %ulong %18 %ulong_32
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
%lhs = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%rhs = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%entry = OpLabel
|
||||
%14 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%14 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%15 = OpCompositeExtract %uint %14 0
|
||||
%16 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uint %lhs %15
|
||||
%17 = OpLoad %uint %16 Aligned 4
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
%lhs = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%rhs = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%entry = OpLabel
|
||||
%16 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%16 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%17 = OpCompositeExtract %ulong %16 0
|
||||
%18 = OpShiftLeftLogical %ulong %17 %ulong_32
|
||||
%19 = OpShiftRightArithmetic %ulong %18 %ulong_32
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
%lhs = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%rhs = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%entry = OpLabel
|
||||
%14 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%14 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%15 = OpCompositeExtract %uint %14 0
|
||||
%16 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uint %lhs %15
|
||||
%17 = OpLoad %uint %16 Aligned 4
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
%lhs = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%rhs = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%entry = OpLabel
|
||||
%16 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%16 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%17 = OpCompositeExtract %ulong %16 0
|
||||
%18 = OpShiftLeftLogical %ulong %17 %ulong_32
|
||||
%19 = OpShiftRightArithmetic %ulong %18 %ulong_32
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
%lhs = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%rhs = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%entry = OpLabel
|
||||
%14 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%14 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%15 = OpCompositeExtract %uint %14 0
|
||||
%16 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uint %lhs %15
|
||||
%17 = OpLoad %uint %16 Aligned 4
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
%lhs = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%rhs = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%entry = OpLabel
|
||||
%16 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%16 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%17 = OpCompositeExtract %ulong %16 0
|
||||
%18 = OpShiftLeftLogical %ulong %17 %ulong_32
|
||||
%19 = OpShiftRightArithmetic %ulong %18 %ulong_32
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
%1 = OpFunction %void None %11
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup__struct_4
|
||||
%15 = OpLabel
|
||||
%16 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%16 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%17 = OpCompositeExtract %uint %16 0
|
||||
%18 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup__struct_4 %in %17
|
||||
OpStore %18 %14
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
%1 = OpFunction %void None %12
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup__struct_4
|
||||
%17 = OpLabel
|
||||
%18 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%18 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%19 = OpCompositeExtract %ulong %18 0
|
||||
%20 = OpShiftLeftLogical %ulong %19 %ulong_32
|
||||
%21 = OpShiftRightArithmetic %ulong %20 %ulong_32
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
%lhs = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%rhs = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%entry = OpLabel
|
||||
%14 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%14 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%15 = OpCompositeExtract %uint %14 0
|
||||
%16 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uint %lhs %15
|
||||
%17 = OpLoad %uint %16 Aligned 4
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
%lhs = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%rhs = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%entry = OpLabel
|
||||
%16 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%16 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%17 = OpCompositeExtract %ulong %16 0
|
||||
%18 = OpShiftLeftLogical %ulong %17 %ulong_32
|
||||
%19 = OpShiftRightArithmetic %ulong %18 %ulong_32
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
%res = OpFunctionParameter %_ptr_CrossWorkgroup_ulong
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_double
|
||||
%entry = OpLabel
|
||||
%16 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%16 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%17 = OpCompositeExtract %uint %16 0
|
||||
%18 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_double %in %17
|
||||
%19 = OpLoad %double %18
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
%res = OpFunctionParameter %_ptr_CrossWorkgroup_ulong
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_double
|
||||
%entry = OpLabel
|
||||
%16 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%16 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%17 = OpCompositeExtract %ulong %16 0
|
||||
%18 = OpShiftLeftLogical %ulong %17 %ulong_32
|
||||
%19 = OpShiftRightArithmetic %ulong %18 %ulong_32
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
%res = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_float
|
||||
%entry = OpLabel
|
||||
%15 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%15 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%16 = OpCompositeExtract %uint %15 0
|
||||
%17 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_float %in %16
|
||||
%18 = OpLoad %float %17 Aligned 4
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
%res = OpFunctionParameter %_ptr_CrossWorkgroup_uint
|
||||
%in = 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
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
%res = OpFunctionParameter %_ptr_CrossWorkgroup_ushort
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_half
|
||||
%entry = OpLabel
|
||||
%15 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
|
||||
%15 = OpLoad %v3uint %gl_GlobalInvocationID
|
||||
%16 = OpCompositeExtract %uint %15 0
|
||||
%17 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_half %in %16
|
||||
%18 = OpLoad %half %17 Aligned 2
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
%res = OpFunctionParameter %_ptr_CrossWorkgroup_ushort
|
||||
%in = OpFunctionParameter %_ptr_CrossWorkgroup_half
|
||||
%entry = OpLabel
|
||||
%16 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
|
||||
%16 = OpLoad %v3ulong %gl_GlobalInvocationID
|
||||
%17 = OpCompositeExtract %ulong %16 0
|
||||
%18 = OpShiftLeftLogical %ulong %17 %ulong_32
|
||||
%19 = OpShiftRightArithmetic %ulong %18 %ulong_32
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user