blob: 4752288531dd159675e7f44ceee513aa0c4e8473 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 432
; Schema: 0
OpCapability Shader
%132 = 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_180 "x_180"
OpName %x_279 "x_279"
OpName %x_65_phi "x_65_phi"
OpName %x_93_phi "x_93_phi"
OpName %x_102_phi "x_102_phi"
OpName %x_280_phi "x_280_phi"
OpName %x_94 "x_94"
OpName %x_103 "x_103"
OpName %x_109_phi "x_109_phi"
OpName %x_121 "x_121"
OpName %x_126 "x_126"
OpName %x_121_phi "x_121_phi"
OpName %x_124_phi "x_124_phi"
OpName %x_126_phi "x_126_phi"
OpName %x_148_phi "x_148_phi"
OpName %x_151_phi "x_151_phi"
OpName %x_161_phi "x_161_phi"
OpName %x_141 "x_141"
OpName %x_144 "x_144"
OpName %x_125_phi "x_125_phi"
OpName %x_127_phi "x_127_phi"
OpName %x_149 "x_149"
OpName %x_152 "x_152"
OpName %x_162 "x_162"
OpName %x_171 "x_171"
OpName %x_189 "x_189"
OpName %x_278 "x_278"
OpName %x_279_phi "x_279_phi"
OpName %x_198 "x_198"
OpName %x_277 "x_277"
OpName %x_278_phi "x_278_phi"
OpName %x_207 "x_207"
OpName %x_249 "x_249"
OpName %x_277_phi "x_277_phi"
OpName %x_220 "x_220"
OpName %x_248 "x_248"
OpName %x_249_phi "x_249_phi"
OpName %x_256_phi "x_256_phi"
OpName %x_259_phi "x_259_phi"
OpName %x_229 "x_229"
OpName %x_247 "x_247"
OpName %x_248_phi "x_248_phi"
OpName %x_238 "x_238"
OpName %x_246 "x_246"
OpName %x_247_phi "x_247_phi"
OpName %x_272 "x_272"
OpName %x_260 "x_260"
OpName %x_273_phi "x_273_phi"
OpName %x_257_1 "x_257_1"
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_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_0 = OpConstant %int 0
%int_1 = 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
%_ptr_Function_v2float = OpTypePointer Function %v2float
%297 = OpConstantNull %v2float
%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
%374 = OpConstantComposite %v4float %float_1 %float_1 %float_1 %float_1
%375 = OpConstantComposite %v2float %float_1 %float_1
%int_32 = OpConstant %int 32
%float_0 = OpConstant %float 0
%main_out = OpTypeStruct %v4float
%419 = 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_180 = OpVariable %_ptr_Function_float Function %29
%x_279 = OpVariable %_ptr_Function_float Function %29
%x_65_phi = OpVariable %_ptr_Function_int Function %33
%x_93_phi = OpVariable %_ptr_Function_int Function %33
%x_102_phi = OpVariable %_ptr_Function_int Function %33
%x_280_phi = OpVariable %_ptr_Function_float Function %29
%x_94 = OpVariable %_ptr_Function_int Function %33
%x_103 = OpVariable %_ptr_Function_int Function %33
%x_109_phi = OpVariable %_ptr_Function_int Function %33
%x_121 = OpVariable %_ptr_Function_int Function %33
%x_126 = OpVariable %_ptr_Function_int Function %33
%x_121_phi = OpVariable %_ptr_Function_int Function %33
%x_124_phi = OpVariable %_ptr_Function_int Function %33
%x_126_phi = OpVariable %_ptr_Function_int Function %33
%x_148_phi = OpVariable %_ptr_Function_int Function %33
%x_151_phi = OpVariable %_ptr_Function_int Function %33
%x_161_phi = OpVariable %_ptr_Function_int Function %33
%x_141 = OpVariable %_ptr_Function_int Function %33
%x_144 = OpVariable %_ptr_Function_int Function %33
%x_125_phi = OpVariable %_ptr_Function_int Function %33
%x_127_phi = OpVariable %_ptr_Function_int Function %33
%x_149 = OpVariable %_ptr_Function_int Function %33
%x_152 = OpVariable %_ptr_Function_int Function %33
%x_162 = OpVariable %_ptr_Function_int Function %33
%x_171 = OpVariable %_ptr_Function_int Function %33
%x_189 = OpVariable %_ptr_Function_float Function %29
%x_278 = OpVariable %_ptr_Function_float Function %29
%x_279_phi = OpVariable %_ptr_Function_float Function %29
%x_198 = OpVariable %_ptr_Function_float Function %29
%x_277 = OpVariable %_ptr_Function_float Function %29
%x_278_phi = OpVariable %_ptr_Function_float Function %29
%x_207 = OpVariable %_ptr_Function_float Function %29
%x_249 = OpVariable %_ptr_Function_float Function %29
%x_277_phi = OpVariable %_ptr_Function_float Function %29
%x_220 = OpVariable %_ptr_Function_float Function %29
%x_248 = OpVariable %_ptr_Function_float Function %29
%x_249_phi = OpVariable %_ptr_Function_float Function %29
%x_256_phi = OpVariable %_ptr_Function_v2float Function %297
%x_259_phi = OpVariable %_ptr_Function_int Function %33
%x_229 = OpVariable %_ptr_Function_float Function %29
%x_247 = OpVariable %_ptr_Function_float Function %29
%x_248_phi = OpVariable %_ptr_Function_float Function %29
%x_238 = OpVariable %_ptr_Function_float Function %29
%x_246 = OpVariable %_ptr_Function_float Function %29
%x_247_phi = OpVariable %_ptr_Function_float Function %29
%x_272 = OpVariable %_ptr_Function_v2float Function %297
%x_260 = OpVariable %_ptr_Function_int Function %33
%x_273_phi = OpVariable %_ptr_Function_v2float Function %297
%x_257_1 = OpVariable %_ptr_Function_v2float Function %297
%39 = OpAccessChain %_ptr_Uniform_float %x_8 %uint_0 %uint_0
%40 = OpLoad %float %39
%41 = OpConvertFToS %int %40
OpStore %x_65_phi %41
OpBranch %42
%42 = OpLabel
OpLoopMerge %43 %44 None
OpBranch %45
%45 = OpLabel
%46 = OpLoad %int %x_65_phi
OpSelectionMerge %47 None
OpSwitch %46 %48 9 %49 8 %50 7 %51 6 %52 5 %53 4 %54 3 %55 2 %56 1 %57 0 %58
%49 = OpLabel
%59 = OpAccessChain %_ptr_Function_int %data %46
OpStore %59 %int_n5
OpBranch %47
%50 = OpLabel
%61 = OpAccessChain %_ptr_Function_int %data %46
OpStore %61 %int_n4
OpBranch %47
%51 = OpLabel
%63 = OpAccessChain %_ptr_Function_int %data %46
OpStore %63 %int_n3
OpBranch %47
%52 = OpLabel
%65 = OpAccessChain %_ptr_Function_int %data %46
OpStore %65 %int_n2
OpBranch %47
%53 = OpLabel
%67 = OpAccessChain %_ptr_Function_int %data %46
OpStore %67 %int_n1
OpBranch %47
%54 = OpLabel
%69 = OpAccessChain %_ptr_Function_int %data %46
OpStore %69 %int_0
OpBranch %47
%55 = OpLabel
%71 = OpAccessChain %_ptr_Function_int %data %46
OpStore %71 %int_1
OpBranch %47
%56 = OpLabel
%73 = OpAccessChain %_ptr_Function_int %data %46
OpStore %73 %int_2
OpBranch %47
%57 = OpLabel
%75 = OpAccessChain %_ptr_Function_int %data %46
OpStore %75 %int_3
OpBranch %47
%58 = OpLabel
%77 = OpAccessChain %_ptr_Function_int %data %46
OpStore %77 %int_4
OpBranch %47
%48 = OpLabel
OpBranch %47
%47 = OpLabel
%79 = OpIAdd %int %46 %int_1
OpBranch %44
%44 = OpLabel
OpStore %x_65_phi %79
%81 = OpSLessThan %bool %79 %int_10
OpBranchConditional %81 %42 %43
%43 = OpLabel
OpStore %x_93_phi %int_0
OpBranch %83
%83 = OpLabel
OpLoopMerge %84 %85 None
OpBranch %86
%86 = OpLabel
%88 = OpLoad %int %x_93_phi
%89 = OpSLessThan %bool %88 %int_10
OpSelectionMerge %90 None
OpBranchConditional %89 %91 %92
%91 = OpLabel
OpBranch %90
%92 = OpLabel
OpBranch %84
%90 = OpLabel
OpBranch %85
%85 = OpLabel
%93 = OpAccessChain %_ptr_Function_int %data %88
%94 = OpLoad %int %93
%95 = OpAccessChain %_ptr_Function_int %temp %88
OpStore %95 %94
%96 = OpIAdd %int %88 %int_1
OpStore %x_94 %96
%97 = OpLoad %int %x_94
OpStore %x_93_phi %97
OpBranch %83
%84 = OpLabel
OpStore %x_102_phi %int_1
OpBranch %98
%98 = OpLabel
OpLoopMerge %99 %100 None
OpBranch %101
%101 = OpLabel
%104 = OpLoad %int %x_102_phi
%106 = OpSLessThanEqual %bool %104 %int_9
OpSelectionMerge %107 None
OpBranchConditional %106 %108 %109
%108 = OpLabel
OpBranch %107
%109 = OpLabel
OpBranch %99
%107 = OpLabel
OpStore %x_109_phi %int_0
OpBranch %110
%110 = OpLabel
OpLoopMerge %111 %112 None
OpBranch %113
%113 = OpLabel
%122 = OpLoad %int %x_109_phi
%123 = OpSLessThan %bool %122 %int_9
OpSelectionMerge %124 None
OpBranchConditional %123 %125 %126
%125 = OpLabel
OpBranch %124
%126 = OpLabel
OpBranch %111
%124 = OpLabel
%127 = OpIAdd %int %122 %104
%128 = OpISub %int %127 %int_1
%129 = OpIMul %int %int_2 %104
%130 = OpIAdd %int %122 %129
%133 = OpISub %int %130 %int_1
%131 = OpExtInst %int %132 SMin %133 %int_9
OpStore %x_121_phi %122
OpStore %x_124_phi %127
OpStore %x_126_phi %122
OpBranch %134
%134 = OpLabel
OpLoopMerge %135 %136 None
OpBranch %137
%137 = OpLabel
%142 = OpLoad %int %x_121_phi
OpStore %x_121 %142
%143 = OpLoad %int %x_124_phi
%144 = OpLoad %int %x_126_phi
OpStore %x_126 %144
%145 = OpLoad %int %x_126
%146 = OpSLessThanEqual %bool %145 %128
OpSelectionMerge %147 None
OpBranchConditional %146 %148 %147
%148 = OpLabel
%149 = OpSLessThanEqual %bool %143 %131
OpBranch %147
%147 = OpLabel
%150 = OpPhi %bool %146 %137 %149 %148
OpSelectionMerge %151 None
OpBranchConditional %150 %152 %153
%152 = OpLabel
OpBranch %151
%153 = OpLabel
OpBranch %135
%151 = OpLabel
%154 = OpLoad %int %x_126
%155 = OpAccessChain %_ptr_Function_int %data %154
%156 = OpLoad %int %155
%157 = OpAccessChain %_ptr_Function_int %data %143
%158 = OpLoad %int %157
%160 = OpLoad %int %x_121
%161 = OpCopyObject %int %int_1
%162 = OpIAdd %int %160 %161
%159 = OpCopyObject %int %162
%163 = OpSLessThan %bool %156 %158
OpSelectionMerge %164 None
OpBranchConditional %163 %165 %166
%165 = OpLabel
%168 = OpLoad %int %x_126
%169 = OpCopyObject %int %int_1
%170 = OpIAdd %int %168 %169
%167 = OpCopyObject %int %170
OpStore %x_141 %167
%171 = OpAccessChain %_ptr_Function_int %data %154
%172 = OpLoad %int %171
%173 = OpLoad %int %x_121
%174 = OpAccessChain %_ptr_Function_int %temp %173
OpStore %174 %172
OpStore %x_125_phi %143
%175 = OpLoad %int %x_141
OpStore %x_127_phi %175
OpBranch %164
%166 = OpLabel
%176 = OpIAdd %int %143 %int_1
OpStore %x_144 %176
%177 = OpAccessChain %_ptr_Function_int %data %143
%178 = OpLoad %int %177
%179 = OpLoad %int %x_121
%180 = OpAccessChain %_ptr_Function_int %temp %179
OpStore %180 %178
%181 = OpLoad %int %x_144
OpStore %x_125_phi %181
%182 = OpLoad %int %x_126
OpStore %x_127_phi %182
OpBranch %164
%164 = OpLabel
%183 = OpLoad %int %x_125_phi
%184 = OpLoad %int %x_127_phi
OpBranch %136
%136 = OpLabel
OpStore %x_121_phi %159
OpStore %x_124_phi %183
OpStore %x_126_phi %184
OpBranch %134
%135 = OpLabel
%185 = OpLoad %int %x_121
OpStore %x_148_phi %185
%186 = OpLoad %int %x_126
OpStore %x_151_phi %186
OpBranch %187
%187 = OpLabel
OpLoopMerge %188 %189 None
OpBranch %190
%190 = OpLabel
%193 = OpLoad %int %x_148_phi
%194 = OpLoad %int %x_151_phi
%195 = OpSLessThan %bool %194 %int_10
OpSelectionMerge %196 None
OpBranchConditional %195 %197 %196
%197 = OpLabel
%198 = OpSLessThanEqual %bool %194 %128
OpBranch %196
%196 = OpLabel
%199 = OpPhi %bool %195 %190 %198 %197
OpSelectionMerge %200 None
OpBranchConditional %199 %201 %202
%201 = OpLabel
OpBranch %200
%202 = OpLabel
OpBranch %188
%200 = OpLabel
OpBranch %189
%189 = OpLabel
%203 = OpIAdd %int %193 %int_1
OpStore %x_149 %203
%204 = OpIAdd %int %194 %int_1
OpStore %x_152 %204
%205 = OpAccessChain %_ptr_Function_int %data %194
%206 = OpLoad %int %205
%207 = OpAccessChain %_ptr_Function_int %temp %193
OpStore %207 %206
%208 = OpLoad %int %x_149
OpStore %x_148_phi %208
%209 = OpLoad %int %x_152
OpStore %x_151_phi %209
OpBranch %187
%188 = OpLabel
OpStore %x_161_phi %122
OpBranch %210
%210 = OpLabel
OpLoopMerge %211 %212 None
OpBranch %213
%213 = OpLabel
%215 = OpLoad %int %x_161_phi
%216 = OpSLessThanEqual %bool %215 %131
OpSelectionMerge %217 None
OpBranchConditional %216 %218 %219
%218 = OpLabel
OpBranch %217
%219 = OpLabel
OpBranch %211
%217 = OpLabel
OpBranch %212
%212 = OpLabel
%220 = OpAccessChain %_ptr_Function_int %temp %215
%221 = OpLoad %int %220
%222 = OpAccessChain %_ptr_Function_int %data %215
OpStore %222 %221
%223 = OpIAdd %int %215 %int_1
OpStore %x_162 %223
%224 = OpLoad %int %x_162
OpStore %x_161_phi %224
OpBranch %210
%211 = OpLabel
OpBranch %112
%112 = OpLabel
OpStore %x_109_phi %130
OpBranch %110
%111 = OpLabel
OpBranch %100
%100 = OpLabel
%225 = OpIMul %int %int_2 %104
OpStore %x_103 %225
%226 = OpLoad %int %x_103
OpStore %x_102_phi %226
OpBranch %98
%99 = OpLabel
%233 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%234 = OpLoad %float %233
%235 = OpConvertFToS %int %234
OpStore %x_171 %235
%236 = OpLoad %int %x_171
%238 = OpSLessThan %bool %236 %int_30
OpSelectionMerge %239 None
OpBranchConditional %238 %240 %241
%240 = OpLabel
%242 = OpAccessChain %_ptr_Function_int %data %int_0
%243 = OpLoad %int %242
%245 = OpConvertSToF %float %243
%247 = OpFMul %float %245 %float_0_100000001
%248 = OpFAdd %float %float_0_5 %247
OpStore %x_180 %248
%249 = OpLoad %float %x_180
OpStore %x_280_phi %249
OpBranch %239
%241 = OpLabel
%253 = OpLoad %int %x_171
%255 = OpSLessThan %bool %253 %int_60
OpSelectionMerge %256 None
OpBranchConditional %255 %257 %258
%257 = OpLabel
%259 = OpAccessChain %_ptr_Function_int %data %int_1
%260 = OpLoad %int %259
%261 = OpConvertSToF %float %260
%262 = OpFMul %float %261 %float_0_100000001
%263 = OpFAdd %float %float_0_5 %262
OpStore %x_189 %263
%264 = OpLoad %float %x_189
OpStore %x_279_phi %264
OpBranch %256
%258 = OpLabel
%268 = OpLoad %int %x_171
%270 = OpSLessThan %bool %268 %int_90
OpSelectionMerge %271 None
OpBranchConditional %270 %272 %273
%272 = OpLabel
%274 = OpAccessChain %_ptr_Function_int %data %int_2
%275 = OpLoad %int %274
%276 = OpConvertSToF %float %275
%277 = OpFMul %float %276 %float_0_100000001
%278 = OpFAdd %float %float_0_5 %277
OpStore %x_198 %278
%279 = OpLoad %float %x_198
OpStore %x_278_phi %279
OpBranch %271
%273 = OpLabel
%280 = OpLoad %int %x_171
%282 = OpSLessThan %bool %280 %int_120
OpSelectionMerge %283 None
OpBranchConditional %282 %284 %285
%284 = OpLabel
%286 = OpAccessChain %_ptr_Function_int %data %int_3
%287 = OpLoad %int %286
%288 = OpConvertSToF %float %287
%289 = OpFMul %float %288 %float_0_100000001
%290 = OpFAdd %float %float_0_5 %289
OpStore %x_207 %290
%291 = OpLoad %float %x_207
OpStore %x_277_phi %291
OpBranch %283
%285 = OpLabel
%299 = OpLoad %int %x_171
%301 = OpSLessThan %bool %299 %int_150
OpSelectionMerge %302 None
OpBranchConditional %301 %303 %304
%303 = OpLabel
OpKill
%304 = OpLabel
%308 = OpLoad %int %x_171
%310 = OpSLessThan %bool %308 %int_180
OpSelectionMerge %311 None
OpBranchConditional %310 %312 %313
%312 = OpLabel
%315 = OpAccessChain %_ptr_Function_int %data %int_5
%316 = OpLoad %int %315
%317 = OpConvertSToF %float %316
%318 = OpFMul %float %317 %float_0_100000001
%319 = OpFAdd %float %float_0_5 %318
OpStore %x_220 %319
%320 = OpLoad %float %x_220
OpStore %x_249_phi %320
OpBranch %311
%313 = OpLabel
%324 = OpLoad %int %x_171
%326 = OpSLessThan %bool %324 %int_210
OpSelectionMerge %327 None
OpBranchConditional %326 %328 %329
%328 = OpLabel
%331 = OpAccessChain %_ptr_Function_int %data %int_6
%332 = OpLoad %int %331
%333 = OpConvertSToF %float %332
%334 = OpFMul %float %333 %float_0_100000001
%335 = OpFAdd %float %float_0_5 %334
OpStore %x_229 %335
%336 = OpLoad %float %x_229
OpStore %x_248_phi %336
OpBranch %327
%329 = OpLabel
%337 = OpLoad %int %x_171
%339 = OpSLessThan %bool %337 %int_240
OpSelectionMerge %340 None
OpBranchConditional %339 %341 %342
%341 = OpLabel
%344 = OpAccessChain %_ptr_Function_int %data %int_7
%345 = OpLoad %int %344
%346 = OpConvertSToF %float %345
%347 = OpFMul %float %346 %float_0_100000001
%348 = OpFAdd %float %float_0_5 %347
OpStore %x_238 %348
%349 = OpLoad %float %x_238
OpStore %x_247_phi %349
OpBranch %340
%342 = OpLabel
%350 = OpLoad %int %x_171
%352 = OpSLessThan %bool %350 %int_270
OpSelectionMerge %353 None
OpBranchConditional %352 %354 %355
%354 = OpLabel
OpBranch %353
%355 = OpLabel
OpKill
%353 = OpLabel
%357 = OpAccessChain %_ptr_Function_int %data %int_8
%358 = OpLoad %int %357
%359 = OpConvertSToF %float %358
%360 = OpFMul %float %359 %float_0_100000001
%361 = OpFAdd %float %float_0_5 %360
OpStore %x_246 %361
%362 = OpLoad %float %x_246
OpStore %x_247_phi %362
OpBranch %340
%340 = OpLabel
%363 = OpLoad %float %x_247_phi
OpStore %x_247 %363
%364 = OpLoad %float %x_247
OpStore %x_248_phi %364
OpBranch %327
%327 = OpLabel
%365 = OpLoad %float %x_248_phi
OpStore %x_248 %365
%366 = OpLoad %float %x_248
OpStore %x_249_phi %366
OpBranch %311
%311 = OpLabel
%367 = OpLoad %float %x_249_phi
OpStore %x_249 %367
%368 = OpAccessChain %_ptr_Uniform_float %x_8 %uint_0 %uint_1
%369 = OpLoad %float %368
%370 = OpFOrdGreaterThan %bool %40 %369
OpSelectionMerge %371 None
OpBranchConditional %370 %372 %371
%372 = OpLabel
OpStore %x_GLF_color %374
OpBranch %371
%371 = OpLabel
OpStore %x_256_phi %375
OpStore %x_259_phi %int_0
OpBranch %376
%376 = OpLabel
OpLoopMerge %377 %378 None
OpBranch %379
%379 = OpLabel
%383 = OpLoad %v2float %x_256_phi
%384 = OpLoad %int %x_259_phi
%386 = OpSLessThanEqual %bool %384 %int_32
OpSelectionMerge %387 None
OpBranchConditional %386 %388 %389
%388 = OpLabel
OpBranch %387
%389 = OpLabel
OpBranch %377
%387 = OpLabel
OpStore %x_273_phi %383
%390 = OpCompositeExtract %float %383 0
%392 = OpFOrdLessThan %bool %390 %float_0
OpSelectionMerge %393 None
OpBranchConditional %392 %394 %393
%394 = OpLabel
OpSelectionMerge %395 None
OpBranchConditional %370 %396 %395
%396 = OpLabel
OpKill
%395 = OpLabel
OpStore %x_272 %383
%397 = OpAccessChain %_ptr_Function_float %x_272 %uint_1
%398 = OpCompositeExtract %float %383 1
%399 = OpFAdd %float %398 %float_1
OpStore %397 %399
%400 = OpLoad %v2float %x_272
OpStore %x_273_phi %400
OpBranch %393
%393 = OpLabel
%401 = OpLoad %v2float %x_273_phi
OpStore %x_257_1 %401
%403 = OpAccessChain %_ptr_Function_float %x_257_1 %uint_0
%404 = OpCompositeExtract %float %401 0
%405 = OpCompositeExtract %float %401 1
%406 = OpFAdd %float %404 %405
OpStore %403 %406
%407 = OpLoad %v2float %x_257_1
OpBranch %378
%378 = OpLabel
%408 = OpIAdd %int %384 %int_1
OpStore %x_260 %408
OpStore %x_256_phi %407
%409 = OpLoad %int %x_260
OpStore %x_259_phi %409
OpBranch %376
%377 = OpLabel
OpBranch %302
%302 = OpLabel
%410 = OpLoad %float %x_249
OpStore %x_277_phi %410
OpBranch %283
%283 = OpLabel
%411 = OpLoad %float %x_277_phi
OpStore %x_277 %411
%412 = OpLoad %float %x_277
OpStore %x_278_phi %412
OpBranch %271
%271 = OpLabel
%413 = OpLoad %float %x_278_phi
OpStore %x_278 %413
%414 = OpLoad %float %x_278
OpStore %x_279_phi %414
OpBranch %256
%256 = OpLabel
%415 = OpLoad %float %x_279_phi
OpStore %x_279 %415
%416 = OpLoad %float %x_279
OpStore %x_280_phi %416
OpBranch %239
%239 = OpLabel
%417 = OpLoad %float %x_280_phi
%418 = OpCompositeConstruct %v4float %417 %417 %417 %float_1
OpStore %x_GLF_color %418
OpReturn
OpFunctionEnd
%tint_symbol_3 = OpFunction %void None %419
%tint_symbol_1 = OpFunctionParameter %main_out
%423 = OpLabel
%424 = OpCompositeExtract %v4float %tint_symbol_1 0
OpStore %tint_symbol_2 %424
OpReturn
OpFunctionEnd
%main = OpFunction %void None %15
%426 = OpLabel
%427 = OpLoad %v4float %tint_symbol
OpStore %gl_FragCoord %427
%428 = OpFunctionCall %void %main_1
%430 = OpLoad %v4float %x_GLF_color
%431 = OpCompositeConstruct %main_out %430
%429 = OpFunctionCall %void %tint_symbol_3 %431
OpReturn
OpFunctionEnd