1 OpCapability Shader 2 %1 = OpExtInstImport "GLSL.std.450" 3 OpMemoryModel Logical GLSL450 4 OpEntryPoint Fragment %_entrypoint_v "_entrypoint" %sk_FragColor 5 OpExecutionMode %_entrypoint_v OriginUpperLeft 6 OpName %sk_FragColor "sk_FragColor" 7 OpName %_entrypoint_v "_entrypoint_v" 8 OpName %d_vi "d_vi" 9 OpName %b "b" 10 OpName %c_vi "c_vi" 11 OpName %b_vi "b_vi" 12 OpName %a_vi "a_vi" 13 OpName %main "main" 14 OpName %i "i" 15 OpDecorate %sk_FragColor RelaxedPrecision 16 OpDecorate %sk_FragColor Location 0 17 OpDecorate %sk_FragColor Index 0 18 %float = OpTypeFloat 32 19 %v4float = OpTypeVector %float 4 20%_ptr_Output_v4float = OpTypePointer Output %v4float 21%sk_FragColor = OpVariable %_ptr_Output_v4float Output 22 %void = OpTypeVoid 23 %13 = OpTypeFunction %void 24 %float_0 = OpConstant %float 0 25 %v2float = OpTypeVector %float 2 26 %17 = OpConstantComposite %v2float %float_0 %float_0 27%_ptr_Function_v2float = OpTypePointer Function %v2float 28 %int = OpTypeInt 32 1 29%_ptr_Function_int = OpTypePointer Function %int 30 %23 = OpTypeFunction %void %_ptr_Function_int 31 %int_4 = OpConstant %int 4 32 %46 = OpTypeFunction %v4float %_ptr_Function_v2float 33 %53 = OpConstantComposite %v4float %float_0 %float_0 %float_0 %float_0 34%_entrypoint_v = OpFunction %void None %13 35 %14 = OpLabel 36 %18 = OpVariable %_ptr_Function_v2float Function 37 OpStore %18 %17 38 %20 = OpFunctionCall %v4float %main %18 39 OpStore %sk_FragColor %20 40 OpReturn 41 OpFunctionEnd 42 %d_vi = OpFunction %void None %23 43 %24 = OpFunctionParameter %_ptr_Function_int 44 %25 = OpLabel 45 %b = OpVariable %_ptr_Function_int Function 46 OpStore %b %int_4 47 OpReturn 48 OpFunctionEnd 49 %c_vi = OpFunction %void None %23 50 %28 = OpFunctionParameter %_ptr_Function_int 51 %29 = OpLabel 52 %31 = OpVariable %_ptr_Function_int Function 53 %30 = OpLoad %int %28 54 OpStore %31 %30 55 %32 = OpFunctionCall %void %d_vi %31 56 OpReturn 57 OpFunctionEnd 58 %b_vi = OpFunction %void None %23 59 %33 = OpFunctionParameter %_ptr_Function_int 60 %34 = OpLabel 61 %36 = OpVariable %_ptr_Function_int Function 62 %35 = OpLoad %int %33 63 OpStore %36 %35 64 %37 = OpFunctionCall %void %c_vi %36 65 OpReturn 66 OpFunctionEnd 67 %a_vi = OpFunction %void None %23 68 %38 = OpFunctionParameter %_ptr_Function_int 69 %39 = OpLabel 70 %41 = OpVariable %_ptr_Function_int Function 71 %44 = OpVariable %_ptr_Function_int Function 72 %40 = OpLoad %int %38 73 OpStore %41 %40 74 %42 = OpFunctionCall %void %b_vi %41 75 %43 = OpLoad %int %38 76 OpStore %44 %43 77 %45 = OpFunctionCall %void %b_vi %44 78 OpReturn 79 OpFunctionEnd 80 %main = OpFunction %v4float None %46 81 %47 = OpFunctionParameter %_ptr_Function_v2float 82 %48 = OpLabel 83 %i = OpVariable %_ptr_Function_int Function 84 %51 = OpVariable %_ptr_Function_int Function 85 %50 = OpLoad %int %i 86 OpStore %51 %50 87 %52 = OpFunctionCall %void %a_vi %51 88 OpReturnValue %53 89 OpFunctionEnd 90