blob: 4e098fd0845e1c69f7fa48e966d04888f2be0f54 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 419
; Schema: 0
OpCapability Shader
%164 = 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_189 "x_189"
OpName %x_261 "x_261"
OpName %x_63_phi "x_63_phi"
OpName %x_102_phi "x_102_phi"
OpName %x_111_phi "x_111_phi"
OpName %x_262_phi "x_262_phi"
OpName %x_99 "x_99"
OpName %x_97 "x_97"
OpName %x_95 "x_95"
OpName %x_93 "x_93"
OpName %x_91 "x_91"
OpName %x_89 "x_89"
OpName %x_87 "x_87"
OpName %x_85 "x_85"
OpName %x_83 "x_83"
OpName %x_81 "x_81"
OpName %x_64_phi "x_64_phi"
OpName %x_103 "x_103"
OpName %x_112 "x_112"
OpName %x_118_phi "x_118_phi"
OpName %x_130 "x_130"
OpName %x_135 "x_135"
OpName %x_130_phi "x_130_phi"
OpName %x_133_phi "x_133_phi"
OpName %x_135_phi "x_135_phi"
OpName %x_157_phi "x_157_phi"
OpName %x_160_phi "x_160_phi"
OpName %x_170_phi "x_170_phi"
OpName %x_150 "x_150"
OpName %x_153 "x_153"
OpName %x_134_phi "x_134_phi"
OpName %x_136_phi "x_136_phi"
OpName %x_158 "x_158"
OpName %x_161 "x_161"
OpName %x_171 "x_171"
OpName %x_180 "x_180"
OpName %x_198 "x_198"
OpName %x_260 "x_260"
OpName %x_261_phi "x_261_phi"
OpName %x_207 "x_207"
OpName %x_259 "x_259"
OpName %x_260_phi "x_260_phi"
OpName %x_216 "x_216"
OpName %x_258 "x_258"
OpName %x_259_phi "x_259_phi"
OpName %x_229 "x_229"
OpName %x_257 "x_257"
OpName %x_258_phi "x_258_phi"
OpName %x_238 "x_238"
OpName %x_256 "x_256"
OpName %x_257_phi "x_257_phi"
OpName %x_247 "x_247"
OpName %x_255 "x_255"
OpName %x_256_phi "x_256_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_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_0 = OpConstant %int 0
%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
%406 = 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_189 = OpVariable %_ptr_Function_float Function %29
%x_261 = OpVariable %_ptr_Function_float Function %29
%x_63_phi = OpVariable %_ptr_Function_int Function %33
%x_102_phi = OpVariable %_ptr_Function_int Function %33
%x_111_phi = OpVariable %_ptr_Function_int Function %33
%x_262_phi = OpVariable %_ptr_Function_float Function %29
%x_99 = OpVariable %_ptr_Function_int Function %33
%x_97 = OpVariable %_ptr_Function_int Function %33
%x_95 = OpVariable %_ptr_Function_int Function %33
%x_93 = OpVariable %_ptr_Function_int Function %33
%x_91 = OpVariable %_ptr_Function_int Function %33
%x_89 = OpVariable %_ptr_Function_int Function %33
%x_87 = OpVariable %_ptr_Function_int Function %33
%x_85 = OpVariable %_ptr_Function_int Function %33
%x_83 = OpVariable %_ptr_Function_int Function %33
%x_81 = OpVariable %_ptr_Function_int Function %33
%x_64_phi = OpVariable %_ptr_Function_int Function %33
%x_103 = OpVariable %_ptr_Function_int Function %33
%x_112 = OpVariable %_ptr_Function_int Function %33
%x_118_phi = OpVariable %_ptr_Function_int Function %33
%x_130 = OpVariable %_ptr_Function_int Function %33
%x_135 = OpVariable %_ptr_Function_int Function %33
%x_130_phi = OpVariable %_ptr_Function_int Function %33
%x_133_phi = OpVariable %_ptr_Function_int Function %33
%x_135_phi = OpVariable %_ptr_Function_int Function %33
%x_157_phi = OpVariable %_ptr_Function_int Function %33
%x_160_phi = OpVariable %_ptr_Function_int Function %33
%x_170_phi = OpVariable %_ptr_Function_int Function %33
%x_150 = OpVariable %_ptr_Function_int Function %33
%x_153 = 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 = OpVariable %_ptr_Function_int Function %33
%x_161 = OpVariable %_ptr_Function_int Function %33
%x_171 = OpVariable %_ptr_Function_int Function %33
%x_180 = OpVariable %_ptr_Function_int Function %33
%x_198 = OpVariable %_ptr_Function_float Function %29
%x_260 = OpVariable %_ptr_Function_float Function %29
%x_261_phi = OpVariable %_ptr_Function_float Function %29
%x_207 = OpVariable %_ptr_Function_float Function %29
%x_259 = OpVariable %_ptr_Function_float Function %29
%x_260_phi = OpVariable %_ptr_Function_float Function %29
%x_216 = OpVariable %_ptr_Function_float Function %29
%x_258 = OpVariable %_ptr_Function_float Function %29
%x_259_phi = OpVariable %_ptr_Function_float Function %29
%x_229 = OpVariable %_ptr_Function_float Function %29
%x_257 = OpVariable %_ptr_Function_float Function %29
%x_258_phi = OpVariable %_ptr_Function_float Function %29
%x_238 = OpVariable %_ptr_Function_float Function %29
%x_256 = OpVariable %_ptr_Function_float Function %29
%x_257_phi = OpVariable %_ptr_Function_float Function %29
%x_247 = OpVariable %_ptr_Function_float Function %29
%x_255 = OpVariable %_ptr_Function_float Function %29
%x_256_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
%59 = OpIAdd %int %57 %int_1
OpStore %x_64_phi %59
OpSelectionMerge %60 None
OpSwitch %57 %61 9 %62 8 %63 7 %64 6 %65 5 %66 4 %67 3 %68 2 %69 1 %70 0 %71
%62 = OpLabel
%72 = OpAccessChain %_ptr_Function_int %data %57
OpStore %72 %int_n5
%74 = OpIAdd %int %57 %int_1
OpStore %x_99 %74
%75 = OpLoad %int %x_99
OpStore %x_64_phi %75
OpBranch %60
%63 = OpLabel
%76 = OpAccessChain %_ptr_Function_int %data %57
OpStore %76 %int_n4
%78 = OpIAdd %int %57 %int_1
OpStore %x_97 %78
%79 = OpLoad %int %x_97
OpStore %x_64_phi %79
OpBranch %60
%64 = OpLabel
%80 = OpAccessChain %_ptr_Function_int %data %57
OpStore %80 %int_n3
%82 = OpIAdd %int %57 %int_1
OpStore %x_95 %82
%83 = OpLoad %int %x_95
OpStore %x_64_phi %83
OpBranch %60
%65 = OpLabel
%84 = OpAccessChain %_ptr_Function_int %data %57
OpStore %84 %int_n2
%86 = OpIAdd %int %57 %int_1
OpStore %x_93 %86
%87 = OpLoad %int %x_93
OpStore %x_64_phi %87
OpBranch %60
%66 = OpLabel
%88 = OpAccessChain %_ptr_Function_int %data %57
OpStore %88 %int_n1
%90 = OpIAdd %int %57 %int_1
OpStore %x_91 %90
%91 = OpLoad %int %x_91
OpStore %x_64_phi %91
OpBranch %60
%67 = OpLabel
%92 = OpAccessChain %_ptr_Function_int %data %57
OpStore %92 %int_0
%94 = OpIAdd %int %57 %int_1
OpStore %x_89 %94
%95 = OpLoad %int %x_89
OpStore %x_64_phi %95
OpBranch %60
%68 = OpLabel
%96 = OpAccessChain %_ptr_Function_int %data %57
OpStore %96 %int_1
%97 = OpIAdd %int %57 %int_1
OpStore %x_87 %97
%98 = OpLoad %int %x_87
OpStore %x_64_phi %98
OpBranch %60
%69 = OpLabel
%99 = OpAccessChain %_ptr_Function_int %data %57
OpStore %99 %int_2
%101 = OpIAdd %int %57 %int_1
OpStore %x_85 %101
%102 = OpLoad %int %x_85
OpStore %x_64_phi %102
OpBranch %60
%70 = OpLabel
%103 = OpAccessChain %_ptr_Function_int %data %57
OpStore %103 %int_3
%105 = OpIAdd %int %57 %int_1
OpStore %x_83 %105
%106 = OpLoad %int %x_83
OpStore %x_64_phi %106
OpBranch %60
%71 = OpLabel
%107 = OpAccessChain %_ptr_Function_int %data %57
OpStore %107 %int_4
%109 = OpIAdd %int %57 %int_1
OpStore %x_81 %109
%110 = OpLoad %int %x_81
OpStore %x_64_phi %110
OpBranch %60
%61 = OpLabel
OpBranch %60
%60 = OpLabel
%111 = OpLoad %int %x_64_phi
OpBranch %44
%44 = OpLabel
OpStore %x_63_phi %111
%113 = OpSLessThan %bool %111 %int_10
OpBranchConditional %113 %42 %43
%43 = OpLabel
OpStore %x_102_phi %int_0
OpBranch %115
%115 = OpLabel
OpLoopMerge %116 %117 None
OpBranch %118
%118 = OpLabel
%120 = OpLoad %int %x_102_phi
%121 = OpSLessThan %bool %120 %int_10
OpSelectionMerge %122 None
OpBranchConditional %121 %123 %124
%123 = OpLabel
OpBranch %122
%124 = OpLabel
OpBranch %116
%122 = OpLabel
OpBranch %117
%117 = OpLabel
%125 = OpAccessChain %_ptr_Function_int %data %120
%126 = OpLoad %int %125
%127 = OpAccessChain %_ptr_Function_int %temp %120
OpStore %127 %126
%128 = OpIAdd %int %120 %int_1
OpStore %x_103 %128
%129 = OpLoad %int %x_103
OpStore %x_102_phi %129
OpBranch %115
%116 = OpLabel
OpStore %x_111_phi %int_1
OpBranch %130
%130 = OpLabel
OpLoopMerge %131 %132 None
OpBranch %133
%133 = OpLabel
%136 = OpLoad %int %x_111_phi
%138 = OpSLessThanEqual %bool %136 %int_9
OpSelectionMerge %139 None
OpBranchConditional %138 %140 %141
%140 = OpLabel
OpBranch %139
%141 = OpLabel
OpBranch %131
%139 = OpLabel
OpStore %x_118_phi %int_0
OpBranch %142
%142 = OpLabel
OpLoopMerge %143 %144 None
OpBranch %145
%145 = OpLabel
%154 = OpLoad %int %x_118_phi
%155 = OpSLessThan %bool %154 %int_9
OpSelectionMerge %156 None
OpBranchConditional %155 %157 %158
%157 = OpLabel
OpBranch %156
%158 = OpLabel
OpBranch %143
%156 = OpLabel
%159 = OpIAdd %int %154 %136
%160 = OpISub %int %159 %int_1
%161 = OpIMul %int %int_2 %136
%162 = OpIAdd %int %154 %161
%165 = OpISub %int %162 %int_1
%163 = OpExtInst %int %164 SMin %165 %int_9
OpStore %x_130_phi %154
OpStore %x_133_phi %159
OpStore %x_135_phi %154
OpBranch %166
%166 = OpLabel
OpLoopMerge %167 %168 None
OpBranch %169
%169 = OpLabel
%174 = OpLoad %int %x_130_phi
OpStore %x_130 %174
%175 = OpLoad %int %x_133_phi
%176 = OpLoad %int %x_135_phi
OpStore %x_135 %176
%177 = OpLoad %int %x_135
%178 = OpSLessThanEqual %bool %177 %160
OpSelectionMerge %179 None
OpBranchConditional %178 %180 %179
%180 = OpLabel
%181 = OpSLessThanEqual %bool %175 %163
OpBranch %179
%179 = OpLabel
%182 = OpPhi %bool %178 %169 %181 %180
OpSelectionMerge %183 None
OpBranchConditional %182 %184 %185
%184 = OpLabel
OpBranch %183
%185 = OpLabel
OpBranch %167
%183 = OpLabel
%186 = OpLoad %int %x_135
%187 = OpAccessChain %_ptr_Function_int %data %186
%188 = OpLoad %int %187
%189 = OpAccessChain %_ptr_Function_int %data %175
%190 = OpLoad %int %189
%192 = OpLoad %int %x_130
%193 = OpCopyObject %int %int_1
%194 = OpIAdd %int %192 %193
%191 = OpCopyObject %int %194
%195 = OpSLessThan %bool %188 %190
OpSelectionMerge %196 None
OpBranchConditional %195 %197 %198
%197 = OpLabel
%200 = OpLoad %int %x_135
%201 = OpCopyObject %int %int_1
%202 = OpIAdd %int %200 %201
%199 = OpCopyObject %int %202
OpStore %x_150 %199
%203 = OpAccessChain %_ptr_Function_int %data %186
%204 = OpLoad %int %203
%205 = OpLoad %int %x_130
%206 = OpAccessChain %_ptr_Function_int %temp %205
OpStore %206 %204
OpStore %x_134_phi %175
%207 = OpLoad %int %x_150
OpStore %x_136_phi %207
OpBranch %196
%198 = OpLabel
%208 = OpIAdd %int %175 %int_1
OpStore %x_153 %208
%209 = OpAccessChain %_ptr_Function_int %data %175
%210 = OpLoad %int %209
%211 = OpLoad %int %x_130
%212 = OpAccessChain %_ptr_Function_int %temp %211
OpStore %212 %210
%213 = OpLoad %int %x_153
OpStore %x_134_phi %213
%214 = OpLoad %int %x_135
OpStore %x_136_phi %214
OpBranch %196
%196 = OpLabel
%215 = OpLoad %int %x_134_phi
%216 = OpLoad %int %x_136_phi
OpBranch %168
%168 = OpLabel
OpStore %x_130_phi %191
OpStore %x_133_phi %215
OpStore %x_135_phi %216
OpBranch %166
%167 = OpLabel
%217 = OpLoad %int %x_130
OpStore %x_157_phi %217
%218 = OpLoad %int %x_135
OpStore %x_160_phi %218
OpBranch %219
%219 = OpLabel
OpLoopMerge %220 %221 None
OpBranch %222
%222 = OpLabel
%225 = OpLoad %int %x_157_phi
%226 = OpLoad %int %x_160_phi
%227 = OpSLessThan %bool %226 %int_10
OpSelectionMerge %228 None
OpBranchConditional %227 %229 %228
%229 = OpLabel
%230 = OpSLessThanEqual %bool %226 %160
OpBranch %228
%228 = OpLabel
%231 = OpPhi %bool %227 %222 %230 %229
OpSelectionMerge %232 None
OpBranchConditional %231 %233 %234
%233 = OpLabel
OpBranch %232
%234 = OpLabel
OpBranch %220
%232 = OpLabel
OpBranch %221
%221 = OpLabel
%235 = OpIAdd %int %225 %int_1
OpStore %x_158 %235
%236 = OpIAdd %int %226 %int_1
OpStore %x_161 %236
%237 = OpAccessChain %_ptr_Function_int %data %226
%238 = OpLoad %int %237
%239 = OpAccessChain %_ptr_Function_int %temp %225
OpStore %239 %238
%240 = OpLoad %int %x_158
OpStore %x_157_phi %240
%241 = OpLoad %int %x_161
OpStore %x_160_phi %241
OpBranch %219
%220 = OpLabel
OpStore %x_170_phi %154
OpBranch %242
%242 = OpLabel
OpLoopMerge %243 %244 None
OpBranch %245
%245 = OpLabel
%247 = OpLoad %int %x_170_phi
%248 = OpSLessThanEqual %bool %247 %163
OpSelectionMerge %249 None
OpBranchConditional %248 %250 %251
%250 = OpLabel
OpBranch %249
%251 = OpLabel
OpBranch %243
%249 = OpLabel
OpBranch %244
%244 = OpLabel
%252 = OpAccessChain %_ptr_Function_int %temp %247
%253 = OpLoad %int %252
%254 = OpAccessChain %_ptr_Function_int %data %247
OpStore %254 %253
%255 = OpIAdd %int %247 %int_1
OpStore %x_171 %255
%256 = OpLoad %int %x_171
OpStore %x_170_phi %256
OpBranch %242
%243 = OpLabel
OpBranch %144
%144 = OpLabel
OpStore %x_118_phi %162
OpBranch %142
%143 = OpLabel
OpBranch %132
%132 = OpLabel
%257 = OpIMul %int %int_2 %136
OpStore %x_112 %257
%258 = OpLoad %int %x_112
OpStore %x_111_phi %258
OpBranch %130
%131 = OpLabel
%265 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%266 = OpLoad %float %265
%267 = OpConvertFToS %int %266
OpStore %x_180 %267
%268 = OpLoad %int %x_180
%270 = OpSLessThan %bool %268 %int_30
OpSelectionMerge %271 None
OpBranchConditional %270 %272 %273
%272 = OpLabel
%274 = OpAccessChain %_ptr_Function_int %data %int_0
%275 = OpLoad %int %274
%277 = OpConvertSToF %float %275
%279 = OpFMul %float %277 %float_0_100000001
%280 = OpFAdd %float %float_0_5 %279
OpStore %x_189 %280
%281 = OpLoad %float %x_189
OpStore %x_262_phi %281
OpBranch %271
%273 = OpLabel
%285 = OpLoad %int %x_180
%287 = OpSLessThan %bool %285 %int_60
OpSelectionMerge %288 None
OpBranchConditional %287 %289 %290
%289 = OpLabel
%291 = OpAccessChain %_ptr_Function_int %data %int_1
%292 = OpLoad %int %291
%293 = OpConvertSToF %float %292
%294 = OpFMul %float %293 %float_0_100000001
%295 = OpFAdd %float %float_0_5 %294
OpStore %x_198 %295
%296 = OpLoad %float %x_198
OpStore %x_261_phi %296
OpBranch %288
%290 = OpLabel
%300 = OpLoad %int %x_180
%302 = OpSLessThan %bool %300 %int_90
OpSelectionMerge %303 None
OpBranchConditional %302 %304 %305
%304 = OpLabel
%306 = OpAccessChain %_ptr_Function_int %data %int_2
%307 = OpLoad %int %306
%308 = OpConvertSToF %float %307
%309 = OpFMul %float %308 %float_0_100000001
%310 = OpFAdd %float %float_0_5 %309
OpStore %x_207 %310
%311 = OpLoad %float %x_207
OpStore %x_260_phi %311
OpBranch %303
%305 = OpLabel
%312 = OpLoad %int %x_180
%314 = OpSLessThan %bool %312 %int_120
OpSelectionMerge %315 None
OpBranchConditional %314 %316 %317
%316 = OpLabel
%318 = OpAccessChain %_ptr_Function_int %data %int_3
%319 = OpLoad %int %318
%320 = OpConvertSToF %float %319
%321 = OpFMul %float %320 %float_0_100000001
%322 = OpFAdd %float %float_0_5 %321
OpStore %x_216 %322
%323 = OpLoad %float %x_216
OpStore %x_259_phi %323
OpBranch %315
%317 = OpLabel
%327 = OpLoad %int %x_180
%329 = OpSLessThan %bool %327 %int_150
OpSelectionMerge %330 None
OpBranchConditional %329 %331 %332
%331 = OpLabel
OpKill
%332 = OpLabel
%336 = OpLoad %int %x_180
%338 = OpSLessThan %bool %336 %int_180
OpSelectionMerge %339 None
OpBranchConditional %338 %340 %341
%340 = OpLabel
%343 = OpAccessChain %_ptr_Function_int %data %int_5
%344 = OpLoad %int %343
%345 = OpConvertSToF %float %344
%346 = OpFMul %float %345 %float_0_100000001
%347 = OpFAdd %float %float_0_5 %346
OpStore %x_229 %347
%348 = OpLoad %float %x_229
OpStore %x_258_phi %348
OpBranch %339
%341 = OpLabel
%352 = OpLoad %int %x_180
%354 = OpSLessThan %bool %352 %int_210
OpSelectionMerge %355 None
OpBranchConditional %354 %356 %357
%356 = OpLabel
%359 = OpAccessChain %_ptr_Function_int %data %int_6
%360 = OpLoad %int %359
%361 = OpConvertSToF %float %360
%362 = OpFMul %float %361 %float_0_100000001
%363 = OpFAdd %float %float_0_5 %362
OpStore %x_238 %363
%364 = OpLoad %float %x_238
OpStore %x_257_phi %364
OpBranch %355
%357 = OpLabel
%365 = OpLoad %int %x_180
%367 = OpSLessThan %bool %365 %int_240
OpSelectionMerge %368 None
OpBranchConditional %367 %369 %370
%369 = OpLabel
%372 = OpAccessChain %_ptr_Function_int %data %int_7
%373 = OpLoad %int %372
%374 = OpConvertSToF %float %373
%375 = OpFMul %float %374 %float_0_100000001
%376 = OpFAdd %float %float_0_5 %375
OpStore %x_247 %376
%377 = OpLoad %float %x_247
OpStore %x_256_phi %377
OpBranch %368
%370 = OpLabel
%378 = OpLoad %int %x_180
%380 = OpSLessThan %bool %378 %int_270
OpSelectionMerge %381 None
OpBranchConditional %380 %382 %383
%382 = OpLabel
OpBranch %381
%383 = OpLabel
OpKill
%381 = OpLabel
%385 = OpAccessChain %_ptr_Function_int %data %int_8
%386 = OpLoad %int %385
%387 = OpConvertSToF %float %386
%388 = OpFMul %float %387 %float_0_100000001
%389 = OpFAdd %float %float_0_5 %388
OpStore %x_255 %389
%390 = OpLoad %float %x_255
OpStore %x_256_phi %390
OpBranch %368
%368 = OpLabel
%391 = OpLoad %float %x_256_phi
OpStore %x_256 %391
%392 = OpLoad %float %x_256
OpStore %x_257_phi %392
OpBranch %355
%355 = OpLabel
%393 = OpLoad %float %x_257_phi
OpStore %x_257 %393
%394 = OpLoad %float %x_257
OpStore %x_258_phi %394
OpBranch %339
%339 = OpLabel
%395 = OpLoad %float %x_258_phi
OpStore %x_258 %395
OpBranch %330
%330 = OpLabel
%396 = OpLoad %float %x_258
OpStore %x_259_phi %396
OpBranch %315
%315 = OpLabel
%397 = OpLoad %float %x_259_phi
OpStore %x_259 %397
%398 = OpLoad %float %x_259
OpStore %x_260_phi %398
OpBranch %303
%303 = OpLabel
%399 = OpLoad %float %x_260_phi
OpStore %x_260 %399
%400 = OpLoad %float %x_260
OpStore %x_261_phi %400
OpBranch %288
%288 = OpLabel
%401 = OpLoad %float %x_261_phi
OpStore %x_261 %401
%402 = OpLoad %float %x_261
OpStore %x_262_phi %402
OpBranch %271
%271 = OpLabel
%403 = OpLoad %float %x_262_phi
%405 = OpCompositeConstruct %v4float %403 %403 %403 %float_1
OpStore %x_GLF_color %405
OpReturn
OpFunctionEnd
%tint_symbol_3 = OpFunction %void None %406
%tint_symbol_1 = OpFunctionParameter %main_out
%410 = OpLabel
%411 = OpCompositeExtract %v4float %tint_symbol_1 0
OpStore %tint_symbol_2 %411
OpReturn
OpFunctionEnd
%main = OpFunction %void None %15
%413 = OpLabel
%414 = OpLoad %v4float %tint_symbol
OpStore %gl_FragCoord %414
%415 = OpFunctionCall %void %main_1
%417 = OpLoad %v4float %x_GLF_color
%418 = OpCompositeConstruct %main_out %417
%416 = OpFunctionCall %void %tint_symbol_3 %418
OpReturn
OpFunctionEnd