; SPIR-V
; Version: 1.0
; Generator: Khronos SPIR-V Tools Assembler; 0
; Bound: 23
; Schema: 0
               OpCapability Addresses
               OpCapability Linkage
               OpCapability Kernel
               OpMemoryModel Physical32 OpenCL
               OpEntryPoint Kernel %1 "vector_float4_insert" %gl_GlobalInvocationID
               OpName %in "in"
               OpDecorate %gl_GlobalInvocationID BuiltIn GlobalInvocationId
               OpDecorate %gl_GlobalInvocationID Constant
               OpDecorate %in FuncParamAttr NoCapture
               OpDecorate %4 FuncParamAttr NoCapture
               OpDecorate %gl_GlobalInvocationID LinkageAttributes "__spirv_GlobalInvocationId" Import
       %uint = OpTypeInt 32 0
     %v3uint = OpTypeVector %uint 3
%_ptr_Input_v3uint = OpTypePointer Input %v3uint
       %void = OpTypeVoid
      %float = OpTypeFloat 32
    %v4float = OpTypeVector %float 4
%_ptr_CrossWorkgroup_float = OpTypePointer CrossWorkgroup %float
%_ptr_CrossWorkgroup_v4float = OpTypePointer CrossWorkgroup %v4float
         %13 = OpTypeFunction %void %_ptr_CrossWorkgroup_float %_ptr_CrossWorkgroup_v4float %uint
%gl_GlobalInvocationID = OpVariable %_ptr_Input_v3uint Input
          %1 = OpFunction %void None %13
         %in = OpFunctionParameter %_ptr_CrossWorkgroup_float
          %4 = OpFunctionParameter %_ptr_CrossWorkgroup_v4float
         %14 = OpFunctionParameter %uint
         %15 = OpLabel
         %16 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
         %17 = OpCompositeExtract %uint %16 0
         %18 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_float %in %17
         %19 = OpLoad %float %18
         %20 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_v4float %4 %17
         %21 = OpLoad %v4float %20
         %22 = OpVectorInsertDynamic %v4float %21 %19 %14
               OpStore %20 %22
               OpReturn
               OpFunctionEnd
