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