blob: 62be4a896ad8a89fae9305fc96cace1a350added [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 421
; Schema: 0
OpCapability Shader
%166 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %main "main" %tint_symbol %tint_symbol_2
OpExecutionMode %main OriginUpperLeft
OpName %buf0 "buf0"
OpMemberName %buf0 0 "injectionSwitch"
OpName %x_8 "x_8"
OpName %gl_FragCoord "gl_FragCoord"
OpName %x_GLF_color "x_GLF_color"
OpName %tint_symbol "tint_symbol"
OpName %tint_symbol_2 "tint_symbol_2"
OpName %main_1 "main_1"
OpName %temp "temp"
OpName %data "data"
OpName %x_190 "x_190"
OpName %x_262 "x_262"
OpName %x_63_phi "x_63_phi"
OpName %x_103_phi "x_103_phi"
OpName %x_112_phi "x_112_phi"
OpName %x_263_phi "x_263_phi"
OpName %x_100 "x_100"
OpName %x_98 "x_98"
OpName %x_96 "x_96"
OpName %x_94 "x_94"
OpName %x_92 "x_92"
OpName %x_90 "x_90"
OpName %x_88 "x_88"
OpName %x_86 "x_86"
OpName %x_84 "x_84"
OpName %x_82 "x_82"
OpName %x_64_phi "x_64_phi"
OpName %x_104 "x_104"
OpName %x_113 "x_113"
OpName %x_119_phi "x_119_phi"
OpName %x_131 "x_131"
OpName %x_136 "x_136"
OpName %x_131_phi "x_131_phi"
OpName %x_134_phi "x_134_phi"
OpName %x_136_phi "x_136_phi"
OpName %x_158_phi "x_158_phi"
OpName %x_161_phi "x_161_phi"
OpName %x_171_phi "x_171_phi"
OpName %x_151 "x_151"
OpName %x_154 "x_154"
OpName %x_135_phi "x_135_phi"
OpName %x_137_phi "x_137_phi"
OpName %x_159 "x_159"
OpName %x_162 "x_162"
OpName %x_172 "x_172"
OpName %x_181 "x_181"
OpName %x_199 "x_199"
OpName %x_261 "x_261"
OpName %x_262_phi "x_262_phi"
OpName %x_208 "x_208"
OpName %x_260 "x_260"
OpName %x_261_phi "x_261_phi"
OpName %x_217 "x_217"
OpName %x_259 "x_259"
OpName %x_260_phi "x_260_phi"
OpName %x_230 "x_230"
OpName %x_258 "x_258"
OpName %x_259_phi "x_259_phi"
OpName %x_239 "x_239"
OpName %x_257 "x_257"
OpName %x_258_phi "x_258_phi"
OpName %x_248 "x_248"
OpName %x_256 "x_256"
OpName %x_257_phi "x_257_phi"
OpName %main_out "main_out"
OpMemberName %main_out 0 "x_GLF_color_1"
OpName %tint_symbol_3 "tint_symbol_3"
OpName %tint_symbol_1 "tint_symbol_1"
OpName %main "main"
OpDecorate %buf0 Block
OpMemberDecorate %buf0 0 Offset 0
OpDecorate %x_8 NonWritable
OpDecorate %x_8 DescriptorSet 0
OpDecorate %x_8 Binding 0
OpDecorate %tint_symbol BuiltIn FragCoord
OpDecorate %tint_symbol_2 Location 0
OpDecorate %_arr_int_uint_10 ArrayStride 4
OpMemberDecorate %main_out 0 Offset 0
%float = OpTypeFloat 32
%v2float = OpTypeVector %float 2
%buf0 = OpTypeStruct %v2float
%_ptr_Uniform_buf0 = OpTypePointer Uniform %buf0
%x_8 = OpVariable %_ptr_Uniform_buf0 Uniform
%v4float = OpTypeVector %float 4
%_ptr_Private_v4float = OpTypePointer Private %v4float
%9 = OpConstantNull %v4float
%gl_FragCoord = OpVariable %_ptr_Private_v4float Private %9
%x_GLF_color = OpVariable %_ptr_Private_v4float Private %9
%_ptr_Input_v4float = OpTypePointer Input %v4float
%tint_symbol = OpVariable %_ptr_Input_v4float Input
%_ptr_Output_v4float = OpTypePointer Output %v4float
%tint_symbol_2 = OpVariable %_ptr_Output_v4float Output %9
%void = OpTypeVoid
%15 = OpTypeFunction %void
%int = OpTypeInt 32 1
%uint = OpTypeInt 32 0
%uint_10 = OpConstant %uint 10
%_arr_int_uint_10 = OpTypeArray %int %uint_10
%_ptr_Function__arr_int_uint_10 = OpTypePointer Function %_arr_int_uint_10
%25 = OpConstantNull %_arr_int_uint_10
%_ptr_Function_float = OpTypePointer Function %float
%29 = OpConstantNull %float
%_ptr_Function_int = OpTypePointer Function %int
%33 = OpConstantNull %int
%uint_0 = OpConstant %uint 0
%_ptr_Uniform_float = OpTypePointer Uniform %float
%int_0 = OpConstant %int 0
%60 = OpConstantComposite %_arr_int_uint_10 %int_0 %int_0 %int_0 %int_0 %int_0 %int_0 %int_0 %int_0 %int_0 %int_0
%int_1 = OpConstant %int 1
%int_n5 = OpConstant %int -5
%int_n4 = OpConstant %int -4
%int_n3 = OpConstant %int -3
%int_n2 = OpConstant %int -2
%int_n1 = OpConstant %int -1
%int_2 = OpConstant %int 2
%int_3 = OpConstant %int 3
%int_4 = OpConstant %int 4
%int_10 = OpConstant %int 10
%bool = OpTypeBool
%int_9 = OpConstant %int 9
%uint_1 = OpConstant %uint 1
%_ptr_Private_float = OpTypePointer Private %float
%int_30 = OpConstant %int 30
%float_0_5 = OpConstant %float 0.5
%float_0_100000001 = OpConstant %float 0.100000001
%int_60 = OpConstant %int 60
%int_90 = OpConstant %int 90
%int_120 = OpConstant %int 120
%int_150 = OpConstant %int 150
%int_180 = OpConstant %int 180
%int_5 = OpConstant %int 5
%int_210 = OpConstant %int 210
%int_6 = OpConstant %int 6
%int_240 = OpConstant %int 240
%int_7 = OpConstant %int 7
%int_270 = OpConstant %int 270
%int_8 = OpConstant %int 8
%float_1 = OpConstant %float 1
%main_out = OpTypeStruct %v4float
%408 = OpTypeFunction %void %main_out
%main_1 = OpFunction %void None %15
%18 = OpLabel
%temp = OpVariable %_ptr_Function__arr_int_uint_10 Function %25
%data = OpVariable %_ptr_Function__arr_int_uint_10 Function %25
%x_190 = OpVariable %_ptr_Function_float Function %29
%x_262 = OpVariable %_ptr_Function_float Function %29
%x_63_phi = OpVariable %_ptr_Function_int Function %33
%x_103_phi = OpVariable %_ptr_Function_int Function %33
%x_112_phi = OpVariable %_ptr_Function_int Function %33
%x_263_phi = OpVariable %_ptr_Function_float Function %29
%x_100 = OpVariable %_ptr_Function_int Function %33
%x_98 = OpVariable %_ptr_Function_int Function %33
%x_96 = OpVariable %_ptr_Function_int Function %33
%x_94 = OpVariable %_ptr_Function_int Function %33
%x_92 = OpVariable %_ptr_Function_int Function %33
%x_90 = OpVariable %_ptr_Function_int Function %33
%x_88 = OpVariable %_ptr_Function_int Function %33
%x_86 = OpVariable %_ptr_Function_int Function %33
%x_84 = OpVariable %_ptr_Function_int Function %33
%x_82 = OpVariable %_ptr_Function_int Function %33
%x_64_phi = OpVariable %_ptr_Function_int Function %33
%x_104 = OpVariable %_ptr_Function_int Function %33
%x_113 = OpVariable %_ptr_Function_int Function %33
%x_119_phi = OpVariable %_ptr_Function_int Function %33
%x_131 = OpVariable %_ptr_Function_int Function %33
%x_136 = OpVariable %_ptr_Function_int Function %33
%x_131_phi = OpVariable %_ptr_Function_int Function %33
%x_134_phi = OpVariable %_ptr_Function_int Function %33
%x_136_phi = OpVariable %_ptr_Function_int Function %33
%x_158_phi = OpVariable %_ptr_Function_int Function %33
%x_161_phi = OpVariable %_ptr_Function_int Function %33
%x_171_phi = OpVariable %_ptr_Function_int Function %33
%x_151 = OpVariable %_ptr_Function_int Function %33
%x_154 = OpVariable %_ptr_Function_int Function %33
%x_135_phi = OpVariable %_ptr_Function_int Function %33
%x_137_phi = OpVariable %_ptr_Function_int Function %33
%x_159 = OpVariable %_ptr_Function_int Function %33
%x_162 = OpVariable %_ptr_Function_int Function %33
%x_172 = OpVariable %_ptr_Function_int Function %33
%x_181 = OpVariable %_ptr_Function_int Function %33
%x_199 = OpVariable %_ptr_Function_float Function %29
%x_261 = OpVariable %_ptr_Function_float Function %29
%x_262_phi = OpVariable %_ptr_Function_float Function %29
%x_208 = OpVariable %_ptr_Function_float Function %29
%x_260 = OpVariable %_ptr_Function_float Function %29
%x_261_phi = OpVariable %_ptr_Function_float Function %29
%x_217 = OpVariable %_ptr_Function_float Function %29
%x_259 = OpVariable %_ptr_Function_float Function %29
%x_260_phi = OpVariable %_ptr_Function_float Function %29
%x_230 = OpVariable %_ptr_Function_float Function %29
%x_258 = OpVariable %_ptr_Function_float Function %29
%x_259_phi = OpVariable %_ptr_Function_float Function %29
%x_239 = OpVariable %_ptr_Function_float Function %29
%x_257 = OpVariable %_ptr_Function_float Function %29
%x_258_phi = OpVariable %_ptr_Function_float Function %29
%x_248 = OpVariable %_ptr_Function_float Function %29
%x_256 = OpVariable %_ptr_Function_float Function %29
%x_257_phi = OpVariable %_ptr_Function_float Function %29
%39 = OpAccessChain %_ptr_Uniform_float %x_8 %uint_0 %uint_0
%40 = OpLoad %float %39
%41 = OpConvertFToS %int %40
OpStore %x_63_phi %41
OpBranch %42
%42 = OpLabel
OpLoopMerge %43 %44 None
OpBranch %45
%45 = OpLabel
%57 = OpLoad %int %x_63_phi
%58 = OpLoad %_arr_int_uint_10 %data
OpStore %data %60
OpStore %data %58
%62 = OpIAdd %int %57 %int_1
OpStore %x_64_phi %62
OpSelectionMerge %63 None
OpSwitch %57 %64 9 %65 8 %66 7 %67 6 %68 5 %69 4 %70 3 %71 2 %72 1 %73 0 %74
%65 = OpLabel
%75 = OpAccessChain %_ptr_Function_int %data %57
OpStore %75 %int_n5
%77 = OpIAdd %int %57 %int_1
OpStore %x_100 %77
%78 = OpLoad %int %x_100
OpStore %x_64_phi %78
OpBranch %63
%66 = OpLabel
%79 = OpAccessChain %_ptr_Function_int %data %57
OpStore %79 %int_n4
%81 = OpIAdd %int %57 %int_1
OpStore %x_98 %81
%82 = OpLoad %int %x_98
OpStore %x_64_phi %82
OpBranch %63
%67 = OpLabel
%83 = OpAccessChain %_ptr_Function_int %data %57
OpStore %83 %int_n3
%85 = OpIAdd %int %57 %int_1
OpStore %x_96 %85
%86 = OpLoad %int %x_96
OpStore %x_64_phi %86
OpBranch %63
%68 = OpLabel
%87 = OpAccessChain %_ptr_Function_int %data %57
OpStore %87 %int_n2
%89 = OpIAdd %int %57 %int_1
OpStore %x_94 %89
%90 = OpLoad %int %x_94
OpStore %x_64_phi %90
OpBranch %63
%69 = OpLabel
%91 = OpAccessChain %_ptr_Function_int %data %57
OpStore %91 %int_n1
%93 = OpIAdd %int %57 %int_1
OpStore %x_92 %93
%94 = OpLoad %int %x_92
OpStore %x_64_phi %94
OpBranch %63
%70 = OpLabel
%95 = OpAccessChain %_ptr_Function_int %data %57
OpStore %95 %int_0
%96 = OpIAdd %int %57 %int_1
OpStore %x_90 %96
%97 = OpLoad %int %x_90
OpStore %x_64_phi %97
OpBranch %63
%71 = OpLabel
%98 = OpAccessChain %_ptr_Function_int %data %57
OpStore %98 %int_1
%99 = OpIAdd %int %57 %int_1
OpStore %x_88 %99
%100 = OpLoad %int %x_88
OpStore %x_64_phi %100
OpBranch %63
%72 = OpLabel
%101 = OpAccessChain %_ptr_Function_int %data %57
OpStore %101 %int_2
%103 = OpIAdd %int %57 %int_1
OpStore %x_86 %103
%104 = OpLoad %int %x_86
OpStore %x_64_phi %104
OpBranch %63
%73 = OpLabel
%105 = OpAccessChain %_ptr_Function_int %data %57
OpStore %105 %int_3
%107 = OpIAdd %int %57 %int_1
OpStore %x_84 %107
%108 = OpLoad %int %x_84
OpStore %x_64_phi %108
OpBranch %63
%74 = OpLabel
%109 = OpAccessChain %_ptr_Function_int %data %57
OpStore %109 %int_4
%111 = OpIAdd %int %57 %int_1
OpStore %x_82 %111
%112 = OpLoad %int %x_82
OpStore %x_64_phi %112
OpBranch %63
%64 = OpLabel
OpBranch %63
%63 = OpLabel
%113 = OpLoad %int %x_64_phi
OpBranch %44
%44 = OpLabel
OpStore %x_63_phi %113
%115 = OpSLessThan %bool %113 %int_10
OpBranchConditional %115 %42 %43
%43 = OpLabel
OpStore %x_103_phi %int_0
OpBranch %117
%117 = OpLabel
OpLoopMerge %118 %119 None
OpBranch %120
%120 = OpLabel
%122 = OpLoad %int %x_103_phi
%123 = OpSLessThan %bool %122 %int_10
OpSelectionMerge %124 None
OpBranchConditional %123 %125 %126
%125 = OpLabel
OpBranch %124
%126 = OpLabel
OpBranch %118
%124 = OpLabel
OpBranch %119
%119 = OpLabel
%127 = OpAccessChain %_ptr_Function_int %data %122
%128 = OpLoad %int %127
%129 = OpAccessChain %_ptr_Function_int %temp %122
OpStore %129 %128
%130 = OpIAdd %int %122 %int_1
OpStore %x_104 %130
%131 = OpLoad %int %x_104
OpStore %x_103_phi %131
OpBranch %117
%118 = OpLabel
OpStore %x_112_phi %int_1
OpBranch %132
%132 = OpLabel
OpLoopMerge %133 %134 None
OpBranch %135
%135 = OpLabel
%138 = OpLoad %int %x_112_phi
%140 = OpSLessThanEqual %bool %138 %int_9
OpSelectionMerge %141 None
OpBranchConditional %140 %142 %143
%142 = OpLabel
OpBranch %141
%143 = OpLabel
OpBranch %133
%141 = OpLabel
OpStore %x_119_phi %int_0
OpBranch %144
%144 = OpLabel
OpLoopMerge %145 %146 None
OpBranch %147
%147 = OpLabel
%156 = OpLoad %int %x_119_phi
%157 = OpSLessThan %bool %156 %int_9
OpSelectionMerge %158 None
OpBranchConditional %157 %159 %160
%159 = OpLabel
OpBranch %158
%160 = OpLabel
OpBranch %145
%158 = OpLabel
%161 = OpIAdd %int %156 %138
%162 = OpISub %int %161 %int_1
%163 = OpIMul %int %int_2 %138
%164 = OpIAdd %int %156 %163
%167 = OpISub %int %164 %int_1
%165 = OpExtInst %int %166 SMin %167 %int_9
OpStore %x_131_phi %156
OpStore %x_134_phi %161
OpStore %x_136_phi %156
OpBranch %168
%168 = OpLabel
OpLoopMerge %169 %170 None
OpBranch %171
%171 = OpLabel
%176 = OpLoad %int %x_131_phi
OpStore %x_131 %176
%177 = OpLoad %int %x_134_phi
%178 = OpLoad %int %x_136_phi
OpStore %x_136 %178
%179 = OpLoad %int %x_136
%180 = OpSLessThanEqual %bool %179 %162
OpSelectionMerge %181 None
OpBranchConditional %180 %182 %181
%182 = OpLabel
%183 = OpSLessThanEqual %bool %177 %165
OpBranch %181
%181 = OpLabel
%184 = OpPhi %bool %180 %171 %183 %182
OpSelectionMerge %185 None
OpBranchConditional %184 %186 %187
%186 = OpLabel
OpBranch %185
%187 = OpLabel
OpBranch %169
%185 = OpLabel
%188 = OpLoad %int %x_136
%189 = OpAccessChain %_ptr_Function_int %data %188
%190 = OpLoad %int %189
%191 = OpAccessChain %_ptr_Function_int %data %177
%192 = OpLoad %int %191
%194 = OpLoad %int %x_131
%195 = OpCopyObject %int %int_1
%196 = OpIAdd %int %194 %195
%193 = OpCopyObject %int %196
%197 = OpSLessThan %bool %190 %192
OpSelectionMerge %198 None
OpBranchConditional %197 %199 %200
%199 = OpLabel
%202 = OpLoad %int %x_136
%203 = OpCopyObject %int %int_1
%204 = OpIAdd %int %202 %203
%201 = OpCopyObject %int %204
OpStore %x_151 %201
%205 = OpAccessChain %_ptr_Function_int %data %188
%206 = OpLoad %int %205
%207 = OpLoad %int %x_131
%208 = OpAccessChain %_ptr_Function_int %temp %207
OpStore %208 %206
OpStore %x_135_phi %177
%209 = OpLoad %int %x_151
OpStore %x_137_phi %209
OpBranch %198
%200 = OpLabel
%210 = OpIAdd %int %177 %int_1
OpStore %x_154 %210
%211 = OpAccessChain %_ptr_Function_int %data %177
%212 = OpLoad %int %211
%213 = OpLoad %int %x_131
%214 = OpAccessChain %_ptr_Function_int %temp %213
OpStore %214 %212
%215 = OpLoad %int %x_154
OpStore %x_135_phi %215
%216 = OpLoad %int %x_136
OpStore %x_137_phi %216
OpBranch %198
%198 = OpLabel
%217 = OpLoad %int %x_135_phi
%218 = OpLoad %int %x_137_phi
OpBranch %170
%170 = OpLabel
OpStore %x_131_phi %193
OpStore %x_134_phi %217
OpStore %x_136_phi %218
OpBranch %168
%169 = OpLabel
%219 = OpLoad %int %x_131
OpStore %x_158_phi %219
%220 = OpLoad %int %x_136
OpStore %x_161_phi %220
OpBranch %221
%221 = OpLabel
OpLoopMerge %222 %223 None
OpBranch %224
%224 = OpLabel
%227 = OpLoad %int %x_158_phi
%228 = OpLoad %int %x_161_phi
%229 = OpSLessThan %bool %228 %int_10
OpSelectionMerge %230 None
OpBranchConditional %229 %231 %230
%231 = OpLabel
%232 = OpSLessThanEqual %bool %228 %162
OpBranch %230
%230 = OpLabel
%233 = OpPhi %bool %229 %224 %232 %231
OpSelectionMerge %234 None
OpBranchConditional %233 %235 %236
%235 = OpLabel
OpBranch %234
%236 = OpLabel
OpBranch %222
%234 = OpLabel
OpBranch %223
%223 = OpLabel
%237 = OpIAdd %int %227 %int_1
OpStore %x_159 %237
%238 = OpIAdd %int %228 %int_1
OpStore %x_162 %238
%239 = OpAccessChain %_ptr_Function_int %data %228
%240 = OpLoad %int %239
%241 = OpAccessChain %_ptr_Function_int %temp %227
OpStore %241 %240
%242 = OpLoad %int %x_159
OpStore %x_158_phi %242
%243 = OpLoad %int %x_162
OpStore %x_161_phi %243
OpBranch %221
%222 = OpLabel
OpStore %x_171_phi %156
OpBranch %244
%244 = OpLabel
OpLoopMerge %245 %246 None
OpBranch %247
%247 = OpLabel
%249 = OpLoad %int %x_171_phi
%250 = OpSLessThanEqual %bool %249 %165
OpSelectionMerge %251 None
OpBranchConditional %250 %252 %253
%252 = OpLabel
OpBranch %251
%253 = OpLabel
OpBranch %245
%251 = OpLabel
OpBranch %246
%246 = OpLabel
%254 = OpAccessChain %_ptr_Function_int %temp %249
%255 = OpLoad %int %254
%256 = OpAccessChain %_ptr_Function_int %data %249
OpStore %256 %255
%257 = OpIAdd %int %249 %int_1
OpStore %x_172 %257
%258 = OpLoad %int %x_172
OpStore %x_171_phi %258
OpBranch %244
%245 = OpLabel
OpBranch %146
%146 = OpLabel
OpStore %x_119_phi %164
OpBranch %144
%145 = OpLabel
OpBranch %134
%134 = OpLabel
%259 = OpIMul %int %int_2 %138
OpStore %x_113 %259
%260 = OpLoad %int %x_113
OpStore %x_112_phi %260
OpBranch %132
%133 = OpLabel
%267 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%268 = OpLoad %float %267
%269 = OpConvertFToS %int %268
OpStore %x_181 %269
%270 = OpLoad %int %x_181
%272 = OpSLessThan %bool %270 %int_30
OpSelectionMerge %273 None
OpBranchConditional %272 %274 %275
%274 = OpLabel
%276 = OpAccessChain %_ptr_Function_int %data %int_0
%277 = OpLoad %int %276
%279 = OpConvertSToF %float %277
%281 = OpFMul %float %279 %float_0_100000001
%282 = OpFAdd %float %float_0_5 %281
OpStore %x_190 %282
%283 = OpLoad %float %x_190
OpStore %x_263_phi %283
OpBranch %273
%275 = OpLabel
%287 = OpLoad %int %x_181
%289 = OpSLessThan %bool %287 %int_60
OpSelectionMerge %290 None
OpBranchConditional %289 %291 %292
%291 = OpLabel
%293 = OpAccessChain %_ptr_Function_int %data %int_1
%294 = OpLoad %int %293
%295 = OpConvertSToF %float %294
%296 = OpFMul %float %295 %float_0_100000001
%297 = OpFAdd %float %float_0_5 %296
OpStore %x_199 %297
%298 = OpLoad %float %x_199
OpStore %x_262_phi %298
OpBranch %290
%292 = OpLabel
%302 = OpLoad %int %x_181
%304 = OpSLessThan %bool %302 %int_90
OpSelectionMerge %305 None
OpBranchConditional %304 %306 %307
%306 = OpLabel
%308 = OpAccessChain %_ptr_Function_int %data %int_2
%309 = OpLoad %int %308
%310 = OpConvertSToF %float %309
%311 = OpFMul %float %310 %float_0_100000001
%312 = OpFAdd %float %float_0_5 %311
OpStore %x_208 %312
%313 = OpLoad %float %x_208
OpStore %x_261_phi %313
OpBranch %305
%307 = OpLabel
%314 = OpLoad %int %x_181
%316 = OpSLessThan %bool %314 %int_120
OpSelectionMerge %317 None
OpBranchConditional %316 %318 %319
%318 = OpLabel
%320 = OpAccessChain %_ptr_Function_int %data %int_3
%321 = OpLoad %int %320
%322 = OpConvertSToF %float %321
%323 = OpFMul %float %322 %float_0_100000001
%324 = OpFAdd %float %float_0_5 %323
OpStore %x_217 %324
%325 = OpLoad %float %x_217
OpStore %x_260_phi %325
OpBranch %317
%319 = OpLabel
%329 = OpLoad %int %x_181
%331 = OpSLessThan %bool %329 %int_150
OpSelectionMerge %332 None
OpBranchConditional %331 %333 %334
%333 = OpLabel
OpKill
%334 = OpLabel
%338 = OpLoad %int %x_181
%340 = OpSLessThan %bool %338 %int_180
OpSelectionMerge %341 None
OpBranchConditional %340 %342 %343
%342 = OpLabel
%345 = OpAccessChain %_ptr_Function_int %data %int_5
%346 = OpLoad %int %345
%347 = OpConvertSToF %float %346
%348 = OpFMul %float %347 %float_0_100000001
%349 = OpFAdd %float %float_0_5 %348
OpStore %x_230 %349
%350 = OpLoad %float %x_230
OpStore %x_259_phi %350
OpBranch %341
%343 = OpLabel
%354 = OpLoad %int %x_181
%356 = OpSLessThan %bool %354 %int_210
OpSelectionMerge %357 None
OpBranchConditional %356 %358 %359
%358 = OpLabel
%361 = OpAccessChain %_ptr_Function_int %data %int_6
%362 = OpLoad %int %361
%363 = OpConvertSToF %float %362
%364 = OpFMul %float %363 %float_0_100000001
%365 = OpFAdd %float %float_0_5 %364
OpStore %x_239 %365
%366 = OpLoad %float %x_239
OpStore %x_258_phi %366
OpBranch %357
%359 = OpLabel
%367 = OpLoad %int %x_181
%369 = OpSLessThan %bool %367 %int_240
OpSelectionMerge %370 None
OpBranchConditional %369 %371 %372
%371 = OpLabel
%374 = OpAccessChain %_ptr_Function_int %data %int_7
%375 = OpLoad %int %374
%376 = OpConvertSToF %float %375
%377 = OpFMul %float %376 %float_0_100000001
%378 = OpFAdd %float %float_0_5 %377
OpStore %x_248 %378
%379 = OpLoad %float %x_248
OpStore %x_257_phi %379
OpBranch %370
%372 = OpLabel
%380 = OpLoad %int %x_181
%382 = OpSLessThan %bool %380 %int_270
OpSelectionMerge %383 None
OpBranchConditional %382 %384 %385
%384 = OpLabel
OpBranch %383
%385 = OpLabel
OpKill
%383 = OpLabel
%387 = OpAccessChain %_ptr_Function_int %data %int_8
%388 = OpLoad %int %387
%389 = OpConvertSToF %float %388
%390 = OpFMul %float %389 %float_0_100000001
%391 = OpFAdd %float %float_0_5 %390
OpStore %x_256 %391
%392 = OpLoad %float %x_256
OpStore %x_257_phi %392
OpBranch %370
%370 = OpLabel
%393 = OpLoad %float %x_257_phi
OpStore %x_257 %393
%394 = OpLoad %float %x_257
OpStore %x_258_phi %394
OpBranch %357
%357 = OpLabel
%395 = OpLoad %float %x_258_phi
OpStore %x_258 %395
%396 = OpLoad %float %x_258
OpStore %x_259_phi %396
OpBranch %341
%341 = OpLabel
%397 = OpLoad %float %x_259_phi
OpStore %x_259 %397
OpBranch %332
%332 = OpLabel
%398 = OpLoad %float %x_259
OpStore %x_260_phi %398
OpBranch %317
%317 = OpLabel
%399 = OpLoad %float %x_260_phi
OpStore %x_260 %399
%400 = OpLoad %float %x_260
OpStore %x_261_phi %400
OpBranch %305
%305 = OpLabel
%401 = OpLoad %float %x_261_phi
OpStore %x_261 %401
%402 = OpLoad %float %x_261
OpStore %x_262_phi %402
OpBranch %290
%290 = OpLabel
%403 = OpLoad %float %x_262_phi
OpStore %x_262 %403
%404 = OpLoad %float %x_262
OpStore %x_263_phi %404
OpBranch %273
%273 = OpLabel
%405 = OpLoad %float %x_263_phi
%407 = OpCompositeConstruct %v4float %405 %405 %405 %float_1
OpStore %x_GLF_color %407
OpReturn
OpFunctionEnd
%tint_symbol_3 = OpFunction %void None %408
%tint_symbol_1 = OpFunctionParameter %main_out
%412 = OpLabel
%413 = OpCompositeExtract %v4float %tint_symbol_1 0
OpStore %tint_symbol_2 %413
OpReturn
OpFunctionEnd
%main = OpFunction %void None %15
%415 = OpLabel
%416 = OpLoad %v4float %tint_symbol
OpStore %gl_FragCoord %416
%417 = OpFunctionCall %void %main_1
%419 = OpLoad %v4float %x_GLF_color
%420 = OpCompositeConstruct %main_out %419
%418 = OpFunctionCall %void %tint_symbol_3 %420
OpReturn
OpFunctionEnd