blob: 549e22836cce711b59c02ce4772f1b9075834ac8 [file] [log] [blame]
OpCapability Shader
%5 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %_entrypoint_v "_entrypoint" %sk_FragColor
OpExecutionMode %_entrypoint_v OriginUpperLeft
; Debug Information
OpName %sk_FragColor "sk_FragColor" ; id %7
OpName %_UniformBuffer "_UniformBuffer" ; id %16
OpMemberName %_UniformBuffer 0 "colorGreen"
OpMemberName %_UniformBuffer 1 "colorRed"
OpMemberName %_UniformBuffer 2 "testMatrix2x2"
OpMemberName %_UniformBuffer 3 "testMatrix3x3"
OpName %_entrypoint_v "_entrypoint_v" ; id %18
OpName %main "main" ; id %6
OpName %_0_ok "_0_ok" ; id %30
OpName %_1_zero "_1_zero" ; id %121
OpName %_2_one "_2_one" ; id %128
OpName %_3_two "_3_two" ; id %132
OpName %_4_nine "_4_nine" ; id %134
OpName %_5_m "_5_m" ; id %473
; Annotations
OpDecorate %main RelaxedPrecision
OpDecorate %sk_FragColor RelaxedPrecision
OpDecorate %sk_FragColor Location 0
OpDecorate %sk_FragColor Index 0
OpMemberDecorate %_UniformBuffer 0 Offset 0
OpMemberDecorate %_UniformBuffer 0 RelaxedPrecision
OpMemberDecorate %_UniformBuffer 1 Offset 16
OpMemberDecorate %_UniformBuffer 1 RelaxedPrecision
OpMemberDecorate %_UniformBuffer 2 Offset 32
OpMemberDecorate %_UniformBuffer 2 ColMajor
OpMemberDecorate %_UniformBuffer 2 MatrixStride 16
OpMemberDecorate %_UniformBuffer 2 RelaxedPrecision
OpMemberDecorate %_UniformBuffer 3 Offset 64
OpMemberDecorate %_UniformBuffer 3 ColMajor
OpMemberDecorate %_UniformBuffer 3 MatrixStride 16
OpMemberDecorate %_UniformBuffer 3 RelaxedPrecision
OpDecorate %_UniformBuffer Block
OpDecorate %11 Binding 0
OpDecorate %11 DescriptorSet 0
OpDecorate %40 RelaxedPrecision
OpDecorate %49 RelaxedPrecision
OpDecorate %50 RelaxedPrecision
OpDecorate %52 RelaxedPrecision
OpDecorate %53 RelaxedPrecision
OpDecorate %62 RelaxedPrecision
OpDecorate %73 RelaxedPrecision
OpDecorate %74 RelaxedPrecision
OpDecorate %76 RelaxedPrecision
OpDecorate %77 RelaxedPrecision
OpDecorate %80 RelaxedPrecision
OpDecorate %81 RelaxedPrecision
OpDecorate %88 RelaxedPrecision
OpDecorate %93 RelaxedPrecision
OpDecorate %94 RelaxedPrecision
OpDecorate %96 RelaxedPrecision
OpDecorate %97 RelaxedPrecision
OpDecorate %104 RelaxedPrecision
OpDecorate %109 RelaxedPrecision
OpDecorate %110 RelaxedPrecision
OpDecorate %112 RelaxedPrecision
OpDecorate %113 RelaxedPrecision
OpDecorate %116 RelaxedPrecision
OpDecorate %117 RelaxedPrecision
OpDecorate %126 RelaxedPrecision
OpDecorate %127 RelaxedPrecision
OpDecorate %130 RelaxedPrecision
OpDecorate %131 RelaxedPrecision
OpDecorate %424 RelaxedPrecision
OpDecorate %425 RelaxedPrecision
OpDecorate %426 RelaxedPrecision
OpDecorate %427 RelaxedPrecision
OpDecorate %428 RelaxedPrecision
OpDecorate %429 RelaxedPrecision
OpDecorate %440 RelaxedPrecision
OpDecorate %441 RelaxedPrecision
OpDecorate %442 RelaxedPrecision
OpDecorate %443 RelaxedPrecision
OpDecorate %444 RelaxedPrecision
OpDecorate %445 RelaxedPrecision
OpDecorate %449 RelaxedPrecision
OpDecorate %450 RelaxedPrecision
OpDecorate %451 RelaxedPrecision
OpDecorate %452 RelaxedPrecision
OpDecorate %453 RelaxedPrecision
OpDecorate %454 RelaxedPrecision
OpDecorate %461 RelaxedPrecision
OpDecorate %462 RelaxedPrecision
OpDecorate %463 RelaxedPrecision
OpDecorate %464 RelaxedPrecision
OpDecorate %465 RelaxedPrecision
OpDecorate %466 RelaxedPrecision
OpDecorate %570 RelaxedPrecision
OpDecorate %572 RelaxedPrecision
OpDecorate %573 RelaxedPrecision
; Types, variables and constants
%int = OpTypeInt 32 1
%_ptr_Input_int = OpTypePointer Input %int
%float = OpTypeFloat 32
%v4float = OpTypeVector %float 4
%_ptr_Output_v4float = OpTypePointer Output %v4float
%sk_FragColor = OpVariable %_ptr_Output_v4float Output ; RelaxedPrecision, Location 0, Index 0
%v2float = OpTypeVector %float 2
%mat2v2float = OpTypeMatrix %v2float 2
%v3float = OpTypeVector %float 3
%mat3v3float = OpTypeMatrix %v3float 3
%_UniformBuffer = OpTypeStruct %v4float %v4float %mat2v2float %mat3v3float ; Block
%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer
%11 = OpVariable %_ptr_Uniform__UniformBuffer Uniform ; Binding 0, DescriptorSet 0
%void = OpTypeVoid
%20 = OpTypeFunction %void
%float_0 = OpConstant %float 0
%23 = OpConstantComposite %v2float %float_0 %float_0
%_ptr_Function_v2float = OpTypePointer Function %v2float
%27 = OpTypeFunction %v4float %_ptr_Function_v2float
%bool = OpTypeBool
%_ptr_Function_bool = OpTypePointer Function %bool
%true = OpConstantTrue %bool
%false = OpConstantFalse %bool
%_ptr_Uniform_mat2v2float = OpTypePointer Uniform %mat2v2float
%int_2 = OpConstant %int 2
%float_1 = OpConstant %float 1
%float_2 = OpConstant %float 2
%float_3 = OpConstant %float 3
%float_4 = OpConstant %float 4
%45 = OpConstantComposite %v2float %float_1 %float_2
%46 = OpConstantComposite %v2float %float_3 %float_4
%47 = OpConstantComposite %mat2v2float %45 %46
%v2bool = OpTypeVector %bool 2
%_ptr_Uniform_mat3v3float = OpTypePointer Uniform %mat3v3float
%int_3 = OpConstant %int 3
%float_5 = OpConstant %float 5
%float_6 = OpConstant %float 6
%float_7 = OpConstant %float 7
%float_8 = OpConstant %float 8
%float_9 = OpConstant %float 9
%68 = OpConstantComposite %v3float %float_1 %float_2 %float_3
%69 = OpConstantComposite %v3float %float_4 %float_5 %float_6
%70 = OpConstantComposite %v3float %float_7 %float_8 %float_9
%71 = OpConstantComposite %mat3v3float %68 %69 %70
%v3bool = OpTypeVector %bool 3
%float_100 = OpConstant %float 100
%90 = OpConstantComposite %v2float %float_100 %float_0
%91 = OpConstantComposite %v2float %float_0 %float_100
%92 = OpConstantComposite %mat2v2float %90 %91
%105 = OpConstantComposite %v3float %float_9 %float_8 %float_7
%106 = OpConstantComposite %v3float %float_6 %float_5 %float_4
%107 = OpConstantComposite %v3float %float_3 %float_2 %float_1
%108 = OpConstantComposite %mat3v3float %105 %106 %107
%_ptr_Function_float = OpTypePointer Function %float
%_ptr_Uniform_v4float = OpTypePointer Uniform %v4float
%int_0 = OpConstant %int 0
%141 = OpConstantComposite %v2float %float_1 %float_0
%142 = OpConstantComposite %v2float %float_0 %float_1
%143 = OpConstantComposite %mat2v2float %141 %142
%177 = OpConstantComposite %mat2v2float %23 %23
%float_n1 = OpConstant %float -1
%191 = OpConstantComposite %v2float %float_n1 %float_0
%192 = OpConstantComposite %v2float %float_0 %float_n1
%193 = OpConstantComposite %mat2v2float %191 %192
%float_n0 = OpConstant %float -0
%206 = OpConstantComposite %v2float %float_n0 %float_0
%207 = OpConstantComposite %v2float %float_0 %float_n0
%208 = OpConstantComposite %mat2v2float %206 %207
%294 = OpConstantComposite %v3float %float_1 %float_0 %float_0
%295 = OpConstantComposite %v3float %float_0 %float_1 %float_0
%296 = OpConstantComposite %v3float %float_0 %float_0 %float_1
%297 = OpConstantComposite %mat3v3float %294 %295 %296
%313 = OpConstantComposite %v2float %float_9 %float_0
%314 = OpConstantComposite %v2float %float_0 %float_9
%315 = OpConstantComposite %mat2v2float %313 %314
%316 = OpConstantComposite %v3float %float_9 %float_0 %float_0
%317 = OpConstantComposite %v3float %float_0 %float_9 %float_0
%318 = OpConstantComposite %mat3v3float %316 %317 %296
%432 = OpConstantComposite %v4float %float_1 %float_2 %float_3 %float_4
%v4bool = OpTypeVector %bool 4
%469 = OpConstantComposite %v4float %float_0 %float_0 %float_0 %float_0
%_ptr_Function_mat3v3float = OpTypePointer Function %mat3v3float
%_ptr_Function_v3float = OpTypePointer Function %v3float
%int_1 = OpConstant %int 1
%_ptr_Function_v4float = OpTypePointer Function %v4float
; Function _entrypoint_v
%_entrypoint_v = OpFunction %void None %20
%21 = OpLabel
%24 = OpVariable %_ptr_Function_v2float Function
OpStore %24 %23
%26 = OpFunctionCall %v4float %main %24
OpStore %sk_FragColor %26
OpReturn
OpFunctionEnd
; Function main
%main = OpFunction %v4float None %27 ; RelaxedPrecision
%28 = OpFunctionParameter %_ptr_Function_v2float
%29 = OpLabel
%_0_ok = OpVariable %_ptr_Function_bool Function
%_1_zero = OpVariable %_ptr_Function_float Function
%_2_one = OpVariable %_ptr_Function_float Function
%_3_two = OpVariable %_ptr_Function_float Function
%_4_nine = OpVariable %_ptr_Function_float Function
%_5_m = OpVariable %_ptr_Function_mat3v3float Function
%564 = OpVariable %_ptr_Function_v4float Function
OpStore %_0_ok %true
OpSelectionMerge %36 None
OpBranchConditional %true %35 %36
%35 = OpLabel
%37 = OpAccessChain %_ptr_Uniform_mat2v2float %11 %int_2
%40 = OpLoad %mat2v2float %37 ; RelaxedPrecision
%49 = OpCompositeExtract %v2float %40 0 ; RelaxedPrecision
%50 = OpFOrdEqual %v2bool %49 %45 ; RelaxedPrecision
%51 = OpAll %bool %50
%52 = OpCompositeExtract %v2float %40 1 ; RelaxedPrecision
%53 = OpFOrdEqual %v2bool %52 %46 ; RelaxedPrecision
%54 = OpAll %bool %53
%55 = OpLogicalAnd %bool %51 %54
OpBranch %36
%36 = OpLabel
%56 = OpPhi %bool %false %29 %55 %35
OpStore %_0_ok %56
OpSelectionMerge %58 None
OpBranchConditional %56 %57 %58
%57 = OpLabel
%59 = OpAccessChain %_ptr_Uniform_mat3v3float %11 %int_3
%62 = OpLoad %mat3v3float %59 ; RelaxedPrecision
%73 = OpCompositeExtract %v3float %62 0 ; RelaxedPrecision
%74 = OpFOrdEqual %v3bool %73 %68 ; RelaxedPrecision
%75 = OpAll %bool %74
%76 = OpCompositeExtract %v3float %62 1 ; RelaxedPrecision
%77 = OpFOrdEqual %v3bool %76 %69 ; RelaxedPrecision
%78 = OpAll %bool %77
%79 = OpLogicalAnd %bool %75 %78
%80 = OpCompositeExtract %v3float %62 2 ; RelaxedPrecision
%81 = OpFOrdEqual %v3bool %80 %70 ; RelaxedPrecision
%82 = OpAll %bool %81
%83 = OpLogicalAnd %bool %79 %82
OpBranch %58
%58 = OpLabel
%84 = OpPhi %bool %false %36 %83 %57
OpStore %_0_ok %84
OpSelectionMerge %86 None
OpBranchConditional %84 %85 %86
%85 = OpLabel
%87 = OpAccessChain %_ptr_Uniform_mat2v2float %11 %int_2
%88 = OpLoad %mat2v2float %87 ; RelaxedPrecision
%93 = OpCompositeExtract %v2float %88 0 ; RelaxedPrecision
%94 = OpFUnordNotEqual %v2bool %93 %90 ; RelaxedPrecision
%95 = OpAny %bool %94
%96 = OpCompositeExtract %v2float %88 1 ; RelaxedPrecision
%97 = OpFUnordNotEqual %v2bool %96 %91 ; RelaxedPrecision
%98 = OpAny %bool %97
%99 = OpLogicalOr %bool %95 %98
OpBranch %86
%86 = OpLabel
%100 = OpPhi %bool %false %58 %99 %85
OpStore %_0_ok %100
OpSelectionMerge %102 None
OpBranchConditional %100 %101 %102
%101 = OpLabel
%103 = OpAccessChain %_ptr_Uniform_mat3v3float %11 %int_3
%104 = OpLoad %mat3v3float %103 ; RelaxedPrecision
%109 = OpCompositeExtract %v3float %104 0 ; RelaxedPrecision
%110 = OpFUnordNotEqual %v3bool %109 %105 ; RelaxedPrecision
%111 = OpAny %bool %110
%112 = OpCompositeExtract %v3float %104 1 ; RelaxedPrecision
%113 = OpFUnordNotEqual %v3bool %112 %106 ; RelaxedPrecision
%114 = OpAny %bool %113
%115 = OpLogicalOr %bool %111 %114
%116 = OpCompositeExtract %v3float %104 2 ; RelaxedPrecision
%117 = OpFUnordNotEqual %v3bool %116 %107 ; RelaxedPrecision
%118 = OpAny %bool %117
%119 = OpLogicalOr %bool %115 %118
OpBranch %102
%102 = OpLabel
%120 = OpPhi %bool %false %86 %119 %101
OpStore %_0_ok %120
%123 = OpAccessChain %_ptr_Uniform_v4float %11 %int_0
%126 = OpLoad %v4float %123 ; RelaxedPrecision
%127 = OpCompositeExtract %float %126 0 ; RelaxedPrecision
OpStore %_1_zero %127
%129 = OpAccessChain %_ptr_Uniform_v4float %11 %int_0
%130 = OpLoad %v4float %129 ; RelaxedPrecision
%131 = OpCompositeExtract %float %130 1 ; RelaxedPrecision
OpStore %_2_one %131
%133 = OpFMul %float %float_2 %131
OpStore %_3_two %133
%135 = OpFMul %float %float_9 %131
OpStore %_4_nine %135
OpSelectionMerge %137 None
OpBranchConditional %120 %136 %137
%136 = OpLabel
%138 = OpCompositeConstruct %v2float %131 %127
%139 = OpCompositeConstruct %v2float %127 %131
%140 = OpCompositeConstruct %mat2v2float %138 %139
%144 = OpFOrdEqual %v2bool %138 %141
%145 = OpAll %bool %144
%146 = OpFOrdEqual %v2bool %139 %142
%147 = OpAll %bool %146
%148 = OpLogicalAnd %bool %145 %147
OpBranch %137
%137 = OpLabel
%149 = OpPhi %bool %false %102 %148 %136
OpStore %_0_ok %149
OpSelectionMerge %151 None
OpBranchConditional %149 %150 %151
%150 = OpLabel
%152 = OpCompositeConstruct %v2float %131 %131
%153 = OpCompositeConstruct %v2float %131 %127
%154 = OpCompositeConstruct %mat2v2float %153 %152
%155 = OpFUnordNotEqual %v2bool %153 %141
%156 = OpAny %bool %155
%157 = OpFUnordNotEqual %v2bool %152 %142
%158 = OpAny %bool %157
%159 = OpLogicalOr %bool %156 %158
OpBranch %151
%151 = OpLabel
%160 = OpPhi %bool %false %137 %159 %150
OpStore %_0_ok %160
OpSelectionMerge %162 None
OpBranchConditional %160 %161 %162
%161 = OpLabel
%163 = OpCompositeConstruct %v2float %131 %float_0
%164 = OpCompositeConstruct %v2float %float_0 %131
%165 = OpCompositeConstruct %mat2v2float %163 %164
%166 = OpFOrdEqual %v2bool %163 %141
%167 = OpAll %bool %166
%168 = OpFOrdEqual %v2bool %164 %142
%169 = OpAll %bool %168
%170 = OpLogicalAnd %bool %167 %169
OpBranch %162
%162 = OpLabel
%171 = OpPhi %bool %false %151 %170 %161
OpStore %_0_ok %171
OpSelectionMerge %173 None
OpBranchConditional %171 %172 %173
%172 = OpLabel
%174 = OpCompositeConstruct %v2float %131 %float_0
%175 = OpCompositeConstruct %v2float %float_0 %131
%176 = OpCompositeConstruct %mat2v2float %174 %175
%178 = OpFUnordNotEqual %v2bool %174 %23
%179 = OpAny %bool %178
%180 = OpFUnordNotEqual %v2bool %175 %23
%181 = OpAny %bool %180
%182 = OpLogicalOr %bool %179 %181
OpBranch %173
%173 = OpLabel
%183 = OpPhi %bool %false %162 %182 %172
OpStore %_0_ok %183
OpSelectionMerge %185 None
OpBranchConditional %183 %184 %185
%184 = OpLabel
%186 = OpFNegate %float %131
%187 = OpCompositeConstruct %v2float %186 %float_0
%188 = OpCompositeConstruct %v2float %float_0 %186
%189 = OpCompositeConstruct %mat2v2float %187 %188
%194 = OpFOrdEqual %v2bool %187 %191
%195 = OpAll %bool %194
%196 = OpFOrdEqual %v2bool %188 %192
%197 = OpAll %bool %196
%198 = OpLogicalAnd %bool %195 %197
OpBranch %185
%185 = OpLabel
%199 = OpPhi %bool %false %173 %198 %184
OpStore %_0_ok %199
OpSelectionMerge %201 None
OpBranchConditional %199 %200 %201
%200 = OpLabel
%202 = OpCompositeConstruct %v2float %127 %float_0
%203 = OpCompositeConstruct %v2float %float_0 %127
%204 = OpCompositeConstruct %mat2v2float %202 %203
%209 = OpFOrdEqual %v2bool %202 %206
%210 = OpAll %bool %209
%211 = OpFOrdEqual %v2bool %203 %207
%212 = OpAll %bool %211
%213 = OpLogicalAnd %bool %210 %212
OpBranch %201
%201 = OpLabel
%214 = OpPhi %bool %false %185 %213 %200
OpStore %_0_ok %214
OpSelectionMerge %216 None
OpBranchConditional %214 %215 %216
%215 = OpLabel
%217 = OpFNegate %float %131
%218 = OpCompositeConstruct %v2float %217 %float_0
%219 = OpCompositeConstruct %v2float %float_0 %217
%220 = OpCompositeConstruct %mat2v2float %218 %219
%221 = OpFNegate %v2float %218
%222 = OpFNegate %v2float %219
%223 = OpCompositeConstruct %mat2v2float %221 %222
%224 = OpFOrdEqual %v2bool %221 %141
%225 = OpAll %bool %224
%226 = OpFOrdEqual %v2bool %222 %142
%227 = OpAll %bool %226
%228 = OpLogicalAnd %bool %225 %227
OpBranch %216
%216 = OpLabel
%229 = OpPhi %bool %false %201 %228 %215
OpStore %_0_ok %229
OpSelectionMerge %231 None
OpBranchConditional %229 %230 %231
%230 = OpLabel
%232 = OpCompositeConstruct %v2float %127 %float_0
%233 = OpCompositeConstruct %v2float %float_0 %127
%234 = OpCompositeConstruct %mat2v2float %232 %233
%235 = OpFNegate %v2float %232
%236 = OpFNegate %v2float %233
%237 = OpCompositeConstruct %mat2v2float %235 %236
%238 = OpFOrdEqual %v2bool %235 %206
%239 = OpAll %bool %238
%240 = OpFOrdEqual %v2bool %236 %207
%241 = OpAll %bool %240
%242 = OpLogicalAnd %bool %239 %241
OpBranch %231
%231 = OpLabel
%243 = OpPhi %bool %false %216 %242 %230
OpStore %_0_ok %243
OpSelectionMerge %245 None
OpBranchConditional %243 %244 %245
%244 = OpLabel
%246 = OpCompositeConstruct %v2float %131 %float_0
%247 = OpCompositeConstruct %v2float %float_0 %131
%248 = OpCompositeConstruct %mat2v2float %246 %247
%249 = OpFOrdEqual %v2bool %246 %141
%250 = OpAll %bool %249
%251 = OpFOrdEqual %v2bool %247 %142
%252 = OpAll %bool %251
%253 = OpLogicalAnd %bool %250 %252
OpBranch %245
%245 = OpLabel
%254 = OpPhi %bool %false %231 %253 %244
OpStore %_0_ok %254
OpSelectionMerge %256 None
OpBranchConditional %254 %255 %256
%255 = OpLabel
%257 = OpCompositeConstruct %v2float %133 %float_0
%258 = OpCompositeConstruct %v2float %float_0 %133
%259 = OpCompositeConstruct %mat2v2float %257 %258
%260 = OpFUnordNotEqual %v2bool %257 %141
%261 = OpAny %bool %260
%262 = OpFUnordNotEqual %v2bool %258 %142
%263 = OpAny %bool %262
%264 = OpLogicalOr %bool %261 %263
OpBranch %256
%256 = OpLabel
%265 = OpPhi %bool %false %245 %264 %255
OpStore %_0_ok %265
OpSelectionMerge %267 None
OpBranchConditional %265 %266 %267
%266 = OpLabel
%268 = OpCompositeConstruct %v2float %131 %float_0
%269 = OpCompositeConstruct %v2float %float_0 %131
%270 = OpCompositeConstruct %mat2v2float %268 %269
%271 = OpFOrdEqual %v2bool %268 %141
%272 = OpAll %bool %271
%273 = OpFOrdEqual %v2bool %269 %142
%274 = OpAll %bool %273
%275 = OpLogicalAnd %bool %272 %274
OpBranch %267
%267 = OpLabel
%276 = OpPhi %bool %false %256 %275 %266
OpStore %_0_ok %276
OpSelectionMerge %278 None
OpBranchConditional %276 %277 %278
%277 = OpLabel
%279 = OpCompositeConstruct %v2float %131 %float_0
%280 = OpCompositeConstruct %v2float %float_0 %131
%281 = OpCompositeConstruct %mat2v2float %279 %280
%282 = OpFUnordNotEqual %v2bool %279 %23
%283 = OpAny %bool %282
%284 = OpFUnordNotEqual %v2bool %280 %23
%285 = OpAny %bool %284
%286 = OpLogicalOr %bool %283 %285
OpBranch %278
%278 = OpLabel
%287 = OpPhi %bool %false %267 %286 %277
OpStore %_0_ok %287
OpSelectionMerge %289 None
OpBranchConditional %287 %288 %289
%288 = OpLabel
%290 = OpCompositeConstruct %v3float %131 %127 %127
%291 = OpCompositeConstruct %v3float %127 %131 %127
%292 = OpCompositeConstruct %v3float %127 %127 %131
%293 = OpCompositeConstruct %mat3v3float %290 %291 %292
%298 = OpFOrdEqual %v3bool %290 %294
%299 = OpAll %bool %298
%300 = OpFOrdEqual %v3bool %291 %295
%301 = OpAll %bool %300
%302 = OpLogicalAnd %bool %299 %301
%303 = OpFOrdEqual %v3bool %292 %296
%304 = OpAll %bool %303
%305 = OpLogicalAnd %bool %302 %304
OpBranch %289
%289 = OpLabel
%306 = OpPhi %bool %false %278 %305 %288
OpStore %_0_ok %306
OpSelectionMerge %308 None
OpBranchConditional %306 %307 %308
%307 = OpLabel
%309 = OpCompositeConstruct %v3float %135 %127 %127
%310 = OpCompositeConstruct %v3float %127 %135 %127
%311 = OpCompositeConstruct %v3float %127 %127 %131
%312 = OpCompositeConstruct %mat3v3float %309 %310 %311
%319 = OpFOrdEqual %v3bool %309 %316
%320 = OpAll %bool %319
%321 = OpFOrdEqual %v3bool %310 %317
%322 = OpAll %bool %321
%323 = OpLogicalAnd %bool %320 %322
%324 = OpFOrdEqual %v3bool %311 %296
%325 = OpAll %bool %324
%326 = OpLogicalAnd %bool %323 %325
OpBranch %308
%308 = OpLabel
%327 = OpPhi %bool %false %289 %326 %307
OpStore %_0_ok %327
OpSelectionMerge %329 None
OpBranchConditional %327 %328 %329
%328 = OpLabel
%330 = OpCompositeConstruct %v3float %131 %float_0 %float_0
%331 = OpCompositeConstruct %v3float %float_0 %131 %float_0
%332 = OpCompositeConstruct %v3float %float_0 %float_0 %131
%333 = OpCompositeConstruct %mat3v3float %330 %331 %332
%334 = OpFOrdEqual %v3bool %330 %294
%335 = OpAll %bool %334
%336 = OpFOrdEqual %v3bool %331 %295
%337 = OpAll %bool %336
%338 = OpLogicalAnd %bool %335 %337
%339 = OpFOrdEqual %v3bool %332 %296
%340 = OpAll %bool %339
%341 = OpLogicalAnd %bool %338 %340
OpBranch %329
%329 = OpLabel
%342 = OpPhi %bool %false %308 %341 %328
OpStore %_0_ok %342
OpSelectionMerge %344 None
OpBranchConditional %342 %343 %344
%343 = OpLabel
%345 = OpCompositeConstruct %v3float %135 %float_0 %float_0
%346 = OpCompositeConstruct %v3float %float_0 %135 %float_0
%347 = OpCompositeConstruct %v3float %float_0 %float_0 %131
%348 = OpCompositeConstruct %mat3v3float %345 %346 %347
%349 = OpFOrdEqual %v3bool %345 %316
%350 = OpAll %bool %349
%351 = OpFOrdEqual %v3bool %346 %317
%352 = OpAll %bool %351
%353 = OpLogicalAnd %bool %350 %352
%354 = OpFOrdEqual %v3bool %347 %296
%355 = OpAll %bool %354
%356 = OpLogicalAnd %bool %353 %355
OpBranch %344
%344 = OpLabel
%357 = OpPhi %bool %false %329 %356 %343
OpStore %_0_ok %357
OpSelectionMerge %359 None
OpBranchConditional %357 %358 %359
%358 = OpLabel
%360 = OpCompositeConstruct %v3float %131 %float_0 %float_0
%361 = OpCompositeConstruct %v3float %float_0 %131 %float_0
%362 = OpCompositeConstruct %v3float %float_0 %float_0 %131
%363 = OpCompositeConstruct %mat3v3float %360 %361 %362
%364 = OpVectorShuffle %v2float %360 %360 0 1
%365 = OpVectorShuffle %v2float %361 %361 0 1
%366 = OpCompositeConstruct %mat2v2float %364 %365
%367 = OpFOrdEqual %v2bool %364 %141
%368 = OpAll %bool %367
%369 = OpFOrdEqual %v2bool %365 %142
%370 = OpAll %bool %369
%371 = OpLogicalAnd %bool %368 %370
OpBranch %359
%359 = OpLabel
%372 = OpPhi %bool %false %344 %371 %358
OpStore %_0_ok %372
OpSelectionMerge %374 None
OpBranchConditional %372 %373 %374
%373 = OpLabel
%375 = OpCompositeConstruct %v3float %131 %float_0 %float_0
%376 = OpCompositeConstruct %v3float %float_0 %131 %float_0
%377 = OpCompositeConstruct %v3float %float_0 %float_0 %131
%378 = OpCompositeConstruct %mat3v3float %375 %376 %377
%379 = OpVectorShuffle %v2float %375 %375 0 1
%380 = OpVectorShuffle %v2float %376 %376 0 1
%381 = OpCompositeConstruct %mat2v2float %379 %380
%382 = OpFOrdEqual %v2bool %379 %141
%383 = OpAll %bool %382
%384 = OpFOrdEqual %v2bool %380 %142
%385 = OpAll %bool %384
%386 = OpLogicalAnd %bool %383 %385
OpBranch %374
%374 = OpLabel
%387 = OpPhi %bool %false %359 %386 %373
OpStore %_0_ok %387
OpSelectionMerge %389 None
OpBranchConditional %387 %388 %389
%388 = OpLabel
%390 = OpCompositeConstruct %v2float %131 %127
%391 = OpCompositeConstruct %v2float %127 %131
%392 = OpCompositeConstruct %mat2v2float %390 %391
%393 = OpFOrdEqual %v2bool %390 %141
%394 = OpAll %bool %393
%395 = OpFOrdEqual %v2bool %391 %142
%396 = OpAll %bool %395
%397 = OpLogicalAnd %bool %394 %396
OpBranch %389
%389 = OpLabel
%398 = OpPhi %bool %false %374 %397 %388
OpStore %_0_ok %398
OpSelectionMerge %400 None
OpBranchConditional %398 %399 %400
%399 = OpLabel
%401 = OpCompositeConstruct %v2float %131 %127
%402 = OpCompositeConstruct %v2float %127 %131
%403 = OpCompositeConstruct %mat2v2float %401 %402
%404 = OpFOrdEqual %v2bool %401 %141
%405 = OpAll %bool %404
%406 = OpFOrdEqual %v2bool %402 %142
%407 = OpAll %bool %406
%408 = OpLogicalAnd %bool %405 %407
OpBranch %400
%400 = OpLabel
%409 = OpPhi %bool %false %389 %408 %399
OpStore %_0_ok %409
OpSelectionMerge %411 None
OpBranchConditional %409 %410 %411
%410 = OpLabel
%412 = OpCompositeConstruct %v2float %131 %127
%413 = OpCompositeConstruct %v2float %127 %131
%414 = OpCompositeConstruct %mat2v2float %412 %413
%415 = OpFOrdEqual %v2bool %412 %141
%416 = OpAll %bool %415
%417 = OpFOrdEqual %v2bool %413 %142
%418 = OpAll %bool %417
%419 = OpLogicalAnd %bool %416 %418
OpBranch %411
%411 = OpLabel
%420 = OpPhi %bool %false %400 %419 %410
OpStore %_0_ok %420
OpSelectionMerge %422 None
OpBranchConditional %420 %421 %422
%421 = OpLabel
%423 = OpAccessChain %_ptr_Uniform_mat2v2float %11 %int_2
%424 = OpLoad %mat2v2float %423 ; RelaxedPrecision
%425 = OpCompositeExtract %float %424 0 0 ; RelaxedPrecision
%426 = OpCompositeExtract %float %424 0 1 ; RelaxedPrecision
%427 = OpCompositeExtract %float %424 1 0 ; RelaxedPrecision
%428 = OpCompositeExtract %float %424 1 1 ; RelaxedPrecision
%429 = OpCompositeConstruct %v4float %425 %426 %427 %428 ; RelaxedPrecision
%430 = OpCompositeConstruct %v4float %131 %131 %131 %131
%431 = OpFMul %v4float %429 %430
%433 = OpFOrdEqual %v4bool %431 %432
%435 = OpAll %bool %433
OpBranch %422
%422 = OpLabel
%436 = OpPhi %bool %false %411 %435 %421
OpStore %_0_ok %436
OpSelectionMerge %438 None
OpBranchConditional %436 %437 %438
%437 = OpLabel
%439 = OpAccessChain %_ptr_Uniform_mat2v2float %11 %int_2
%440 = OpLoad %mat2v2float %439 ; RelaxedPrecision
%441 = OpCompositeExtract %float %440 0 0 ; RelaxedPrecision
%442 = OpCompositeExtract %float %440 0 1 ; RelaxedPrecision
%443 = OpCompositeExtract %float %440 1 0 ; RelaxedPrecision
%444 = OpCompositeExtract %float %440 1 1 ; RelaxedPrecision
%445 = OpCompositeConstruct %v4float %441 %442 %443 %444 ; RelaxedPrecision
%446 = OpCompositeConstruct %v4float %131 %131 %131 %131
%447 = OpFMul %v4float %445 %446
%448 = OpAccessChain %_ptr_Uniform_mat2v2float %11 %int_2
%449 = OpLoad %mat2v2float %448 ; RelaxedPrecision
%450 = OpCompositeExtract %float %449 0 0 ; RelaxedPrecision
%451 = OpCompositeExtract %float %449 0 1 ; RelaxedPrecision
%452 = OpCompositeExtract %float %449 1 0 ; RelaxedPrecision
%453 = OpCompositeExtract %float %449 1 1 ; RelaxedPrecision
%454 = OpCompositeConstruct %v4float %450 %451 %452 %453 ; RelaxedPrecision
%455 = OpFOrdEqual %v4bool %447 %454
%456 = OpAll %bool %455
OpBranch %438
%438 = OpLabel
%457 = OpPhi %bool %false %422 %456 %437
OpStore %_0_ok %457
OpSelectionMerge %459 None
OpBranchConditional %457 %458 %459
%458 = OpLabel
%460 = OpAccessChain %_ptr_Uniform_mat2v2float %11 %int_2
%461 = OpLoad %mat2v2float %460 ; RelaxedPrecision
%462 = OpCompositeExtract %float %461 0 0 ; RelaxedPrecision
%463 = OpCompositeExtract %float %461 0 1 ; RelaxedPrecision
%464 = OpCompositeExtract %float %461 1 0 ; RelaxedPrecision
%465 = OpCompositeExtract %float %461 1 1 ; RelaxedPrecision
%466 = OpCompositeConstruct %v4float %462 %463 %464 %465 ; RelaxedPrecision
%467 = OpCompositeConstruct %v4float %127 %127 %127 %127
%468 = OpFMul %v4float %466 %467
%470 = OpFOrdEqual %v4bool %468 %469
%471 = OpAll %bool %470
OpBranch %459
%459 = OpLabel
%472 = OpPhi %bool %false %438 %471 %458
OpStore %_0_ok %472
%475 = OpCompositeConstruct %v3float %131 %133 %float_3
%476 = OpCompositeConstruct %v3float %float_7 %float_8 %135
%477 = OpCompositeConstruct %mat3v3float %475 %69 %476
OpStore %_5_m %477
OpSelectionMerge %479 None
OpBranchConditional %472 %478 %479
%478 = OpLabel
%480 = OpAccessChain %_ptr_Function_v3float %_5_m %int_0
%482 = OpLoad %v3float %480
%483 = OpFOrdEqual %v3bool %482 %68
%484 = OpAll %bool %483
OpBranch %479
%479 = OpLabel
%485 = OpPhi %bool %false %459 %484 %478
OpStore %_0_ok %485
OpSelectionMerge %487 None
OpBranchConditional %485 %486 %487
%486 = OpLabel
%489 = OpAccessChain %_ptr_Function_v3float %_5_m %int_1
%490 = OpLoad %v3float %489
%491 = OpFOrdEqual %v3bool %490 %69
%492 = OpAll %bool %491
OpBranch %487
%487 = OpLabel
%493 = OpPhi %bool %false %479 %492 %486
OpStore %_0_ok %493
OpSelectionMerge %495 None
OpBranchConditional %493 %494 %495
%494 = OpLabel
%496 = OpAccessChain %_ptr_Function_v3float %_5_m %int_2
%497 = OpLoad %v3float %496
%498 = OpFOrdEqual %v3bool %497 %70
%499 = OpAll %bool %498
OpBranch %495
%495 = OpLabel
%500 = OpPhi %bool %false %487 %499 %494
OpStore %_0_ok %500
OpSelectionMerge %502 None
OpBranchConditional %500 %501 %502
%501 = OpLabel
%503 = OpAccessChain %_ptr_Function_v3float %_5_m %int_0
%504 = OpLoad %v3float %503
%505 = OpCompositeExtract %float %504 0
%506 = OpFOrdEqual %bool %505 %float_1
OpBranch %502
%502 = OpLabel
%507 = OpPhi %bool %false %495 %506 %501
OpStore %_0_ok %507
OpSelectionMerge %509 None
OpBranchConditional %507 %508 %509
%508 = OpLabel
%510 = OpAccessChain %_ptr_Function_v3float %_5_m %int_0
%511 = OpLoad %v3float %510
%512 = OpCompositeExtract %float %511 1
%513 = OpFOrdEqual %bool %512 %float_2
OpBranch %509
%509 = OpLabel
%514 = OpPhi %bool %false %502 %513 %508
OpStore %_0_ok %514
OpSelectionMerge %516 None
OpBranchConditional %514 %515 %516
%515 = OpLabel
%517 = OpAccessChain %_ptr_Function_v3float %_5_m %int_0
%518 = OpLoad %v3float %517
%519 = OpCompositeExtract %float %518 2
%520 = OpFOrdEqual %bool %519 %float_3
OpBranch %516
%516 = OpLabel
%521 = OpPhi %bool %false %509 %520 %515
OpStore %_0_ok %521
OpSelectionMerge %523 None
OpBranchConditional %521 %522 %523
%522 = OpLabel
%524 = OpAccessChain %_ptr_Function_v3float %_5_m %int_1
%525 = OpLoad %v3float %524
%526 = OpCompositeExtract %float %525 0
%527 = OpFOrdEqual %bool %526 %float_4
OpBranch %523
%523 = OpLabel
%528 = OpPhi %bool %false %516 %527 %522
OpStore %_0_ok %528
OpSelectionMerge %530 None
OpBranchConditional %528 %529 %530
%529 = OpLabel
%531 = OpAccessChain %_ptr_Function_v3float %_5_m %int_1
%532 = OpLoad %v3float %531
%533 = OpCompositeExtract %float %532 1
%534 = OpFOrdEqual %bool %533 %float_5
OpBranch %530
%530 = OpLabel
%535 = OpPhi %bool %false %523 %534 %529
OpStore %_0_ok %535
OpSelectionMerge %537 None
OpBranchConditional %535 %536 %537
%536 = OpLabel
%538 = OpAccessChain %_ptr_Function_v3float %_5_m %int_1
%539 = OpLoad %v3float %538
%540 = OpCompositeExtract %float %539 2
%541 = OpFOrdEqual %bool %540 %float_6
OpBranch %537
%537 = OpLabel
%542 = OpPhi %bool %false %530 %541 %536
OpStore %_0_ok %542
OpSelectionMerge %544 None
OpBranchConditional %542 %543 %544
%543 = OpLabel
%545 = OpAccessChain %_ptr_Function_v3float %_5_m %int_2
%546 = OpLoad %v3float %545
%547 = OpCompositeExtract %float %546 0
%548 = OpFOrdEqual %bool %547 %float_7
OpBranch %544
%544 = OpLabel
%549 = OpPhi %bool %false %537 %548 %543
OpStore %_0_ok %549
OpSelectionMerge %551 None
OpBranchConditional %549 %550 %551
%550 = OpLabel
%552 = OpAccessChain %_ptr_Function_v3float %_5_m %int_2
%553 = OpLoad %v3float %552
%554 = OpCompositeExtract %float %553 1
%555 = OpFOrdEqual %bool %554 %float_8
OpBranch %551
%551 = OpLabel
%556 = OpPhi %bool %false %544 %555 %550
OpStore %_0_ok %556
OpSelectionMerge %558 None
OpBranchConditional %556 %557 %558
%557 = OpLabel
%559 = OpAccessChain %_ptr_Function_v3float %_5_m %int_2
%560 = OpLoad %v3float %559
%561 = OpCompositeExtract %float %560 2
%562 = OpFOrdEqual %bool %561 %float_9
OpBranch %558
%558 = OpLabel
%563 = OpPhi %bool %false %551 %562 %557
OpStore %_0_ok %563
OpSelectionMerge %568 None
OpBranchConditional %563 %566 %567
%566 = OpLabel
%569 = OpAccessChain %_ptr_Uniform_v4float %11 %int_0
%570 = OpLoad %v4float %569 ; RelaxedPrecision
OpStore %564 %570
OpBranch %568
%567 = OpLabel
%571 = OpAccessChain %_ptr_Uniform_v4float %11 %int_1
%572 = OpLoad %v4float %571 ; RelaxedPrecision
OpStore %564 %572
OpBranch %568
%568 = OpLabel
%573 = OpLoad %v4float %564 ; RelaxedPrecision
OpReturnValue %573
OpFunctionEnd