| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 1 |
| ; Bound: 59 |
| ; Schema: 0 |
| OpCapability Shader |
| OpCapability ImageQuery |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint Fragment %fragment_main "fragment_main" |
| OpEntryPoint GLCompute %compute_main "compute_main" |
| OpEntryPoint Vertex %vertex_main "vertex_main" %vertex_main_position_Output %vertex_main___point_size_Output |
| OpExecutionMode %fragment_main OriginUpperLeft |
| OpExecutionMode %compute_main LocalSize 1 1 1 |
| OpName %arg_0 "arg_0" |
| OpName %tint_symbol_1 "tint_symbol_1" |
| OpName %vertex_main_position_Output "vertex_main_position_Output" |
| OpName %vertex_main___point_size_Output "vertex_main___point_size_Output" |
| OpName %textureDimensions_f60bdb "textureDimensions_f60bdb" |
| OpName %res "res" |
| OpName %tint_symbol_2 "tint_symbol_2" |
| OpName %tint_symbol "tint_symbol" |
| OpName %vertex_main_1 "vertex_main_1" |
| OpName %vertex_main_inner "vertex_main_inner" |
| OpMemberName %vertex_main_out 0 "tint_symbol_1_1" |
| OpName %vertex_main_out "vertex_main_out" |
| OpName %fragment_main_1 "fragment_main_1" |
| OpName %fragment_main "fragment_main" |
| OpName %compute_main_1 "compute_main_1" |
| OpName %compute_main "compute_main" |
| OpName %vertex_main "vertex_main" |
| OpDecorate %arg_0 DescriptorSet 1 |
| OpDecorate %arg_0 Binding 0 |
| OpDecorate %vertex_main_position_Output BuiltIn Position |
| OpDecorate %vertex_main___point_size_Output BuiltIn PointSize |
| OpMemberDecorate %vertex_main_out 0 Offset 0 |
| %float = OpTypeFloat 32 |
| %3 = OpTypeImage %float 2D 0 0 1 1 Unknown |
| %_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3 |
| %arg_0 = OpVariable %_ptr_UniformConstant_3 UniformConstant |
| %v4float = OpTypeVector %float 4 |
| %_ptr_Private_v4float = OpTypePointer Private %v4float |
| %8 = OpConstantNull %v4float |
| %tint_symbol_1 = OpVariable %_ptr_Private_v4float Private %8 |
| %_ptr_Output_v4float = OpTypePointer Output %v4float |
| %vertex_main_position_Output = OpVariable %_ptr_Output_v4float Output |
| %_ptr_Output_float = OpTypePointer Output %float |
| %vertex_main___point_size_Output = OpVariable %_ptr_Output_float Output |
| %void = OpTypeVoid |
| %15 = OpTypeFunction %void |
| %int = OpTypeInt 32 1 |
| %v2int = OpTypeVector %int 2 |
| %_ptr_Function_v2int = OpTypePointer Function %v2int |
| %21 = OpConstantNull %v2int |
| %uint = OpTypeInt 32 0 |
| %v2uint = OpTypeVector %uint 2 |
| %29 = OpTypeFunction %void %v4float |
| %vertex_main_out = OpTypeStruct %v4float |
| %37 = OpTypeFunction %vertex_main_out |
| %float_1 = OpConstant %float 1 |
| %textureDimensions_f60bdb = OpFunction %void None %15 |
| %16 = OpLabel |
| %res = OpVariable %_ptr_Function_v2int Function |
| OpStore %res %21 |
| %22 = OpLoad %3 %arg_0 None |
| %23 = OpImageQuerySize %v2uint %22 |
| %26 = OpBitcast %v2int %23 |
| OpStore %res %26 None |
| OpReturn |
| OpFunctionEnd |
| %tint_symbol_2 = OpFunction %void None %29 |
| %tint_symbol = OpFunctionParameter %v4float |
| %30 = OpLabel |
| OpStore %tint_symbol_1 %tint_symbol None |
| OpReturn |
| OpFunctionEnd |
| %vertex_main_1 = OpFunction %void None %15 |
| %32 = OpLabel |
| %33 = OpFunctionCall %void %textureDimensions_f60bdb |
| %34 = OpFunctionCall %void %tint_symbol_2 %8 |
| OpReturn |
| OpFunctionEnd |
| %vertex_main_inner = OpFunction %vertex_main_out None %37 |
| %38 = OpLabel |
| %39 = OpFunctionCall %void %vertex_main_1 |
| %40 = OpLoad %v4float %tint_symbol_1 None |
| %41 = OpCompositeConstruct %vertex_main_out %40 |
| OpReturnValue %41 |
| OpFunctionEnd |
| %fragment_main_1 = OpFunction %void None %15 |
| %43 = OpLabel |
| %44 = OpFunctionCall %void %textureDimensions_f60bdb |
| OpReturn |
| OpFunctionEnd |
| %fragment_main = OpFunction %void None %15 |
| %46 = OpLabel |
| %47 = OpFunctionCall %void %fragment_main_1 |
| OpReturn |
| OpFunctionEnd |
| %compute_main_1 = OpFunction %void None %15 |
| %49 = OpLabel |
| %50 = OpFunctionCall %void %textureDimensions_f60bdb |
| OpReturn |
| OpFunctionEnd |
| %compute_main = OpFunction %void None %15 |
| %52 = OpLabel |
| %53 = OpFunctionCall %void %compute_main_1 |
| OpReturn |
| OpFunctionEnd |
| %vertex_main = OpFunction %void None %15 |
| %55 = OpLabel |
| %56 = OpFunctionCall %vertex_main_out %vertex_main_inner |
| %57 = OpCompositeExtract %v4float %56 0 |
| OpStore %vertex_main_position_Output %57 None |
| OpStore %vertex_main___point_size_Output %float_1 None |
| OpReturn |
| OpFunctionEnd |