; SPIR-V
; Version: 1.0
; Generator: Khronos Glslang Reference Front End; 10
; Bound: 44
; Schema: 0
               OpCapability Shader
          %1 = OpExtInstImport "GLSL.std.450"
               OpMemoryModel Logical GLSL450
               OpEntryPoint Vertex %main "main" %xe_var_texcoord %xe_attr_texcoord %xe_var_color %xe_attr_color %_ %xe_attr_position
               OpSource ESSL 310
               OpName %main "main"
               OpName %xe_var_texcoord "xe_var_texcoord"
               OpName %xe_attr_texcoord "xe_attr_texcoord"
               OpName %xe_var_color "xe_var_color"
               OpName %xe_attr_color "xe_attr_color"
               OpName %gl_PerVertex "gl_PerVertex"
               OpMemberName %gl_PerVertex 0 "gl_Position"
               OpMemberName %gl_PerVertex 1 "gl_PointSize"
               OpName %_ ""
               OpName %xe_attr_position "xe_attr_position"
               OpName %XePushConstants "XePushConstants"
               OpMemberName %XePushConstants 0 "xe_coordinate_space_size_inv"
               OpName %__0 ""
               OpDecorate %xe_var_texcoord Location 0
               OpDecorate %xe_attr_texcoord Location 1
               OpDecorate %xe_var_color RelaxedPrecision
               OpDecorate %xe_var_color Location 1
               OpDecorate %xe_attr_color RelaxedPrecision
               OpDecorate %xe_attr_color Location 2
               OpDecorate %18 RelaxedPrecision
               OpMemberDecorate %gl_PerVertex 0 BuiltIn Position
               OpMemberDecorate %gl_PerVertex 1 BuiltIn PointSize
               OpDecorate %gl_PerVertex Block
               OpDecorate %xe_attr_position Location 0
               OpMemberDecorate %XePushConstants 0 Offset 0
               OpDecorate %XePushConstants Block
       %void = OpTypeVoid
          %3 = OpTypeFunction %void
      %float = OpTypeFloat 32
    %v2float = OpTypeVector %float 2
%_ptr_Output_v2float = OpTypePointer Output %v2float
%xe_var_texcoord = OpVariable %_ptr_Output_v2float Output
%_ptr_Input_v2float = OpTypePointer Input %v2float
%xe_attr_texcoord = OpVariable %_ptr_Input_v2float Input
    %v4float = OpTypeVector %float 4
%_ptr_Output_v4float = OpTypePointer Output %v4float
%xe_var_color = OpVariable %_ptr_Output_v4float Output
%_ptr_Input_v4float = OpTypePointer Input %v4float
%xe_attr_color = OpVariable %_ptr_Input_v4float Input
%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
%xe_attr_position = OpVariable %_ptr_Input_v2float Input
%XePushConstants = OpTypeStruct %v2float
%_ptr_PushConstant_XePushConstants = OpTypePointer PushConstant %XePushConstants
        %__0 = OpVariable %_ptr_PushConstant_XePushConstants PushConstant
%_ptr_PushConstant_v2float = OpTypePointer PushConstant %v2float
    %float_2 = OpConstant %float 2
    %float_1 = OpConstant %float 1
    %float_0 = OpConstant %float 0
         %43 = OpConstantComposite %v2float %float_1 %float_1
       %main = OpFunction %void None %3
          %5 = OpLabel
         %12 = OpLoad %v2float %xe_attr_texcoord
               OpStore %xe_var_texcoord %12
         %18 = OpLoad %v4float %xe_attr_color
               OpStore %xe_var_color %18
         %25 = OpLoad %v2float %xe_attr_position
         %30 = OpAccessChain %_ptr_PushConstant_v2float %__0 %int_0
         %31 = OpLoad %v2float %30
         %32 = OpFMul %v2float %25 %31
         %34 = OpVectorTimesScalar %v2float %32 %float_2
         %37 = OpFSub %v2float %34 %43
         %39 = OpCompositeExtract %float %37 0
         %40 = OpCompositeExtract %float %37 1
         %41 = OpCompositeConstruct %v4float %39 %40 %float_0 %float_1
         %42 = OpAccessChain %_ptr_Output_v4float %_ %int_0
               OpStore %42 %41
               OpReturn
               OpFunctionEnd
