1; SPIR-V 2; Version: 1.3 3; Generator: Google Tint Compiler; 0 4; Bound: 40 5; Schema: 0 6 OpCapability Shader 7 OpCapability ImageQuery 8 OpMemoryModel Logical GLSL450 9 OpEntryPoint Vertex %vertex_main "vertex_main" %value %vertex_point_size 10 OpEntryPoint Fragment %fragment_main "fragment_main" 11 OpEntryPoint GLCompute %compute_main "compute_main" 12 OpExecutionMode %fragment_main OriginUpperLeft 13 OpExecutionMode %compute_main LocalSize 1 1 1 14 OpName %value "value" 15 OpName %vertex_point_size "vertex_point_size" 16 OpName %arg_0 "arg_0" 17 OpName %textureDimensions_7bf826 "textureDimensions_7bf826" 18 OpName %res "res" 19 OpName %vertex_main_inner "vertex_main_inner" 20 OpName %vertex_main "vertex_main" 21 OpName %fragment_main "fragment_main" 22 OpName %compute_main "compute_main" 23 OpDecorate %value BuiltIn Position 24 OpDecorate %vertex_point_size BuiltIn PointSize 25 OpDecorate %arg_0 DescriptorSet 1 26 OpDecorate %arg_0 Binding 0 27 %float = OpTypeFloat 32 28 %v4float = OpTypeVector %float 4 29%_ptr_Output_v4float = OpTypePointer Output %v4float 30 %5 = OpConstantNull %v4float 31 %value = OpVariable %_ptr_Output_v4float Output %5 32%_ptr_Output_float = OpTypePointer Output %float 33 %8 = OpConstantNull %float 34%vertex_point_size = OpVariable %_ptr_Output_float Output %8 35 %11 = OpTypeImage %float 2D 1 1 0 1 Unknown 36%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 37 %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant 38 %void = OpTypeVoid 39 %12 = OpTypeFunction %void 40 %int = OpTypeInt 32 1 41 %v2int = OpTypeVector %int 2 42 %v3int = OpTypeVector %int 3 43 %int_0 = OpConstant %int 0 44%_ptr_Function_v2int = OpTypePointer Function %v2int 45 %25 = OpConstantNull %v2int 46 %26 = OpTypeFunction %v4float 47 %float_1 = OpConstant %float 1 48%textureDimensions_7bf826 = OpFunction %void None %12 49 %15 = OpLabel 50 %res = OpVariable %_ptr_Function_v2int Function %25 51 %21 = OpLoad %11 %arg_0 52 %19 = OpImageQuerySizeLod %v3int %21 %int_0 53 %16 = OpVectorShuffle %v2int %19 %19 0 1 54 OpStore %res %16 55 OpReturn 56 OpFunctionEnd 57%vertex_main_inner = OpFunction %v4float None %26 58 %28 = OpLabel 59 %29 = OpFunctionCall %void %textureDimensions_7bf826 60 OpReturnValue %5 61 OpFunctionEnd 62%vertex_main = OpFunction %void None %12 63 %31 = OpLabel 64 %32 = OpFunctionCall %v4float %vertex_main_inner 65 OpStore %value %32 66 OpStore %vertex_point_size %float_1 67 OpReturn 68 OpFunctionEnd 69%fragment_main = OpFunction %void None %12 70 %35 = OpLabel 71 %36 = OpFunctionCall %void %textureDimensions_7bf826 72 OpReturn 73 OpFunctionEnd 74%compute_main = OpFunction %void None %12 75 %38 = OpLabel 76 %39 = OpFunctionCall %void %textureDimensions_7bf826 77 OpReturn 78 OpFunctionEnd 79