1; SPIR-V 2; Version: 1.0 3; Generator: Khronos SPIR-V Tools Assembler; 0 4; Bound: 17 5; Schema: 0 6 OpCapability Addresses 7 OpCapability Linkage 8 OpCapability Kernel 9 OpMemoryModel Physical32 OpenCL 10 OpEntryPoint Kernel %1 "label_simple" %gl_GlobalInvocationID 11 OpName %in "in" 12 OpDecorate %gl_GlobalInvocationID BuiltIn GlobalInvocationId 13 OpDecorate %gl_GlobalInvocationID Constant 14 OpDecorate %in FuncParamAttr NoCapture 15 OpDecorate %gl_GlobalInvocationID LinkageAttributes "__spirv_GlobalInvocationId" Import 16 %uint = OpTypeInt 32 0 17 %v3uint = OpTypeVector %uint 3 18%_ptr_Input_v3uint = OpTypePointer Input %v3uint 19 %void = OpTypeVoid 20%_ptr_CrossWorkgroup_uint = OpTypePointer CrossWorkgroup %uint 21 %9 = OpTypeFunction %void %_ptr_CrossWorkgroup_uint %_ptr_CrossWorkgroup_uint 22%gl_GlobalInvocationID = OpVariable %_ptr_Input_v3uint Input 23 %1 = OpFunction %void None %9 24 %in = OpFunctionParameter %_ptr_CrossWorkgroup_uint 25 %10 = OpFunctionParameter %_ptr_CrossWorkgroup_uint 26 %11 = OpLabel 27 %12 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0 28 %13 = OpCompositeExtract %uint %12 0 29 %14 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uint %in %13 30 %15 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uint %10 %13 31 %16 = OpLoad %uint %14 32 OpStore %15 %16 33 OpReturn 34 OpFunctionEnd 35