1*c8dee2aaSAndroid Build Coastguard Worker OpCapability Shader 2*c8dee2aaSAndroid Build Coastguard Worker %1 = OpExtInstImport "GLSL.std.450" 3*c8dee2aaSAndroid Build Coastguard Worker OpMemoryModel Logical GLSL450 4*c8dee2aaSAndroid Build Coastguard Worker OpEntryPoint Fragment %_entrypoint_v "_entrypoint" %sk_FragColor 5*c8dee2aaSAndroid Build Coastguard Worker OpExecutionMode %_entrypoint_v OriginUpperLeft 6*c8dee2aaSAndroid Build Coastguard Worker OpName %sk_FragColor "sk_FragColor" 7*c8dee2aaSAndroid Build Coastguard Worker OpName %_UniformBuffer "_UniformBuffer" 8*c8dee2aaSAndroid Build Coastguard Worker OpMemberName %_UniformBuffer 0 "colorGreen" 9*c8dee2aaSAndroid Build Coastguard Worker OpMemberName %_UniformBuffer 1 "colorRed" 10*c8dee2aaSAndroid Build Coastguard Worker OpName %_entrypoint_v "_entrypoint_v" 11*c8dee2aaSAndroid Build Coastguard Worker OpName %fnGreen_h4bf2 "fnGreen_h4bf2" 12*c8dee2aaSAndroid Build Coastguard Worker OpName %S "S" 13*c8dee2aaSAndroid Build Coastguard Worker OpMemberName %S 0 "i" 14*c8dee2aaSAndroid Build Coastguard Worker OpName %fnRed_h4ifS "fnRed_h4ifS" 15*c8dee2aaSAndroid Build Coastguard Worker OpName %main "main" 16*c8dee2aaSAndroid Build Coastguard Worker OpDecorate %sk_FragColor RelaxedPrecision 17*c8dee2aaSAndroid Build Coastguard Worker OpDecorate %sk_FragColor Location 0 18*c8dee2aaSAndroid Build Coastguard Worker OpDecorate %sk_FragColor Index 0 19*c8dee2aaSAndroid Build Coastguard Worker OpMemberDecorate %_UniformBuffer 0 Offset 0 20*c8dee2aaSAndroid Build Coastguard Worker OpMemberDecorate %_UniformBuffer 0 RelaxedPrecision 21*c8dee2aaSAndroid Build Coastguard Worker OpMemberDecorate %_UniformBuffer 1 Offset 16 22*c8dee2aaSAndroid Build Coastguard Worker OpMemberDecorate %_UniformBuffer 1 RelaxedPrecision 23*c8dee2aaSAndroid Build Coastguard Worker OpDecorate %_UniformBuffer Block 24*c8dee2aaSAndroid Build Coastguard Worker OpDecorate %9 Binding 0 25*c8dee2aaSAndroid Build Coastguard Worker OpDecorate %9 DescriptorSet 0 26*c8dee2aaSAndroid Build Coastguard Worker OpDecorate %32 RelaxedPrecision 27*c8dee2aaSAndroid Build Coastguard Worker OpMemberDecorate %S 0 Offset 0 28*c8dee2aaSAndroid Build Coastguard Worker OpDecorate %44 RelaxedPrecision 29*c8dee2aaSAndroid Build Coastguard Worker OpDecorate %49 RelaxedPrecision 30*c8dee2aaSAndroid Build Coastguard Worker OpDecorate %50 RelaxedPrecision 31*c8dee2aaSAndroid Build Coastguard Worker OpDecorate %69 RelaxedPrecision 32*c8dee2aaSAndroid Build Coastguard Worker %float = OpTypeFloat 32 33*c8dee2aaSAndroid Build Coastguard Worker %v4float = OpTypeVector %float 4 34*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Output_v4float = OpTypePointer Output %v4float 35*c8dee2aaSAndroid Build Coastguard Worker%sk_FragColor = OpVariable %_ptr_Output_v4float Output 36*c8dee2aaSAndroid Build Coastguard Worker%_UniformBuffer = OpTypeStruct %v4float %v4float 37*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer 38*c8dee2aaSAndroid Build Coastguard Worker %9 = OpVariable %_ptr_Uniform__UniformBuffer Uniform 39*c8dee2aaSAndroid Build Coastguard Worker %void = OpTypeVoid 40*c8dee2aaSAndroid Build Coastguard Worker %14 = OpTypeFunction %void 41*c8dee2aaSAndroid Build Coastguard Worker %float_0 = OpConstant %float 0 42*c8dee2aaSAndroid Build Coastguard Worker %v2float = OpTypeVector %float 2 43*c8dee2aaSAndroid Build Coastguard Worker %18 = OpConstantComposite %v2float %float_0 %float_0 44*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function_v2float = OpTypePointer Function %v2float 45*c8dee2aaSAndroid Build Coastguard Worker %bool = OpTypeBool 46*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function_bool = OpTypePointer Function %bool 47*c8dee2aaSAndroid Build Coastguard Worker %24 = OpTypeFunction %v4float %_ptr_Function_bool %_ptr_Function_v2float 48*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Uniform_v4float = OpTypePointer Uniform %v4float 49*c8dee2aaSAndroid Build Coastguard Worker %int = OpTypeInt 32 1 50*c8dee2aaSAndroid Build Coastguard Worker %int_0 = OpConstant %int 0 51*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function_int = OpTypePointer Function %int 52*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function_float = OpTypePointer Function %float 53*c8dee2aaSAndroid Build Coastguard Worker %S = OpTypeStruct %int 54*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function_S = OpTypePointer Function %S 55*c8dee2aaSAndroid Build Coastguard Worker %37 = OpTypeFunction %v4float %_ptr_Function_int %_ptr_Function_float %_ptr_Function_S 56*c8dee2aaSAndroid Build Coastguard Worker %int_1 = OpConstant %int 1 57*c8dee2aaSAndroid Build Coastguard Worker %45 = OpTypeFunction %v4float %_ptr_Function_v2float 58*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function_v4float = OpTypePointer Function %v4float 59*c8dee2aaSAndroid Build Coastguard Worker %true = OpConstantTrue %bool 60*c8dee2aaSAndroid Build Coastguard Worker %int_123 = OpConstant %int 123 61*c8dee2aaSAndroid Build Coastguard Worker%float_3_1400001 = OpConstant %float 3.1400001 62*c8dee2aaSAndroid Build Coastguard Worker%_entrypoint_v = OpFunction %void None %14 63*c8dee2aaSAndroid Build Coastguard Worker %15 = OpLabel 64*c8dee2aaSAndroid Build Coastguard Worker %19 = OpVariable %_ptr_Function_v2float Function 65*c8dee2aaSAndroid Build Coastguard Worker OpStore %19 %18 66*c8dee2aaSAndroid Build Coastguard Worker %21 = OpFunctionCall %v4float %main %19 67*c8dee2aaSAndroid Build Coastguard Worker OpStore %sk_FragColor %21 68*c8dee2aaSAndroid Build Coastguard Worker OpReturn 69*c8dee2aaSAndroid Build Coastguard Worker OpFunctionEnd 70*c8dee2aaSAndroid Build Coastguard Worker%fnGreen_h4bf2 = OpFunction %v4float None %24 71*c8dee2aaSAndroid Build Coastguard Worker %25 = OpFunctionParameter %_ptr_Function_bool 72*c8dee2aaSAndroid Build Coastguard Worker %26 = OpFunctionParameter %_ptr_Function_v2float 73*c8dee2aaSAndroid Build Coastguard Worker %27 = OpLabel 74*c8dee2aaSAndroid Build Coastguard Worker %28 = OpAccessChain %_ptr_Uniform_v4float %9 %int_0 75*c8dee2aaSAndroid Build Coastguard Worker %32 = OpLoad %v4float %28 76*c8dee2aaSAndroid Build Coastguard Worker OpReturnValue %32 77*c8dee2aaSAndroid Build Coastguard Worker OpFunctionEnd 78*c8dee2aaSAndroid Build Coastguard Worker%fnRed_h4ifS = OpFunction %v4float None %37 79*c8dee2aaSAndroid Build Coastguard Worker %38 = OpFunctionParameter %_ptr_Function_int 80*c8dee2aaSAndroid Build Coastguard Worker %39 = OpFunctionParameter %_ptr_Function_float 81*c8dee2aaSAndroid Build Coastguard Worker %40 = OpFunctionParameter %_ptr_Function_S 82*c8dee2aaSAndroid Build Coastguard Worker %41 = OpLabel 83*c8dee2aaSAndroid Build Coastguard Worker %42 = OpAccessChain %_ptr_Uniform_v4float %9 %int_1 84*c8dee2aaSAndroid Build Coastguard Worker %44 = OpLoad %v4float %42 85*c8dee2aaSAndroid Build Coastguard Worker OpReturnValue %44 86*c8dee2aaSAndroid Build Coastguard Worker OpFunctionEnd 87*c8dee2aaSAndroid Build Coastguard Worker %main = OpFunction %v4float None %45 88*c8dee2aaSAndroid Build Coastguard Worker %46 = OpFunctionParameter %_ptr_Function_v2float 89*c8dee2aaSAndroid Build Coastguard Worker %47 = OpLabel 90*c8dee2aaSAndroid Build Coastguard Worker %52 = OpVariable %_ptr_Function_v4float Function 91*c8dee2aaSAndroid Build Coastguard Worker %58 = OpVariable %_ptr_Function_bool Function 92*c8dee2aaSAndroid Build Coastguard Worker %60 = OpVariable %_ptr_Function_v2float Function 93*c8dee2aaSAndroid Build Coastguard Worker %63 = OpVariable %_ptr_Function_int Function 94*c8dee2aaSAndroid Build Coastguard Worker %65 = OpVariable %_ptr_Function_float Function 95*c8dee2aaSAndroid Build Coastguard Worker %67 = OpVariable %_ptr_Function_S Function 96*c8dee2aaSAndroid Build Coastguard Worker %48 = OpAccessChain %_ptr_Uniform_v4float %9 %int_0 97*c8dee2aaSAndroid Build Coastguard Worker %49 = OpLoad %v4float %48 98*c8dee2aaSAndroid Build Coastguard Worker %50 = OpCompositeExtract %float %49 1 99*c8dee2aaSAndroid Build Coastguard Worker %51 = OpFUnordNotEqual %bool %50 %float_0 100*c8dee2aaSAndroid Build Coastguard Worker OpSelectionMerge %56 None 101*c8dee2aaSAndroid Build Coastguard Worker OpBranchConditional %51 %54 %55 102*c8dee2aaSAndroid Build Coastguard Worker %54 = OpLabel 103*c8dee2aaSAndroid Build Coastguard Worker OpStore %58 %true 104*c8dee2aaSAndroid Build Coastguard Worker %59 = OpLoad %v2float %46 105*c8dee2aaSAndroid Build Coastguard Worker OpStore %60 %59 106*c8dee2aaSAndroid Build Coastguard Worker %61 = OpFunctionCall %v4float %fnGreen_h4bf2 %58 %60 107*c8dee2aaSAndroid Build Coastguard Worker OpStore %52 %61 108*c8dee2aaSAndroid Build Coastguard Worker OpBranch %56 109*c8dee2aaSAndroid Build Coastguard Worker %55 = OpLabel 110*c8dee2aaSAndroid Build Coastguard Worker OpStore %63 %int_123 111*c8dee2aaSAndroid Build Coastguard Worker OpStore %65 %float_3_1400001 112*c8dee2aaSAndroid Build Coastguard Worker %66 = OpCompositeConstruct %S %int_0 113*c8dee2aaSAndroid Build Coastguard Worker OpStore %67 %66 114*c8dee2aaSAndroid Build Coastguard Worker %68 = OpFunctionCall %v4float %fnRed_h4ifS %63 %65 %67 115*c8dee2aaSAndroid Build Coastguard Worker OpStore %52 %68 116*c8dee2aaSAndroid Build Coastguard Worker OpBranch %56 117*c8dee2aaSAndroid Build Coastguard Worker %56 = OpLabel 118*c8dee2aaSAndroid Build Coastguard Worker %69 = OpLoad %v4float %52 119*c8dee2aaSAndroid Build Coastguard Worker OpReturnValue %69 120*c8dee2aaSAndroid Build Coastguard Worker OpFunctionEnd 121