1 OpCapability Shader 2 %1 = OpExtInstImport "GLSL.std.450" 3 OpMemoryModel Logical GLSL450 4 OpEntryPoint Fragment %main "main" %sk_FragColor 5 OpExecutionMode %main OriginUpperLeft 6 OpName %sk_FragColor "sk_FragColor" 7 OpName %_UniformBuffer "_UniformBuffer" 8 OpMemberName %_UniformBuffer 0 "src" 9 OpMemberName %_UniformBuffer 1 "dst" 10 OpName %blend_overlay_component_Qhh2h2 "blend_overlay_component_Qhh2h2" 11 OpName %blend_overlay_h4h4h4 "blend_overlay_h4h4h4" 12 OpName %result "result" 13 OpName %main "main" 14 OpDecorate %sk_FragColor RelaxedPrecision 15 OpDecorate %sk_FragColor Location 0 16 OpDecorate %sk_FragColor Index 0 17 OpMemberDecorate %_UniformBuffer 0 Offset 0 18 OpMemberDecorate %_UniformBuffer 0 RelaxedPrecision 19 OpMemberDecorate %_UniformBuffer 1 Offset 16 20 OpMemberDecorate %_UniformBuffer 1 RelaxedPrecision 21 OpDecorate %_UniformBuffer Block 22 OpDecorate %9 Binding 0 23 OpDecorate %9 DescriptorSet 0 24 OpDecorate %19 RelaxedPrecision 25 OpDecorate %20 RelaxedPrecision 26 OpDecorate %21 RelaxedPrecision 27 OpDecorate %22 RelaxedPrecision 28 OpDecorate %23 RelaxedPrecision 29 OpDecorate %31 RelaxedPrecision 30 OpDecorate %32 RelaxedPrecision 31 OpDecorate %33 RelaxedPrecision 32 OpDecorate %34 RelaxedPrecision 33 OpDecorate %35 RelaxedPrecision 34 OpDecorate %36 RelaxedPrecision 35 OpDecorate %37 RelaxedPrecision 36 OpDecorate %38 RelaxedPrecision 37 OpDecorate %39 RelaxedPrecision 38 OpDecorate %40 RelaxedPrecision 39 OpDecorate %41 RelaxedPrecision 40 OpDecorate %42 RelaxedPrecision 41 OpDecorate %43 RelaxedPrecision 42 OpDecorate %44 RelaxedPrecision 43 OpDecorate %45 RelaxedPrecision 44 OpDecorate %46 RelaxedPrecision 45 OpDecorate %47 RelaxedPrecision 46 OpDecorate %48 RelaxedPrecision 47 OpDecorate %49 RelaxedPrecision 48 OpDecorate %50 RelaxedPrecision 49 OpDecorate %51 RelaxedPrecision 50 OpDecorate %52 RelaxedPrecision 51 OpDecorate %53 RelaxedPrecision 52 OpDecorate %54 RelaxedPrecision 53 OpDecorate %55 RelaxedPrecision 54 OpDecorate %result RelaxedPrecision 55 OpDecorate %62 RelaxedPrecision 56 OpDecorate %63 RelaxedPrecision 57 OpDecorate %65 RelaxedPrecision 58 OpDecorate %66 RelaxedPrecision 59 OpDecorate %69 RelaxedPrecision 60 OpDecorate %70 RelaxedPrecision 61 OpDecorate %72 RelaxedPrecision 62 OpDecorate %73 RelaxedPrecision 63 OpDecorate %76 RelaxedPrecision 64 OpDecorate %77 RelaxedPrecision 65 OpDecorate %79 RelaxedPrecision 66 OpDecorate %80 RelaxedPrecision 67 OpDecorate %83 RelaxedPrecision 68 OpDecorate %84 RelaxedPrecision 69 OpDecorate %86 RelaxedPrecision 70 OpDecorate %87 RelaxedPrecision 71 OpDecorate %88 RelaxedPrecision 72 OpDecorate %89 RelaxedPrecision 73 OpDecorate %90 RelaxedPrecision 74 OpDecorate %91 RelaxedPrecision 75 OpDecorate %92 RelaxedPrecision 76 OpDecorate %93 RelaxedPrecision 77 OpDecorate %94 RelaxedPrecision 78 OpDecorate %95 RelaxedPrecision 79 OpDecorate %97 RelaxedPrecision 80 OpDecorate %98 RelaxedPrecision 81 OpDecorate %99 RelaxedPrecision 82 OpDecorate %100 RelaxedPrecision 83 OpDecorate %101 RelaxedPrecision 84 OpDecorate %102 RelaxedPrecision 85 OpDecorate %103 RelaxedPrecision 86 OpDecorate %104 RelaxedPrecision 87 OpDecorate %105 RelaxedPrecision 88 OpDecorate %106 RelaxedPrecision 89 OpDecorate %107 RelaxedPrecision 90 OpDecorate %108 RelaxedPrecision 91 OpDecorate %109 RelaxedPrecision 92 OpDecorate %110 RelaxedPrecision 93 OpDecorate %111 RelaxedPrecision 94 OpDecorate %112 RelaxedPrecision 95 OpDecorate %120 RelaxedPrecision 96 OpDecorate %124 RelaxedPrecision 97 %float = OpTypeFloat 32 98 %v4float = OpTypeVector %float 4 99%_ptr_Output_v4float = OpTypePointer Output %v4float 100%sk_FragColor = OpVariable %_ptr_Output_v4float Output 101%_UniformBuffer = OpTypeStruct %v4float %v4float 102%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer 103 %9 = OpVariable %_ptr_Uniform__UniformBuffer Uniform 104 %v2float = OpTypeVector %float 2 105%_ptr_Function_v2float = OpTypePointer Function %v2float 106 %14 = OpTypeFunction %float %_ptr_Function_v2float %_ptr_Function_v2float 107 %float_2 = OpConstant %float 2 108 %bool = OpTypeBool 109%_ptr_Function_float = OpTypePointer Function %float 110%_ptr_Function_v4float = OpTypePointer Function %v4float 111 %57 = OpTypeFunction %v4float %_ptr_Function_v4float %_ptr_Function_v4float 112 %float_1 = OpConstant %float 1 113 %v3float = OpTypeVector %float 3 114 %void = OpTypeVoid 115 %114 = OpTypeFunction %void 116%_ptr_Uniform_v4float = OpTypePointer Uniform %v4float 117 %int = OpTypeInt 32 1 118 %int_1 = OpConstant %int 1 119 %int_0 = OpConstant %int 0 120%blend_overlay_component_Qhh2h2 = OpFunction %float None %14 121 %15 = OpFunctionParameter %_ptr_Function_v2float 122 %16 = OpFunctionParameter %_ptr_Function_v2float 123 %17 = OpLabel 124 %26 = OpVariable %_ptr_Function_float Function 125 %19 = OpLoad %v2float %16 126 %20 = OpCompositeExtract %float %19 0 127 %21 = OpFMul %float %float_2 %20 128 %22 = OpLoad %v2float %16 129 %23 = OpCompositeExtract %float %22 1 130 %24 = OpFOrdLessThanEqual %bool %21 %23 131 OpSelectionMerge %30 None 132 OpBranchConditional %24 %28 %29 133 %28 = OpLabel 134 %31 = OpLoad %v2float %15 135 %32 = OpCompositeExtract %float %31 0 136 %33 = OpFMul %float %float_2 %32 137 %34 = OpLoad %v2float %16 138 %35 = OpCompositeExtract %float %34 0 139 %36 = OpFMul %float %33 %35 140 OpStore %26 %36 141 OpBranch %30 142 %29 = OpLabel 143 %37 = OpLoad %v2float %15 144 %38 = OpCompositeExtract %float %37 1 145 %39 = OpLoad %v2float %16 146 %40 = OpCompositeExtract %float %39 1 147 %41 = OpFMul %float %38 %40 148 %42 = OpLoad %v2float %16 149 %43 = OpCompositeExtract %float %42 1 150 %44 = OpLoad %v2float %16 151 %45 = OpCompositeExtract %float %44 0 152 %46 = OpFSub %float %43 %45 153 %47 = OpFMul %float %float_2 %46 154 %48 = OpLoad %v2float %15 155 %49 = OpCompositeExtract %float %48 1 156 %50 = OpLoad %v2float %15 157 %51 = OpCompositeExtract %float %50 0 158 %52 = OpFSub %float %49 %51 159 %53 = OpFMul %float %47 %52 160 %54 = OpFSub %float %41 %53 161 OpStore %26 %54 162 OpBranch %30 163 %30 = OpLabel 164 %55 = OpLoad %float %26 165 OpReturnValue %55 166 OpFunctionEnd 167%blend_overlay_h4h4h4 = OpFunction %v4float None %57 168 %58 = OpFunctionParameter %_ptr_Function_v4float 169 %59 = OpFunctionParameter %_ptr_Function_v4float 170 %60 = OpLabel 171 %result = OpVariable %_ptr_Function_v4float Function 172 %64 = OpVariable %_ptr_Function_v2float Function 173 %67 = OpVariable %_ptr_Function_v2float Function 174 %71 = OpVariable %_ptr_Function_v2float Function 175 %74 = OpVariable %_ptr_Function_v2float Function 176 %78 = OpVariable %_ptr_Function_v2float Function 177 %81 = OpVariable %_ptr_Function_v2float Function 178 %62 = OpLoad %v4float %58 179 %63 = OpVectorShuffle %v2float %62 %62 0 3 180 OpStore %64 %63 181 %65 = OpLoad %v4float %59 182 %66 = OpVectorShuffle %v2float %65 %65 0 3 183 OpStore %67 %66 184 %68 = OpFunctionCall %float %blend_overlay_component_Qhh2h2 %64 %67 185 %69 = OpLoad %v4float %58 186 %70 = OpVectorShuffle %v2float %69 %69 1 3 187 OpStore %71 %70 188 %72 = OpLoad %v4float %59 189 %73 = OpVectorShuffle %v2float %72 %72 1 3 190 OpStore %74 %73 191 %75 = OpFunctionCall %float %blend_overlay_component_Qhh2h2 %71 %74 192 %76 = OpLoad %v4float %58 193 %77 = OpVectorShuffle %v2float %76 %76 2 3 194 OpStore %78 %77 195 %79 = OpLoad %v4float %59 196 %80 = OpVectorShuffle %v2float %79 %79 2 3 197 OpStore %81 %80 198 %82 = OpFunctionCall %float %blend_overlay_component_Qhh2h2 %78 %81 199 %83 = OpLoad %v4float %58 200 %84 = OpCompositeExtract %float %83 3 201 %86 = OpLoad %v4float %58 202 %87 = OpCompositeExtract %float %86 3 203 %88 = OpFSub %float %float_1 %87 204 %89 = OpLoad %v4float %59 205 %90 = OpCompositeExtract %float %89 3 206 %91 = OpFMul %float %88 %90 207 %92 = OpFAdd %float %84 %91 208 %93 = OpCompositeConstruct %v4float %68 %75 %82 %92 209 OpStore %result %93 210 %94 = OpLoad %v4float %result 211 %95 = OpVectorShuffle %v3float %94 %94 0 1 2 212 %97 = OpLoad %v4float %59 213 %98 = OpVectorShuffle %v3float %97 %97 0 1 2 214 %99 = OpLoad %v4float %58 215 %100 = OpCompositeExtract %float %99 3 216 %101 = OpFSub %float %float_1 %100 217 %102 = OpVectorTimesScalar %v3float %98 %101 218 %103 = OpLoad %v4float %58 219 %104 = OpVectorShuffle %v3float %103 %103 0 1 2 220 %105 = OpLoad %v4float %59 221 %106 = OpCompositeExtract %float %105 3 222 %107 = OpFSub %float %float_1 %106 223 %108 = OpVectorTimesScalar %v3float %104 %107 224 %109 = OpFAdd %v3float %102 %108 225 %110 = OpFAdd %v3float %95 %109 226 %111 = OpLoad %v4float %result 227 %112 = OpVectorShuffle %v4float %111 %110 4 5 6 3 228 OpStore %result %112 229 OpReturnValue %112 230 OpFunctionEnd 231 %main = OpFunction %void None %114 232 %115 = OpLabel 233 %121 = OpVariable %_ptr_Function_v4float Function 234 %125 = OpVariable %_ptr_Function_v4float Function 235 %116 = OpAccessChain %_ptr_Uniform_v4float %9 %int_1 236 %120 = OpLoad %v4float %116 237 OpStore %121 %120 238 %122 = OpAccessChain %_ptr_Uniform_v4float %9 %int_0 239 %124 = OpLoad %v4float %122 240 OpStore %125 %124 241 %126 = OpFunctionCall %v4float %blend_overlay_h4h4h4 %121 %125 242 OpStore %sk_FragColor %126 243 OpReturn 244 OpFunctionEnd 245