; SPIR-V
; Version: 1.0
; Generator: Khronos Glslang Reference Front End; 10
; Bound: 47
; Schema: 0
               OpCapability Shader
          %1 = OpExtInstImport "GLSL.std.450"
               OpMemoryModel Logical GLSL450
               OpEntryPoint Vertex %main "main" %_ %gl_VertexIndex
               OpSource ESSL 310
               OpName %main "main"
               OpName %gl_PerVertex "gl_PerVertex"
               OpMemberName %gl_PerVertex 0 "gl_Position"
               OpMemberName %gl_PerVertex 1 "gl_PointSize"
               OpName %_ ""
               OpName %XeTriangleStripRectConstants "XeTriangleStripRectConstants"
               OpMemberName %XeTriangleStripRectConstants 0 "xe_triangle_strip_rect_offset"
               OpMemberName %XeTriangleStripRectConstants 1 "xe_triangle_strip_rect_size"
               OpName %__0 ""
               OpName %gl_VertexIndex "gl_VertexIndex"
               OpMemberDecorate %gl_PerVertex 0 BuiltIn Position
               OpMemberDecorate %gl_PerVertex 1 BuiltIn PointSize
               OpDecorate %gl_PerVertex Block
               OpMemberDecorate %XeTriangleStripRectConstants 0 Offset 0
               OpMemberDecorate %XeTriangleStripRectConstants 1 Offset 8
               OpDecorate %XeTriangleStripRectConstants Block
               OpDecorate %gl_VertexIndex BuiltIn VertexIndex
       %void = OpTypeVoid
          %3 = OpTypeFunction %void
      %float = OpTypeFloat 32
    %v4float = OpTypeVector %float 4
%gl_PerVertex = OpTypeStruct %v4float %float
%_ptr_Output_gl_PerVertex = OpTypePointer Output %gl_PerVertex
          %_ = OpVariable %_ptr_Output_gl_PerVertex Output
        %int = OpTypeInt 32 1
      %int_0 = OpConstant %int 0
    %v2float = OpTypeVector %float 2
%XeTriangleStripRectConstants = OpTypeStruct %v2float %v2float
%_ptr_PushConstant_XeTriangleStripRectConstants = OpTypePointer PushConstant %XeTriangleStripRectConstants
        %__0 = OpVariable %_ptr_PushConstant_XeTriangleStripRectConstants PushConstant
%_ptr_PushConstant_v2float = OpTypePointer PushConstant %v2float
%_ptr_Input_int = OpTypePointer Input %int
%gl_VertexIndex = OpVariable %_ptr_Input_int Input
       %uint = OpTypeInt 32 0
     %v2uint = OpTypeVector %uint 2
     %uint_0 = OpConstant %uint 0
     %uint_1 = OpConstant %uint 1
         %29 = OpConstantComposite %v2uint %uint_0 %uint_1
      %int_1 = OpConstant %int 1
    %float_0 = OpConstant %float 0
    %float_1 = OpConstant %float 1
%_ptr_Output_v4float = OpTypePointer Output %v4float
         %46 = OpConstantComposite %v2uint %uint_1 %uint_1
       %main = OpFunction %void None %3
          %5 = OpLabel
         %18 = OpAccessChain %_ptr_PushConstant_v2float %__0 %int_0
         %19 = OpLoad %v2float %18
         %22 = OpLoad %int %gl_VertexIndex
         %24 = OpBitcast %uint %22
         %26 = OpCompositeConstruct %v2uint %24 %24
         %30 = OpShiftRightLogical %v2uint %26 %29
         %32 = OpBitwiseAnd %v2uint %30 %46
         %33 = OpConvertUToF %v2float %32
         %35 = OpAccessChain %_ptr_PushConstant_v2float %__0 %int_1
         %36 = OpLoad %v2float %35
         %37 = OpFMul %v2float %33 %36
         %38 = OpFAdd %v2float %19 %37
         %41 = OpCompositeExtract %float %38 0
         %42 = OpCompositeExtract %float %38 1
         %43 = OpCompositeConstruct %v4float %41 %42 %float_0 %float_1
         %45 = OpAccessChain %_ptr_Output_v4float %_ %int_0
               OpStore %45 %43
               OpReturn
               OpFunctionEnd
