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 %_UniformBuffer "_UniformBuffer" 8 OpMemberName %_UniformBuffer 0 "colorGreen" 9 OpMemberName %_UniformBuffer 1 "colorRed" 10 OpName %_entrypoint_v "_entrypoint_v" 11 OpName %main "main" 12 OpName %h24 "h24" 13 OpName %h42 "h42" 14 OpName %f43 "f43" 15 OpDecorate %sk_FragColor RelaxedPrecision 16 OpDecorate %sk_FragColor Location 0 17 OpDecorate %sk_FragColor Index 0 18 OpMemberDecorate %_UniformBuffer 0 Offset 0 19 OpMemberDecorate %_UniformBuffer 0 RelaxedPrecision 20 OpMemberDecorate %_UniformBuffer 1 Offset 16 21 OpMemberDecorate %_UniformBuffer 1 RelaxedPrecision 22 OpDecorate %_UniformBuffer Block 23 OpDecorate %7 Binding 0 24 OpDecorate %7 DescriptorSet 0 25 OpDecorate %h24 RelaxedPrecision 26 OpDecorate %34 RelaxedPrecision 27 OpDecorate %37 RelaxedPrecision 28 OpDecorate %38 RelaxedPrecision 29 OpDecorate %39 RelaxedPrecision 30 OpDecorate %40 RelaxedPrecision 31 OpDecorate %41 RelaxedPrecision 32 OpDecorate %h42 RelaxedPrecision 33 OpDecorate %60 RelaxedPrecision 34 OpDecorate %62 RelaxedPrecision 35 OpDecorate %63 RelaxedPrecision 36 OpDecorate %64 RelaxedPrecision 37 OpDecorate %65 RelaxedPrecision 38 OpDecorate %66 RelaxedPrecision 39 OpDecorate %67 RelaxedPrecision 40 OpDecorate %68 RelaxedPrecision 41 OpDecorate %69 RelaxedPrecision 42 OpDecorate %70 RelaxedPrecision 43 OpDecorate %71 RelaxedPrecision 44 OpDecorate %72 RelaxedPrecision 45 OpDecorate %73 RelaxedPrecision 46 OpDecorate %74 RelaxedPrecision 47 OpDecorate %75 RelaxedPrecision 48 OpDecorate %76 RelaxedPrecision 49 OpDecorate %77 RelaxedPrecision 50 OpDecorate %78 RelaxedPrecision 51 OpDecorate %79 RelaxedPrecision 52 OpDecorate %80 RelaxedPrecision 53 OpDecorate %102 RelaxedPrecision 54 OpDecorate %104 RelaxedPrecision 55 OpDecorate %115 RelaxedPrecision 56 OpDecorate %117 RelaxedPrecision 57 OpDecorate %120 RelaxedPrecision 58 OpDecorate %123 RelaxedPrecision 59 OpDecorate %148 RelaxedPrecision 60 OpDecorate %150 RelaxedPrecision 61 OpDecorate %151 RelaxedPrecision 62 %float = OpTypeFloat 32 63 %v4float = OpTypeVector %float 4 64%_ptr_Output_v4float = OpTypePointer Output %v4float 65%sk_FragColor = OpVariable %_ptr_Output_v4float Output 66%_UniformBuffer = OpTypeStruct %v4float %v4float 67%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer 68 %7 = OpVariable %_ptr_Uniform__UniformBuffer Uniform 69 %void = OpTypeVoid 70 %12 = OpTypeFunction %void 71 %float_0 = OpConstant %float 0 72 %v2float = OpTypeVector %float 2 73 %16 = OpConstantComposite %v2float %float_0 %float_0 74%_ptr_Function_v2float = OpTypePointer Function %v2float 75 %20 = OpTypeFunction %v4float %_ptr_Function_v2float 76%mat2v4float = OpTypeMatrix %v4float 2 77%_ptr_Function_mat2v4float = OpTypePointer Function %mat2v4float 78 %float_9 = OpConstant %float 9 79 %28 = OpConstantComposite %v4float %float_9 %float_9 %float_9 %float_9 80 %29 = OpConstantComposite %mat2v4float %28 %28 81%_ptr_Uniform_v4float = OpTypePointer Uniform %v4float 82 %int = OpTypeInt 32 1 83 %int_1 = OpConstant %int 1 84 %int_0 = OpConstant %int 0 85%mat4v2float = OpTypeMatrix %v2float 4 86%_ptr_Function_mat4v2float = OpTypePointer Function %mat4v2float 87 %float_1 = OpConstant %float 1 88 %float_2 = OpConstant %float 2 89 %float_3 = OpConstant %float 3 90 %float_4 = OpConstant %float 4 91 %float_5 = OpConstant %float 5 92 %float_6 = OpConstant %float 6 93 %float_7 = OpConstant %float 7 94 %float_8 = OpConstant %float 8 95 %54 = OpConstantComposite %v2float %float_1 %float_2 96 %55 = OpConstantComposite %v2float %float_3 %float_4 97 %56 = OpConstantComposite %v2float %float_5 %float_6 98 %57 = OpConstantComposite %v2float %float_7 %float_8 99 %58 = OpConstantComposite %mat4v2float %54 %55 %56 %57 100 %v3float = OpTypeVector %float 3 101%mat4v3float = OpTypeMatrix %v3float 4 102%_ptr_Function_mat4v3float = OpTypePointer Function %mat4v3float 103 %float_12 = OpConstant %float 12 104 %float_22 = OpConstant %float 22 105 %float_30 = OpConstant %float 30 106 %float_36 = OpConstant %float 36 107 %float_40 = OpConstant %float 40 108 %float_42 = OpConstant %float 42 109 %91 = OpConstantComposite %v3float %float_12 %float_22 %float_30 110 %92 = OpConstantComposite %v3float %float_36 %float_40 %float_42 111 %93 = OpConstantComposite %v3float %float_42 %float_40 %float_36 112 %94 = OpConstantComposite %v3float %float_30 %float_22 %float_12 113 %95 = OpConstantComposite %mat4v3float %91 %92 %93 %94 114 %bool = OpTypeBool 115 %false = OpConstantFalse %bool 116 %98 = OpConstantComposite %v4float %float_9 %float_0 %float_0 %float_9 117 %99 = OpConstantComposite %v4float %float_0 %float_9 %float_0 %float_9 118 %100 = OpConstantComposite %mat2v4float %98 %99 119 %v4bool = OpTypeVector %bool 4 120 %109 = OpConstantComposite %v2float %float_1 %float_0 121 %110 = OpConstantComposite %v2float %float_0 %float_4 122 %111 = OpConstantComposite %v2float %float_0 %float_6 123 %112 = OpConstantComposite %v2float %float_0 %float_8 124 %113 = OpConstantComposite %mat4v2float %109 %110 %111 %112 125 %v2bool = OpTypeVector %bool 2 126 %v3bool = OpTypeVector %bool 3 127%_ptr_Function_v4float = OpTypePointer Function %v4float 128%_entrypoint_v = OpFunction %void None %12 129 %13 = OpLabel 130 %17 = OpVariable %_ptr_Function_v2float Function 131 OpStore %17 %16 132 %19 = OpFunctionCall %v4float %main %17 133 OpStore %sk_FragColor %19 134 OpReturn 135 OpFunctionEnd 136 %main = OpFunction %v4float None %20 137 %21 = OpFunctionParameter %_ptr_Function_v2float 138 %22 = OpLabel 139 %h24 = OpVariable %_ptr_Function_mat2v4float Function 140 %h42 = OpVariable %_ptr_Function_mat4v2float Function 141 %f43 = OpVariable %_ptr_Function_mat4v3float Function 142 %142 = OpVariable %_ptr_Function_v4float Function 143 %30 = OpAccessChain %_ptr_Uniform_v4float %7 %int_1 144 %34 = OpLoad %v4float %30 145 %35 = OpAccessChain %_ptr_Uniform_v4float %7 %int_0 146 %37 = OpLoad %v4float %35 147 %38 = OpCompositeConstruct %mat2v4float %34 %37 148 %39 = OpFMul %v4float %28 %34 149 %40 = OpFMul %v4float %28 %37 150 %41 = OpCompositeConstruct %mat2v4float %39 %40 151 OpStore %h24 %41 152 %59 = OpAccessChain %_ptr_Uniform_v4float %7 %int_1 153 %60 = OpLoad %v4float %59 154 %61 = OpAccessChain %_ptr_Uniform_v4float %7 %int_0 155 %62 = OpLoad %v4float %61 156 %63 = OpCompositeExtract %float %60 0 157 %64 = OpCompositeExtract %float %60 1 158 %65 = OpCompositeConstruct %v2float %63 %64 159 %66 = OpCompositeExtract %float %60 2 160 %67 = OpCompositeExtract %float %60 3 161 %68 = OpCompositeConstruct %v2float %66 %67 162 %69 = OpCompositeExtract %float %62 0 163 %70 = OpCompositeExtract %float %62 1 164 %71 = OpCompositeConstruct %v2float %69 %70 165 %72 = OpCompositeExtract %float %62 2 166 %73 = OpCompositeExtract %float %62 3 167 %74 = OpCompositeConstruct %v2float %72 %73 168 %75 = OpCompositeConstruct %mat4v2float %65 %68 %71 %74 169 %76 = OpFMul %v2float %54 %65 170 %77 = OpFMul %v2float %55 %68 171 %78 = OpFMul %v2float %56 %71 172 %79 = OpFMul %v2float %57 %74 173 %80 = OpCompositeConstruct %mat4v2float %76 %77 %78 %79 174 OpStore %h42 %80 175 OpStore %f43 %95 176 %102 = OpFOrdEqual %v4bool %39 %98 177 %103 = OpAll %bool %102 178 %104 = OpFOrdEqual %v4bool %40 %99 179 %105 = OpAll %bool %104 180 %106 = OpLogicalAnd %bool %103 %105 181 OpSelectionMerge %108 None 182 OpBranchConditional %106 %107 %108 183 %107 = OpLabel 184 %115 = OpFOrdEqual %v2bool %76 %109 185 %116 = OpAll %bool %115 186 %117 = OpFOrdEqual %v2bool %77 %110 187 %118 = OpAll %bool %117 188 %119 = OpLogicalAnd %bool %116 %118 189 %120 = OpFOrdEqual %v2bool %78 %111 190 %121 = OpAll %bool %120 191 %122 = OpLogicalAnd %bool %119 %121 192 %123 = OpFOrdEqual %v2bool %79 %112 193 %124 = OpAll %bool %123 194 %125 = OpLogicalAnd %bool %122 %124 195 OpBranch %108 196 %108 = OpLabel 197 %126 = OpPhi %bool %false %22 %125 %107 198 OpSelectionMerge %128 None 199 OpBranchConditional %126 %127 %128 200 %127 = OpLabel 201 %130 = OpFOrdEqual %v3bool %91 %91 202 %131 = OpAll %bool %130 203 %132 = OpFOrdEqual %v3bool %92 %92 204 %133 = OpAll %bool %132 205 %134 = OpLogicalAnd %bool %131 %133 206 %135 = OpFOrdEqual %v3bool %93 %93 207 %136 = OpAll %bool %135 208 %137 = OpLogicalAnd %bool %134 %136 209 %138 = OpFOrdEqual %v3bool %94 %94 210 %139 = OpAll %bool %138 211 %140 = OpLogicalAnd %bool %137 %139 212 OpBranch %128 213 %128 = OpLabel 214 %141 = OpPhi %bool %false %108 %140 %127 215 OpSelectionMerge %146 None 216 OpBranchConditional %141 %144 %145 217 %144 = OpLabel 218 %147 = OpAccessChain %_ptr_Uniform_v4float %7 %int_0 219 %148 = OpLoad %v4float %147 220 OpStore %142 %148 221 OpBranch %146 222 %145 = OpLabel 223 %149 = OpAccessChain %_ptr_Uniform_v4float %7 %int_1 224 %150 = OpLoad %v4float %149 225 OpStore %142 %150 226 OpBranch %146 227 %146 = OpLabel 228 %151 = OpLoad %v4float %142 229 OpReturnValue %151 230 OpFunctionEnd 231