1; SPIR-V 2; Version: 1.3 3; Generator: Google Tint Compiler; 0 4; Bound: 34 5; Schema: 0 6 OpCapability Shader 7 %16 = OpExtInstImport "GLSL.std.450" 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 %clamp_7706d7 "clamp_7706d7" 17 OpName %res "res" 18 OpName %vertex_main_inner "vertex_main_inner" 19 OpName %vertex_main "vertex_main" 20 OpName %fragment_main "fragment_main" 21 OpName %compute_main "compute_main" 22 OpDecorate %value BuiltIn Position 23 OpDecorate %vertex_point_size BuiltIn PointSize 24 %float = OpTypeFloat 32 25 %v4float = OpTypeVector %float 4 26%_ptr_Output_v4float = OpTypePointer Output %v4float 27 %5 = OpConstantNull %v4float 28 %value = OpVariable %_ptr_Output_v4float Output %5 29%_ptr_Output_float = OpTypePointer Output %float 30 %8 = OpConstantNull %float 31%vertex_point_size = OpVariable %_ptr_Output_float Output %8 32 %void = OpTypeVoid 33 %9 = OpTypeFunction %void 34 %uint = OpTypeInt 32 0 35 %v2uint = OpTypeVector %uint 2 36 %17 = OpConstantNull %v2uint 37%_ptr_Function_v2uint = OpTypePointer Function %v2uint 38 %20 = OpTypeFunction %v4float 39 %float_1 = OpConstant %float 1 40%clamp_7706d7 = OpFunction %void None %9 41 %12 = OpLabel 42 %res = OpVariable %_ptr_Function_v2uint Function %17 43 %13 = OpExtInst %v2uint %16 UClamp %17 %17 %17 44 OpStore %res %13 45 OpReturn 46 OpFunctionEnd 47%vertex_main_inner = OpFunction %v4float None %20 48 %22 = OpLabel 49 %23 = OpFunctionCall %void %clamp_7706d7 50 OpReturnValue %5 51 OpFunctionEnd 52%vertex_main = OpFunction %void None %9 53 %25 = OpLabel 54 %26 = OpFunctionCall %v4float %vertex_main_inner 55 OpStore %value %26 56 OpStore %vertex_point_size %float_1 57 OpReturn 58 OpFunctionEnd 59%fragment_main = OpFunction %void None %9 60 %29 = OpLabel 61 %30 = OpFunctionCall %void %clamp_7706d7 62 OpReturn 63 OpFunctionEnd 64%compute_main = OpFunction %void None %9 65 %32 = OpLabel 66 %33 = OpFunctionCall %void %clamp_7706d7 67 OpReturn 68 OpFunctionEnd 69