; SPIR-V
; Version: 1.0
; Generator: Khronos Glslang Reference Front End; 6
; Bound: 76
; Schema: 0
               OpCapability Shader
          %1 = OpExtInstImport "GLSL.std.450"
               OpMemoryModel Logical GLSL450
               OpEntryPoint Vertex %main "main" %gl_VertexIndex %_ %vtx_uv
               OpSource GLSL 450
               OpName %main "main"
               OpName %gl_VertexIndex "gl_VertexIndex"
               OpName %indexable "indexable"
               OpName %PushConstants "PushConstants"
               OpMemberName %PushConstants 0 "src_uv"
               OpMemberName %PushConstants 1 "dst_uv"
               OpName %push_constants "push_constants"
               OpName %gl_PerVertex "gl_PerVertex"
               OpMemberName %gl_PerVertex 0 "gl_Position"
               OpMemberName %gl_PerVertex 1 "gl_PointSize"
               OpMemberName %gl_PerVertex 2 "gl_ClipDistance"
               OpMemberName %gl_PerVertex 3 "gl_CullDistance"
               OpName %_ ""
               OpName %vtx_uv "vtx_uv"
               OpDecorate %gl_VertexIndex BuiltIn VertexIndex
               OpMemberDecorate %PushConstants 0 Offset 0
               OpMemberDecorate %PushConstants 1 Offset 16
               OpDecorate %PushConstants Block
               OpMemberDecorate %gl_PerVertex 0 BuiltIn Position
               OpMemberDecorate %gl_PerVertex 1 BuiltIn PointSize
               OpMemberDecorate %gl_PerVertex 2 BuiltIn ClipDistance
               OpMemberDecorate %gl_PerVertex 3 BuiltIn CullDistance
               OpDecorate %gl_PerVertex Block
               OpDecorate %vtx_uv Location 0
       %void = OpTypeVoid
          %3 = OpTypeFunction %void
      %float = OpTypeFloat 32
    %v2float = OpTypeVector %float 2
%_ptr_Function_v2float = OpTypePointer Function %v2float
       %uint = OpTypeInt 32 0
     %uint_4 = OpConstant %uint 4
%_arr_v2float_uint_4 = OpTypeArray %v2float %uint_4
    %float_0 = OpConstant %float 0
         %14 = OpConstantComposite %v2float %float_0 %float_0
    %float_1 = OpConstant %float 1
         %16 = OpConstantComposite %v2float %float_1 %float_0
         %17 = OpConstantComposite %v2float %float_0 %float_1
         %18 = OpConstantComposite %v2float %float_1 %float_1
         %19 = OpConstantComposite %_arr_v2float_uint_4 %14 %16 %17 %18
        %int = OpTypeInt 32 1
%_ptr_Input_int = OpTypePointer Input %int
%gl_VertexIndex = OpVariable %_ptr_Input_int Input
%_ptr_Function__arr_v2float_uint_4 = OpTypePointer Function %_arr_v2float_uint_4
    %float_2 = OpConstant %float 2
    %v4float = OpTypeVector %float 4
%PushConstants = OpTypeStruct %v4float %v4float
%_ptr_PushConstant_PushConstants = OpTypePointer PushConstant %PushConstants
%push_constants = OpVariable %_ptr_PushConstant_PushConstants PushConstant
      %int_1 = OpConstant %int 1
%_ptr_PushConstant_v4float = OpTypePointer PushConstant %v4float
         %44 = OpConstantComposite %v4float %float_2 %float_2 %float_2 %float_2
     %uint_1 = OpConstant %uint 1
%_arr_float_uint_1 = OpTypeArray %float %uint_1
%gl_PerVertex = OpTypeStruct %v4float %float %_arr_float_uint_1 %_arr_float_uint_1
%_ptr_Output_gl_PerVertex = OpTypePointer Output %gl_PerVertex
          %_ = OpVariable %_ptr_Output_gl_PerVertex Output
      %int_0 = OpConstant %int 0
%_ptr_Output_v4float = OpTypePointer Output %v4float
%_ptr_Output_v2float = OpTypePointer Output %v2float
     %vtx_uv = OpVariable %_ptr_Output_v2float Output
       %main = OpFunction %void None %3
          %5 = OpLabel
  %indexable = OpVariable %_ptr_Function__arr_v2float_uint_4 Function
         %23 = OpLoad %int %gl_VertexIndex
               OpStore %indexable %19
         %26 = OpAccessChain %_ptr_Function_v2float %indexable %23
         %27 = OpLoad %v2float %26
         %42 = OpAccessChain %_ptr_PushConstant_v4float %push_constants %int_1
         %43 = OpLoad %v4float %42
         %45 = OpFMul %v4float %43 %44
         %53 = OpVectorShuffle %v2float %45 %45 0 1
         %54 = OpFSub %v2float %53 %18
         %57 = OpVectorShuffle %v2float %45 %45 2 3
         %58 = OpFMul %v2float %27 %57
         %59 = OpFAdd %v2float %54 %58
         %60 = OpCompositeExtract %float %59 0
         %61 = OpCompositeExtract %float %59 1
         %62 = OpCompositeConstruct %v4float %60 %61 %float_0 %float_1
         %64 = OpAccessChain %_ptr_Output_v4float %_ %int_0
               OpStore %64 %62
         %68 = OpAccessChain %_ptr_PushConstant_v4float %push_constants %int_0
         %69 = OpLoad %v4float %68
         %70 = OpVectorShuffle %v2float %69 %69 2 3
         %71 = OpFMul %v2float %27 %70
         %74 = OpVectorShuffle %v2float %69 %69 0 1
         %75 = OpFAdd %v2float %71 %74
               OpStore %vtx_uv %75
               OpReturn
               OpFunctionEnd
