blob: 3bf7abfb7745380ae15a9ad074ab083b4610e22d [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 426
; Schema: 0
OpCapability Shader
%177 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %main "main" %tint_symbol %tint_symbol_2
OpExecutionMode %main OriginUpperLeft
OpName %data "data"
OpName %temp "temp"
OpName %buf0 "buf0"
OpMemberName %buf0 0 "injectionSwitch"
OpName %x_28 "x_28"
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 %merge_i1_i1_i1_ "merge_i1_i1_i1_"
OpName %from "from"
OpName %mid "mid"
OpName %to "to"
OpName %k "k"
OpName %i "i"
OpName %j "j"
OpName %i_1 "i_1"
OpName %mergeSort_ "mergeSort_"
OpName %low "low"
OpName %high "high"
OpName %m "m"
OpName %i_2 "i_2"
OpName %from_1 "from_1"
OpName %mid_1 "mid_1"
OpName %to_1 "to_1"
OpName %param "param"
OpName %param_1 "param_1"
OpName %param_2 "param_2"
OpName %main_1 "main_1"
OpName %i_3 "i_3"
OpName %j_1 "j_1"
OpName %grey "grey"
OpName %int_i "int_i"
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 %_arr_int_uint_10 ArrayStride 4
OpDecorate %buf0 Block
OpMemberDecorate %buf0 0 Offset 0
OpDecorate %x_28 NonWritable
OpDecorate %x_28 DescriptorSet 0
OpDecorate %x_28 Binding 0
OpDecorate %tint_symbol BuiltIn FragCoord
OpDecorate %tint_symbol_2 Location 0
OpMemberDecorate %main_out 0 Offset 0
%int = OpTypeInt 32 1
%uint = OpTypeInt 32 0
%uint_10 = OpConstant %uint 10
%_arr_int_uint_10 = OpTypeArray %int %uint_10
%_ptr_Private__arr_int_uint_10 = OpTypePointer Private %_arr_int_uint_10
%7 = OpConstantNull %_arr_int_uint_10
%data = OpVariable %_ptr_Private__arr_int_uint_10 Private %7
%temp = OpVariable %_ptr_Private__arr_int_uint_10 Private %7
%float = OpTypeFloat 32
%v2float = OpTypeVector %float 2
%buf0 = OpTypeStruct %v2float
%_ptr_Uniform_buf0 = OpTypePointer Uniform %buf0
%x_28 = OpVariable %_ptr_Uniform_buf0 Uniform
%v4float = OpTypeVector %float 4
%_ptr_Private_v4float = OpTypePointer Private %v4float
%17 = OpConstantNull %v4float
%gl_FragCoord = OpVariable %_ptr_Private_v4float Private %17
%x_GLF_color = OpVariable %_ptr_Private_v4float Private %17
%_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 %17
%void = OpTypeVoid
%_ptr_Function_int = OpTypePointer Function %int
%23 = OpTypeFunction %void %_ptr_Function_int %_ptr_Function_int %_ptr_Function_int
%32 = OpConstantNull %int
%int_1 = OpConstant %int 1
%bool = OpTypeBool
%_ptr_Private_int = OpTypePointer Private %int
%int_10 = OpConstant %int 10
%132 = OpTypeFunction %void
%int_0 = OpConstant %int 0
%int_9 = OpConstant %int 9
%int_2 = OpConstant %int 2
%_ptr_Function_float = OpTypePointer Function %float
%201 = OpConstantNull %float
%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_3 = OpConstant %int 3
%int_4 = OpConstant %int 4
%uint_1 = OpConstant %uint 1
%_ptr_Private_float = OpTypePointer Private %float
%int_30 = OpConstant %int 30
%float_0_5 = OpConstant %float 0.5
%float_10 = OpConstant %float 10
%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
%v3float = OpTypeVector %float 3
%float_1 = OpConstant %float 1
%main_out = OpTypeStruct %v4float
%413 = OpTypeFunction %void %main_out
%merge_i1_i1_i1_ = OpFunction %void None %23
%from = OpFunctionParameter %_ptr_Function_int
%mid = OpFunctionParameter %_ptr_Function_int
%to = OpFunctionParameter %_ptr_Function_int
%30 = OpLabel
%k = OpVariable %_ptr_Function_int Function %32
%i = OpVariable %_ptr_Function_int Function %32
%j = OpVariable %_ptr_Function_int Function %32
%i_1 = OpVariable %_ptr_Function_int Function %32
%37 = OpLoad %int %from
OpStore %k %37
%39 = OpLoad %int %from
OpStore %i %39
%41 = OpLoad %int %mid
%43 = OpIAdd %int %41 %int_1
OpStore %j %43
OpBranch %44
%44 = OpLabel
OpLoopMerge %45 %46 None
OpBranch %47
%47 = OpLabel
%48 = OpLoad %int %i
%50 = OpLoad %int %mid
%51 = OpLoad %int %j
%53 = OpLoad %int %to
%54 = OpSLessThanEqual %bool %48 %50
OpSelectionMerge %56 None
OpBranchConditional %54 %57 %56
%57 = OpLabel
%58 = OpSLessThanEqual %bool %51 %53
OpBranch %56
%56 = OpLabel
%59 = OpPhi %bool %54 %47 %58 %57
OpSelectionMerge %60 None
OpBranchConditional %59 %61 %62
%61 = OpLabel
OpBranch %60
%62 = OpLabel
OpBranch %45
%60 = OpLabel
%63 = OpLoad %int %i
%65 = OpAccessChain %_ptr_Private_int %data %63
%66 = OpLoad %int %65
%67 = OpLoad %int %j
%68 = OpAccessChain %_ptr_Private_int %data %67
%69 = OpLoad %int %68
%70 = OpSLessThan %bool %66 %69
OpSelectionMerge %71 None
OpBranchConditional %70 %72 %73
%72 = OpLabel
%74 = OpLoad %int %k
%75 = OpIAdd %int %74 %int_1
OpStore %k %75
%76 = OpLoad %int %i
%77 = OpIAdd %int %76 %int_1
OpStore %i %77
%78 = OpAccessChain %_ptr_Private_int %data %76
%79 = OpLoad %int %78
%80 = OpAccessChain %_ptr_Private_int %temp %74
OpStore %80 %79
OpBranch %71
%73 = OpLabel
%81 = OpLoad %int %k
%82 = OpIAdd %int %81 %int_1
OpStore %k %82
%83 = OpLoad %int %j
%84 = OpIAdd %int %83 %int_1
OpStore %j %84
%85 = OpAccessChain %_ptr_Private_int %data %83
%86 = OpLoad %int %85
%87 = OpAccessChain %_ptr_Private_int %temp %81
OpStore %87 %86
OpBranch %71
%71 = OpLabel
OpBranch %46
%46 = OpLabel
OpBranch %44
%45 = OpLabel
OpBranch %88
%88 = OpLabel
OpLoopMerge %89 %90 None
OpBranch %91
%91 = OpLabel
%92 = OpLoad %int %i
%93 = OpLoad %int %i
%95 = OpLoad %int %mid
%97 = OpSLessThan %bool %92 %int_10
OpSelectionMerge %98 None
OpBranchConditional %97 %99 %98
%99 = OpLabel
%100 = OpSLessThanEqual %bool %93 %95
OpBranch %98
%98 = OpLabel
%101 = OpPhi %bool %97 %91 %100 %99
OpSelectionMerge %102 None
OpBranchConditional %101 %103 %104
%103 = OpLabel
OpBranch %102
%104 = OpLabel
OpBranch %89
%102 = OpLabel
%105 = OpLoad %int %k
%106 = OpIAdd %int %105 %int_1
OpStore %k %106
%107 = OpLoad %int %i
%108 = OpIAdd %int %107 %int_1
OpStore %i %108
%109 = OpAccessChain %_ptr_Private_int %data %107
%110 = OpLoad %int %109
%111 = OpAccessChain %_ptr_Private_int %temp %105
OpStore %111 %110
OpBranch %90
%90 = OpLabel
OpBranch %88
%89 = OpLabel
%113 = OpLoad %int %from
OpStore %i_1 %113
OpBranch %114
%114 = OpLabel
OpLoopMerge %115 %116 None
OpBranch %117
%117 = OpLabel
%118 = OpLoad %int %i_1
%120 = OpLoad %int %to
%121 = OpSLessThanEqual %bool %118 %120
OpSelectionMerge %122 None
OpBranchConditional %121 %123 %124
%123 = OpLabel
OpBranch %122
%124 = OpLabel
OpBranch %115
%122 = OpLabel
%125 = OpLoad %int %i_1
%126 = OpLoad %int %i_1
%127 = OpAccessChain %_ptr_Private_int %temp %126
%128 = OpLoad %int %127
%129 = OpAccessChain %_ptr_Private_int %data %125
OpStore %129 %128
OpBranch %116
%116 = OpLabel
%130 = OpLoad %int %i_1
%131 = OpIAdd %int %130 %int_1
OpStore %i_1 %131
OpBranch %114
%115 = OpLabel
OpReturn
OpFunctionEnd
%mergeSort_ = OpFunction %void None %132
%134 = OpLabel
%low = OpVariable %_ptr_Function_int Function %32
%high = OpVariable %_ptr_Function_int Function %32
%m = OpVariable %_ptr_Function_int Function %32
%i_2 = OpVariable %_ptr_Function_int Function %32
%from_1 = OpVariable %_ptr_Function_int Function %32
%mid_1 = OpVariable %_ptr_Function_int Function %32
%to_1 = OpVariable %_ptr_Function_int Function %32
%param = OpVariable %_ptr_Function_int Function %32
%param_1 = OpVariable %_ptr_Function_int Function %32
%param_2 = OpVariable %_ptr_Function_int Function %32
OpStore %low %int_0
OpStore %high %int_9
OpStore %m %int_1
OpBranch %147
%147 = OpLabel
OpLoopMerge %148 %149 None
OpBranch %150
%150 = OpLabel
%151 = OpLoad %int %m
%152 = OpLoad %int %high
%153 = OpSLessThanEqual %bool %151 %152
OpSelectionMerge %154 None
OpBranchConditional %153 %155 %156
%155 = OpLabel
OpBranch %154
%156 = OpLabel
OpBranch %148
%154 = OpLabel
%157 = OpLoad %int %low
OpStore %i_2 %157
OpBranch %158
%158 = OpLabel
OpLoopMerge %159 %160 None
OpBranch %161
%161 = OpLabel
%162 = OpLoad %int %i_2
%163 = OpLoad %int %high
%164 = OpSLessThan %bool %162 %163
OpSelectionMerge %165 None
OpBranchConditional %164 %166 %167
%166 = OpLabel
OpBranch %165
%167 = OpLabel
OpBranch %159
%165 = OpLabel
%168 = OpLoad %int %i_2
OpStore %from_1 %168
%169 = OpLoad %int %i_2
%170 = OpLoad %int %m
%171 = OpIAdd %int %169 %170
%172 = OpISub %int %171 %int_1
OpStore %mid_1 %172
%173 = OpLoad %int %i_2
%174 = OpLoad %int %m
%175 = OpLoad %int %high
%179 = OpIMul %int %int_2 %174
%180 = OpIAdd %int %173 %179
%181 = OpISub %int %180 %int_1
%176 = OpExtInst %int %177 SMin %181 %175
OpStore %to_1 %176
%182 = OpLoad %int %from_1
OpStore %param %182
%183 = OpLoad %int %mid_1
OpStore %param_1 %183
%184 = OpLoad %int %to_1
OpStore %param_2 %184
%185 = OpFunctionCall %void %merge_i1_i1_i1_ %param %param_1 %param_2
OpBranch %160
%160 = OpLabel
%189 = OpLoad %int %m
%190 = OpLoad %int %i_2
%191 = OpIMul %int %int_2 %189
%192 = OpIAdd %int %190 %191
OpStore %i_2 %192
OpBranch %158
%159 = OpLabel
OpBranch %149
%149 = OpLabel
%193 = OpLoad %int %m
%194 = OpIMul %int %int_2 %193
OpStore %m %194
OpBranch %147
%148 = OpLabel
OpReturn
OpFunctionEnd
%main_1 = OpFunction %void None %132
%196 = OpLabel
%i_3 = OpVariable %_ptr_Function_int Function %32
%j_1 = OpVariable %_ptr_Function_int Function %32
%grey = OpVariable %_ptr_Function_float Function %201
%int_i = OpVariable %_ptr_Function_int Function %32
%205 = OpAccessChain %_ptr_Uniform_float %x_28 %uint_0 %uint_0
%206 = OpLoad %float %205
%207 = OpConvertFToS %int %206
OpStore %i_3 %207
OpBranch %208
%208 = OpLabel
OpLoopMerge %209 %210 None
OpBranch %211
%211 = OpLabel
%212 = OpLoad %int %i_3
OpSelectionMerge %213 None
OpSwitch %212 %214 9 %215 8 %216 7 %217 6 %218 5 %219 4 %220 3 %221 2 %222 1 %223 0 %224
%215 = OpLabel
%225 = OpLoad %int %i_3
%226 = OpAccessChain %_ptr_Private_int %data %225
OpStore %226 %int_n5
OpBranch %213
%216 = OpLabel
%228 = OpLoad %int %i_3
%229 = OpAccessChain %_ptr_Private_int %data %228
OpStore %229 %int_n4
OpBranch %213
%217 = OpLabel
%231 = OpLoad %int %i_3
%232 = OpAccessChain %_ptr_Private_int %data %231
OpStore %232 %int_n3
OpBranch %213
%218 = OpLabel
%234 = OpLoad %int %i_3
%235 = OpAccessChain %_ptr_Private_int %data %234
OpStore %235 %int_n2
OpBranch %213
%219 = OpLabel
%237 = OpLoad %int %i_3
%238 = OpAccessChain %_ptr_Private_int %data %237
OpStore %238 %int_n1
OpBranch %213
%220 = OpLabel
%240 = OpLoad %int %i_3
%241 = OpAccessChain %_ptr_Private_int %data %240
OpStore %241 %int_0
OpBranch %213
%221 = OpLabel
%242 = OpLoad %int %i_3
%243 = OpAccessChain %_ptr_Private_int %data %242
OpStore %243 %int_1
OpBranch %213
%222 = OpLabel
%244 = OpLoad %int %i_3
%245 = OpAccessChain %_ptr_Private_int %data %244
OpStore %245 %int_2
OpBranch %213
%223 = OpLabel
%246 = OpLoad %int %i_3
%247 = OpAccessChain %_ptr_Private_int %data %246
OpStore %247 %int_3
OpBranch %213
%224 = OpLabel
%249 = OpLoad %int %i_3
%250 = OpAccessChain %_ptr_Private_int %data %249
OpStore %250 %int_4
OpBranch %213
%214 = OpLabel
OpBranch %213
%213 = OpLabel
%252 = OpLoad %int %i_3
%253 = OpIAdd %int %252 %int_1
OpStore %i_3 %253
OpBranch %210
%210 = OpLabel
%254 = OpLoad %int %i_3
%255 = OpSLessThan %bool %254 %int_10
OpBranchConditional %255 %208 %209
%209 = OpLabel
OpStore %j_1 %int_0
OpBranch %256
%256 = OpLabel
OpLoopMerge %257 %258 None
OpBranch %259
%259 = OpLabel
%260 = OpLoad %int %j_1
%261 = OpSLessThan %bool %260 %int_10
OpSelectionMerge %262 None
OpBranchConditional %261 %263 %264
%263 = OpLabel
OpBranch %262
%264 = OpLabel
OpBranch %257
%262 = OpLabel
%265 = OpLoad %int %j_1
%266 = OpLoad %int %j_1
%267 = OpAccessChain %_ptr_Private_int %data %266
%268 = OpLoad %int %267
%269 = OpAccessChain %_ptr_Private_int %temp %265
OpStore %269 %268
OpBranch %258
%258 = OpLabel
%270 = OpLoad %int %j_1
%271 = OpIAdd %int %270 %int_1
OpStore %j_1 %271
OpBranch %256
%257 = OpLabel
%272 = OpFunctionCall %void %mergeSort_
%275 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%276 = OpLoad %float %275
%277 = OpConvertFToS %int %276
%279 = OpSLessThan %bool %277 %int_30
OpSelectionMerge %280 None
OpBranchConditional %279 %281 %282
%281 = OpLabel
%283 = OpAccessChain %_ptr_Private_int %data %int_0
%284 = OpLoad %int %283
%286 = OpConvertSToF %float %284
%288 = OpFDiv %float %286 %float_10
%289 = OpFAdd %float %float_0_5 %288
OpStore %grey %289
OpBranch %280
%282 = OpLabel
%290 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%291 = OpLoad %float %290
%292 = OpConvertFToS %int %291
%294 = OpSLessThan %bool %292 %int_60
OpSelectionMerge %295 None
OpBranchConditional %294 %296 %297
%296 = OpLabel
%298 = OpAccessChain %_ptr_Private_int %data %int_1
%299 = OpLoad %int %298
%300 = OpConvertSToF %float %299
%301 = OpFDiv %float %300 %float_10
%302 = OpFAdd %float %float_0_5 %301
OpStore %grey %302
OpBranch %295
%297 = OpLabel
%303 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%304 = OpLoad %float %303
%305 = OpConvertFToS %int %304
%307 = OpSLessThan %bool %305 %int_90
OpSelectionMerge %308 None
OpBranchConditional %307 %309 %310
%309 = OpLabel
%311 = OpAccessChain %_ptr_Private_int %data %int_2
%312 = OpLoad %int %311
%313 = OpConvertSToF %float %312
%314 = OpFDiv %float %313 %float_10
%315 = OpFAdd %float %float_0_5 %314
OpStore %grey %315
OpBranch %308
%310 = OpLabel
%316 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%317 = OpLoad %float %316
%318 = OpConvertFToS %int %317
%320 = OpSLessThan %bool %318 %int_120
OpSelectionMerge %321 None
OpBranchConditional %320 %322 %323
%322 = OpLabel
%324 = OpAccessChain %_ptr_Private_int %data %int_3
%325 = OpLoad %int %324
%326 = OpConvertSToF %float %325
%327 = OpFDiv %float %326 %float_10
%328 = OpFAdd %float %float_0_5 %327
OpStore %grey %328
OpBranch %321
%323 = OpLabel
%329 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%330 = OpLoad %float %329
%331 = OpConvertFToS %int %330
%333 = OpSLessThan %bool %331 %int_150
OpSelectionMerge %334 None
OpBranchConditional %333 %335 %336
%335 = OpLabel
OpStore %int_i %int_1
OpBranch %337
%337 = OpLabel
OpLoopMerge %338 %339 None
OpBranch %340
%340 = OpLabel
%341 = OpLoad %int %int_i
%342 = OpAccessChain %_ptr_Uniform_float %x_28 %uint_0 %uint_0
%343 = OpLoad %float %342
%344 = OpConvertFToS %int %343
%345 = OpSGreaterThan %bool %341 %344
OpSelectionMerge %346 None
OpBranchConditional %345 %347 %348
%347 = OpLabel
OpBranch %346
%348 = OpLabel
OpBranch %338
%346 = OpLabel
OpKill
%339 = OpLabel
OpBranch %337
%338 = OpLabel
OpBranch %334
%336 = OpLabel
%349 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%350 = OpLoad %float %349
%351 = OpConvertFToS %int %350
%353 = OpSLessThan %bool %351 %int_180
OpSelectionMerge %354 None
OpBranchConditional %353 %355 %356
%355 = OpLabel
%358 = OpAccessChain %_ptr_Private_int %data %int_5
%359 = OpLoad %int %358
%360 = OpConvertSToF %float %359
%361 = OpFDiv %float %360 %float_10
%362 = OpFAdd %float %float_0_5 %361
OpStore %grey %362
OpBranch %354
%356 = OpLabel
%363 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%364 = OpLoad %float %363
%365 = OpConvertFToS %int %364
%367 = OpSLessThan %bool %365 %int_210
OpSelectionMerge %368 None
OpBranchConditional %367 %369 %370
%369 = OpLabel
%372 = OpAccessChain %_ptr_Private_int %data %int_6
%373 = OpLoad %int %372
%374 = OpConvertSToF %float %373
%375 = OpFDiv %float %374 %float_10
%376 = OpFAdd %float %float_0_5 %375
OpStore %grey %376
OpBranch %368
%370 = OpLabel
%377 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%378 = OpLoad %float %377
%379 = OpConvertFToS %int %378
%381 = OpSLessThan %bool %379 %int_240
OpSelectionMerge %382 None
OpBranchConditional %381 %383 %384
%383 = OpLabel
%386 = OpAccessChain %_ptr_Private_int %data %int_7
%387 = OpLoad %int %386
%388 = OpConvertSToF %float %387
%389 = OpFDiv %float %388 %float_10
%390 = OpFAdd %float %float_0_5 %389
OpStore %grey %390
OpBranch %382
%384 = OpLabel
%391 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%392 = OpLoad %float %391
%393 = OpConvertFToS %int %392
%395 = OpSLessThan %bool %393 %int_270
OpSelectionMerge %396 None
OpBranchConditional %395 %397 %398
%397 = OpLabel
%400 = OpAccessChain %_ptr_Private_int %data %int_8
%401 = OpLoad %int %400
%402 = OpConvertSToF %float %401
%403 = OpFDiv %float %402 %float_10
%404 = OpFAdd %float %float_0_5 %403
OpStore %grey %404
OpBranch %396
%398 = OpLabel
OpKill
%396 = OpLabel
OpBranch %382
%382 = OpLabel
OpBranch %368
%368 = OpLabel
OpBranch %354
%354 = OpLabel
OpBranch %334
%334 = OpLabel
OpBranch %321
%321 = OpLabel
OpBranch %308
%308 = OpLabel
OpBranch %295
%295 = OpLabel
OpBranch %280
%280 = OpLabel
%405 = OpLoad %float %grey
%407 = OpCompositeConstruct %v3float %405 %405 %405
%408 = OpCompositeExtract %float %407 0
%409 = OpCompositeExtract %float %407 1
%410 = OpCompositeExtract %float %407 2
%412 = OpCompositeConstruct %v4float %408 %409 %410 %float_1
OpStore %x_GLF_color %412
OpReturn
OpFunctionEnd
%tint_symbol_3 = OpFunction %void None %413
%tint_symbol_1 = OpFunctionParameter %main_out
%417 = OpLabel
%418 = OpCompositeExtract %v4float %tint_symbol_1 0
OpStore %tint_symbol_2 %418
OpReturn
OpFunctionEnd
%main = OpFunction %void None %132
%420 = OpLabel
%421 = OpLoad %v4float %tint_symbol
OpStore %gl_FragCoord %421
%422 = OpFunctionCall %void %main_1
%424 = OpLoad %v4float %x_GLF_color
%425 = OpCompositeConstruct %main_out %424
%423 = OpFunctionCall %void %tint_symbol_3 %425
OpReturn
OpFunctionEnd