1; SPIR-V 2; Version: 1.3 3; Generator: Google Tint Compiler; 0 4; Bound: 37 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 %textureNumLevels_09ddd0 "textureNumLevels_09ddd0" 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 %uint = OpTypeInt 32 0 36 %11 = OpTypeImage %uint 2D 0 0 0 1 Unknown 37%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 38 %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant 39 %void = OpTypeVoid 40 %13 = OpTypeFunction %void 41 %int = OpTypeInt 32 1 42%_ptr_Function_int = OpTypePointer Function %int 43 %22 = OpConstantNull %int 44 %23 = OpTypeFunction %v4float 45 %float_1 = OpConstant %float 1 46%textureNumLevels_09ddd0 = OpFunction %void None %13 47 %16 = OpLabel 48 %res = OpVariable %_ptr_Function_int Function %22 49 %19 = OpLoad %11 %arg_0 50 %17 = OpImageQueryLevels %int %19 51 OpStore %res %17 52 OpReturn 53 OpFunctionEnd 54%vertex_main_inner = OpFunction %v4float None %23 55 %25 = OpLabel 56 %26 = OpFunctionCall %void %textureNumLevels_09ddd0 57 OpReturnValue %5 58 OpFunctionEnd 59%vertex_main = OpFunction %void None %13 60 %28 = OpLabel 61 %29 = OpFunctionCall %v4float %vertex_main_inner 62 OpStore %value %29 63 OpStore %vertex_point_size %float_1 64 OpReturn 65 OpFunctionEnd 66%fragment_main = OpFunction %void None %13 67 %32 = OpLabel 68 %33 = OpFunctionCall %void %textureNumLevels_09ddd0 69 OpReturn 70 OpFunctionEnd 71%compute_main = OpFunction %void None %13 72 %35 = OpLabel 73 %36 = OpFunctionCall %void %textureNumLevels_09ddd0 74 OpReturn 75 OpFunctionEnd 76