blob: e47f10075decf603055ef84c74f2e760b3798c0c [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 26
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint Vertex %main "main" %main_position_Output %main___point_size_Output
OpMemberName %DeclaredAfterUsage 0 "f"
OpName %DeclaredAfterUsage "DeclaredAfterUsage"
OpMemberName %declared_after_usage_block 0 "inner"
OpName %declared_after_usage_block "declared_after_usage_block"
OpName %main_position_Output "main_position_Output"
OpName %main___point_size_Output "main___point_size_Output"
OpName %main_inner "main_inner"
OpName %main "main"
OpMemberDecorate %DeclaredAfterUsage 0 Offset 0
OpMemberDecorate %declared_after_usage_block 0 Offset 0
OpDecorate %declared_after_usage_block Block
OpDecorate %1 DescriptorSet 0
OpDecorate %1 Binding 0
OpDecorate %1 NonWritable
OpDecorate %main_position_Output BuiltIn Position
OpDecorate %main___point_size_Output BuiltIn PointSize
%float = OpTypeFloat 32
%DeclaredAfterUsage = OpTypeStruct %float
%declared_after_usage_block = OpTypeStruct %DeclaredAfterUsage
%_ptr_Uniform_declared_after_usage_block = OpTypePointer Uniform %declared_after_usage_block
%1 = OpVariable %_ptr_Uniform_declared_after_usage_block Uniform
%v4float = OpTypeVector %float 4
%_ptr_Output_v4float = OpTypePointer Output %v4float
%main_position_Output = OpVariable %_ptr_Output_v4float Output
%_ptr_Output_float = OpTypePointer Output %float
%main___point_size_Output = OpVariable %_ptr_Output_float Output
%12 = OpTypeFunction %v4float
%_ptr_Uniform_float = OpTypePointer Uniform %float
%uint = OpTypeInt 32 0
%uint_0 = OpConstant %uint 0
%void = OpTypeVoid
%22 = OpTypeFunction %void
%float_1 = OpConstant %float 1
%main_inner = OpFunction %v4float None %12
%13 = OpLabel
%14 = OpAccessChain %_ptr_Uniform_float %1 %uint_0 %uint_0
%18 = OpLoad %float %14 None
%19 = OpCompositeConstruct %v4float %18 %18 %18 %18
OpReturnValue %19
OpFunctionEnd
%main = OpFunction %void None %22
%23 = OpLabel
%24 = OpFunctionCall %v4float %main_inner
OpStore %main_position_Output %24 None
OpStore %main___point_size_Output %float_1 None
OpReturn
OpFunctionEnd