1; SPIR-V 2; Version: 1.3 3; Generator: Google Tint Compiler; 0 4; Bound: 36 5; Schema: 0 6 OpCapability Shader 7 OpMemoryModel Logical GLSL450 8 OpEntryPoint Vertex %vertex_main "vertex_main" %value %vertex_point_size 9 OpEntryPoint Fragment %fragment_main "fragment_main" 10 OpEntryPoint GLCompute %compute_main "compute_main" 11 OpExecutionMode %fragment_main OriginUpperLeft 12 OpExecutionMode %compute_main LocalSize 1 1 1 13 OpName %value "value" 14 OpName %vertex_point_size "vertex_point_size" 15 OpName %SB_RW "SB_RW" 16 OpMemberName %SB_RW 0 "arg_0" 17 OpName %sb_rw "sb_rw" 18 OpName %arrayLength_cdd123 "arrayLength_cdd123" 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 %SB_RW Block 27 OpMemberDecorate %SB_RW 0 Offset 0 28 OpDecorate %_runtimearr_float ArrayStride 4 29 OpDecorate %sb_rw DescriptorSet 0 30 OpDecorate %sb_rw Binding 0 31 %float = OpTypeFloat 32 32 %v4float = OpTypeVector %float 4 33%_ptr_Output_v4float = OpTypePointer Output %v4float 34 %5 = OpConstantNull %v4float 35 %value = OpVariable %_ptr_Output_v4float Output %5 36%_ptr_Output_float = OpTypePointer Output %float 37 %8 = OpConstantNull %float 38%vertex_point_size = OpVariable %_ptr_Output_float Output %8 39%_runtimearr_float = OpTypeRuntimeArray %float 40 %SB_RW = OpTypeStruct %_runtimearr_float 41%_ptr_StorageBuffer_SB_RW = OpTypePointer StorageBuffer %SB_RW 42 %sb_rw = OpVariable %_ptr_StorageBuffer_SB_RW StorageBuffer 43 %void = OpTypeVoid 44 %13 = OpTypeFunction %void 45 %uint = OpTypeInt 32 0 46%_ptr_Function_uint = OpTypePointer Function %uint 47 %21 = OpConstantNull %uint 48 %22 = OpTypeFunction %v4float 49 %float_1 = OpConstant %float 1 50%arrayLength_cdd123 = OpFunction %void None %13 51 %16 = OpLabel 52 %res = OpVariable %_ptr_Function_uint Function %21 53 %17 = OpArrayLength %uint %sb_rw 0 54 OpStore %res %17 55 OpReturn 56 OpFunctionEnd 57%vertex_main_inner = OpFunction %v4float None %22 58 %24 = OpLabel 59 %25 = OpFunctionCall %void %arrayLength_cdd123 60 OpReturnValue %5 61 OpFunctionEnd 62%vertex_main = OpFunction %void None %13 63 %27 = OpLabel 64 %28 = OpFunctionCall %v4float %vertex_main_inner 65 OpStore %value %28 66 OpStore %vertex_point_size %float_1 67 OpReturn 68 OpFunctionEnd 69%fragment_main = OpFunction %void None %13 70 %31 = OpLabel 71 %32 = OpFunctionCall %void %arrayLength_cdd123 72 OpReturn 73 OpFunctionEnd 74%compute_main = OpFunction %void None %13 75 %34 = OpLabel 76 %35 = OpFunctionCall %void %arrayLength_cdd123 77 OpReturn 78 OpFunctionEnd 79