; SPIR-V
; Version: 1.0
; Generator: Khronos SPIR-V Tools Assembler; 0
; Bound: 21
; Schema: 0
               OpCapability Addresses
               OpCapability Linkage
               OpCapability Kernel
               OpCapability Int64
               OpCapability Float16
               OpMemoryModel Physical64 OpenCL
               OpEntryPoint Kernel %1 "constant_half_simple" %gl_GlobalInvocationID
               OpName %in "in"
               OpDecorate %gl_GlobalInvocationID BuiltIn GlobalInvocationId
               OpDecorate %gl_GlobalInvocationID Constant
               OpDecorate %in FuncParamAttr NoCapture
               OpDecorate %gl_GlobalInvocationID LinkageAttributes "__spirv_GlobalInvocationId" Import
      %ulong = OpTypeInt 64 0
    %v3ulong = OpTypeVector %ulong 3
%_ptr_Input_v3ulong = OpTypePointer Input %v3ulong
       %void = OpTypeVoid
      %float = OpTypeFloat 32
       %half = OpTypeFloat 16
%_ptr_CrossWorkgroup_float = OpTypePointer CrossWorkgroup %float
         %11 = OpTypeFunction %void %_ptr_CrossWorkgroup_float
   %ulong_32 = OpConstant %ulong 32
%half_0x1_ap_1 = OpConstant %half 0x1.ap+1
%gl_GlobalInvocationID = OpVariable %_ptr_Input_v3ulong Input
          %1 = OpFunction %void None %11
         %in = OpFunctionParameter %_ptr_CrossWorkgroup_float
         %14 = OpLabel
         %15 = OpFConvert %float %half_0x1_ap_1
         %16 = OpLoad %v3ulong %gl_GlobalInvocationID Aligned 0
         %17 = OpCompositeExtract %ulong %16 0
         %18 = OpShiftLeftLogical %ulong %17 %ulong_32
         %19 = OpShiftRightArithmetic %ulong %18 %ulong_32
         %20 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_float %in %19
               OpStore %20 %15
               OpReturn
               OpFunctionEnd
