blob: fbc9b3910c250a8452ace4e47c6af3dafd9eb493 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 420
; Schema: 0
OpCapability Shader
%180 = 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 %buf1 "buf1"
OpMemberName %buf1 0 "resolution"
OpName %x_32 "x_32"
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 %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 %buf1 Block
OpMemberDecorate %buf1 0 Offset 0
OpDecorate %x_32 NonWritable
OpDecorate %x_32 DescriptorSet 0
OpDecorate %x_32 Binding 1
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
%buf1 = OpTypeStruct %v2float
%_ptr_Uniform_buf1 = OpTypePointer Uniform %buf1
%x_32 = OpVariable %_ptr_Uniform_buf1 Uniform
%_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
%26 = OpTypeFunction %void %_ptr_Function_int %_ptr_Function_int %_ptr_Function_int
%35 = OpConstantNull %int
%int_1 = OpConstant %int 1
%bool = OpTypeBool
%_ptr_Private_int = OpTypePointer Private %int
%int_10 = OpConstant %int 10
%135 = OpTypeFunction %void
%int_0 = OpConstant %int 0
%int_9 = OpConstant %int 9
%int_2 = OpConstant %int 2
%_ptr_Function_float = OpTypePointer Function %float
%204 = OpConstantNull %float
%uint_0 = OpConstant %uint 0
%_ptr_Uniform_float = OpTypePointer Uniform %float
%int_n5 = OpConstant %int -5
%true = OpConstantTrue %bool
%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
%407 = OpTypeFunction %void %main_out
%merge_i1_i1_i1_ = OpFunction %void None %26
%from = OpFunctionParameter %_ptr_Function_int
%mid = OpFunctionParameter %_ptr_Function_int
%to = OpFunctionParameter %_ptr_Function_int
%33 = OpLabel
%k = OpVariable %_ptr_Function_int Function %35
%i = OpVariable %_ptr_Function_int Function %35
%j = OpVariable %_ptr_Function_int Function %35
%i_1 = OpVariable %_ptr_Function_int Function %35
%40 = OpLoad %int %from
OpStore %k %40
%42 = OpLoad %int %from
OpStore %i %42
%44 = OpLoad %int %mid
%46 = OpIAdd %int %44 %int_1
OpStore %j %46
OpBranch %47
%47 = OpLabel
OpLoopMerge %48 %49 None
OpBranch %50
%50 = OpLabel
%51 = OpLoad %int %i
%53 = OpLoad %int %mid
%54 = OpLoad %int %j
%56 = OpLoad %int %to
%57 = OpSLessThanEqual %bool %51 %53
OpSelectionMerge %59 None
OpBranchConditional %57 %60 %59
%60 = OpLabel
%61 = OpSLessThanEqual %bool %54 %56
OpBranch %59
%59 = OpLabel
%62 = OpPhi %bool %57 %50 %61 %60
OpSelectionMerge %63 None
OpBranchConditional %62 %64 %65
%64 = OpLabel
OpBranch %63
%65 = OpLabel
OpBranch %48
%63 = OpLabel
%66 = OpLoad %int %i
%68 = OpAccessChain %_ptr_Private_int %data %66
%69 = OpLoad %int %68
%70 = OpLoad %int %j
%71 = OpAccessChain %_ptr_Private_int %data %70
%72 = OpLoad %int %71
%73 = OpSLessThan %bool %69 %72
OpSelectionMerge %74 None
OpBranchConditional %73 %75 %76
%75 = OpLabel
%77 = OpLoad %int %k
%78 = OpIAdd %int %77 %int_1
OpStore %k %78
%79 = OpLoad %int %i
%80 = OpIAdd %int %79 %int_1
OpStore %i %80
%81 = OpAccessChain %_ptr_Private_int %data %79
%82 = OpLoad %int %81
%83 = OpAccessChain %_ptr_Private_int %temp %77
OpStore %83 %82
OpBranch %74
%76 = OpLabel
%84 = OpLoad %int %k
%85 = OpIAdd %int %84 %int_1
OpStore %k %85
%86 = OpLoad %int %j
%87 = OpIAdd %int %86 %int_1
OpStore %j %87
%88 = OpAccessChain %_ptr_Private_int %data %86
%89 = OpLoad %int %88
%90 = OpAccessChain %_ptr_Private_int %temp %84
OpStore %90 %89
OpBranch %74
%74 = OpLabel
OpBranch %49
%49 = OpLabel
OpBranch %47
%48 = OpLabel
OpBranch %91
%91 = OpLabel
OpLoopMerge %92 %93 None
OpBranch %94
%94 = OpLabel
%95 = OpLoad %int %i
%96 = OpLoad %int %i
%98 = OpLoad %int %mid
%100 = OpSLessThan %bool %95 %int_10
OpSelectionMerge %101 None
OpBranchConditional %100 %102 %101
%102 = OpLabel
%103 = OpSLessThanEqual %bool %96 %98
OpBranch %101
%101 = OpLabel
%104 = OpPhi %bool %100 %94 %103 %102
OpSelectionMerge %105 None
OpBranchConditional %104 %106 %107
%106 = OpLabel
OpBranch %105
%107 = OpLabel
OpBranch %92
%105 = OpLabel
%108 = OpLoad %int %k
%109 = OpIAdd %int %108 %int_1
OpStore %k %109
%110 = OpLoad %int %i
%111 = OpIAdd %int %110 %int_1
OpStore %i %111
%112 = OpAccessChain %_ptr_Private_int %data %110
%113 = OpLoad %int %112
%114 = OpAccessChain %_ptr_Private_int %temp %108
OpStore %114 %113
OpBranch %93
%93 = OpLabel
OpBranch %91
%92 = OpLabel
%116 = OpLoad %int %from
OpStore %i_1 %116
OpBranch %117
%117 = OpLabel
OpLoopMerge %118 %119 None
OpBranch %120
%120 = OpLabel
%121 = OpLoad %int %i_1
%123 = OpLoad %int %to
%124 = OpSLessThanEqual %bool %121 %123
OpSelectionMerge %125 None
OpBranchConditional %124 %126 %127
%126 = OpLabel
OpBranch %125
%127 = OpLabel
OpBranch %118
%125 = OpLabel
%128 = OpLoad %int %i_1
%129 = OpLoad %int %i_1
%130 = OpAccessChain %_ptr_Private_int %temp %129
%131 = OpLoad %int %130
%132 = OpAccessChain %_ptr_Private_int %data %128
OpStore %132 %131
OpBranch %119
%119 = OpLabel
%133 = OpLoad %int %i_1
%134 = OpIAdd %int %133 %int_1
OpStore %i_1 %134
OpBranch %117
%118 = OpLabel
OpReturn
OpFunctionEnd
%mergeSort_ = OpFunction %void None %135
%137 = OpLabel
%low = OpVariable %_ptr_Function_int Function %35
%high = OpVariable %_ptr_Function_int Function %35
%m = OpVariable %_ptr_Function_int Function %35
%i_2 = OpVariable %_ptr_Function_int Function %35
%from_1 = OpVariable %_ptr_Function_int Function %35
%mid_1 = OpVariable %_ptr_Function_int Function %35
%to_1 = OpVariable %_ptr_Function_int Function %35
%param = OpVariable %_ptr_Function_int Function %35
%param_1 = OpVariable %_ptr_Function_int Function %35
%param_2 = OpVariable %_ptr_Function_int Function %35
OpStore %low %int_0
OpStore %high %int_9
OpStore %m %int_1
OpBranch %150
%150 = OpLabel
OpLoopMerge %151 %152 None
OpBranch %153
%153 = OpLabel
%154 = OpLoad %int %m
%155 = OpLoad %int %high
%156 = OpSLessThanEqual %bool %154 %155
OpSelectionMerge %157 None
OpBranchConditional %156 %158 %159
%158 = OpLabel
OpBranch %157
%159 = OpLabel
OpBranch %151
%157 = OpLabel
%160 = OpLoad %int %low
OpStore %i_2 %160
OpBranch %161
%161 = OpLabel
OpLoopMerge %162 %163 None
OpBranch %164
%164 = OpLabel
%165 = OpLoad %int %i_2
%166 = OpLoad %int %high
%167 = OpSLessThan %bool %165 %166
OpSelectionMerge %168 None
OpBranchConditional %167 %169 %170
%169 = OpLabel
OpBranch %168
%170 = OpLabel
OpBranch %162
%168 = OpLabel
%171 = OpLoad %int %i_2
OpStore %from_1 %171
%172 = OpLoad %int %i_2
%173 = OpLoad %int %m
%174 = OpIAdd %int %172 %173
%175 = OpISub %int %174 %int_1
OpStore %mid_1 %175
%176 = OpLoad %int %i_2
%177 = OpLoad %int %m
%178 = OpLoad %int %high
%182 = OpIMul %int %int_2 %177
%183 = OpIAdd %int %176 %182
%184 = OpISub %int %183 %int_1
%179 = OpExtInst %int %180 SMin %184 %178
OpStore %to_1 %179
%185 = OpLoad %int %from_1
OpStore %param %185
%186 = OpLoad %int %mid_1
OpStore %param_1 %186
%187 = OpLoad %int %to_1
OpStore %param_2 %187
%188 = OpFunctionCall %void %merge_i1_i1_i1_ %param %param_1 %param_2
OpBranch %163
%163 = OpLabel
%192 = OpLoad %int %m
%193 = OpLoad %int %i_2
%194 = OpIMul %int %int_2 %192
%195 = OpIAdd %int %193 %194
OpStore %i_2 %195
OpBranch %161
%162 = OpLabel
OpBranch %152
%152 = OpLabel
%196 = OpLoad %int %m
%197 = OpIMul %int %int_2 %196
OpStore %m %197
OpBranch %150
%151 = OpLabel
OpReturn
OpFunctionEnd
%main_1 = OpFunction %void None %135
%199 = OpLabel
%i_3 = OpVariable %_ptr_Function_int Function %35
%j_1 = OpVariable %_ptr_Function_int Function %35
%grey = OpVariable %_ptr_Function_float Function %204
%207 = OpAccessChain %_ptr_Uniform_float %x_28 %uint_0 %uint_0
%208 = OpLoad %float %207
%209 = OpConvertFToS %int %208
OpStore %i_3 %209
OpBranch %210
%210 = OpLabel
OpLoopMerge %211 %212 None
OpBranch %213
%213 = OpLabel
%214 = OpLoad %int %i_3
OpSelectionMerge %215 None
OpSwitch %214 %216 9 %217 8 %218 7 %219 6 %220 5 %221 4 %222 3 %223 2 %224 1 %225 0 %226
%217 = OpLabel
%227 = OpLoad %int %i_3
%228 = OpAccessChain %_ptr_Private_int %data %227
OpStore %228 %int_n5
OpSelectionMerge %231 None
OpBranchConditional %true %232 %233
%232 = OpLabel
OpBranch %231
%233 = OpLabel
OpBranch %212
%231 = OpLabel
OpBranch %215
%218 = OpLabel
%234 = OpLoad %int %i_3
%235 = OpAccessChain %_ptr_Private_int %data %234
OpStore %235 %int_n4
OpBranch %215
%219 = OpLabel
%237 = OpLoad %int %i_3
%238 = OpAccessChain %_ptr_Private_int %data %237
OpStore %238 %int_n3
OpBranch %215
%220 = OpLabel
%240 = OpLoad %int %i_3
%241 = OpAccessChain %_ptr_Private_int %data %240
OpStore %241 %int_n2
OpBranch %215
%221 = OpLabel
%243 = OpLoad %int %i_3
%244 = OpAccessChain %_ptr_Private_int %data %243
OpStore %244 %int_n1
OpBranch %215
%222 = OpLabel
%246 = OpLoad %int %i_3
%247 = OpAccessChain %_ptr_Private_int %data %246
OpStore %247 %int_0
OpBranch %215
%223 = OpLabel
%248 = OpLoad %int %i_3
%249 = OpAccessChain %_ptr_Private_int %data %248
OpStore %249 %int_1
OpBranch %215
%224 = OpLabel
%250 = OpLoad %int %i_3
%251 = OpAccessChain %_ptr_Private_int %data %250
OpStore %251 %int_2
OpBranch %215
%225 = OpLabel
%252 = OpLoad %int %i_3
%253 = OpAccessChain %_ptr_Private_int %data %252
OpStore %253 %int_3
OpBranch %215
%226 = OpLabel
%255 = OpLoad %int %i_3
%256 = OpAccessChain %_ptr_Private_int %data %255
OpStore %256 %int_4
OpBranch %215
%216 = OpLabel
OpBranch %215
%215 = OpLabel
%258 = OpLoad %int %i_3
%259 = OpIAdd %int %258 %int_1
OpStore %i_3 %259
OpBranch %212
%212 = OpLabel
%260 = OpLoad %int %i_3
%261 = OpSLessThan %bool %260 %int_10
OpBranchConditional %261 %210 %211
%211 = OpLabel
OpStore %j_1 %int_0
OpBranch %262
%262 = OpLabel
OpLoopMerge %263 %264 None
OpBranch %265
%265 = OpLabel
%266 = OpLoad %int %j_1
%267 = OpSLessThan %bool %266 %int_10
OpSelectionMerge %268 None
OpBranchConditional %267 %269 %270
%269 = OpLabel
OpBranch %268
%270 = OpLabel
OpBranch %263
%268 = OpLabel
%271 = OpLoad %int %j_1
%272 = OpLoad %int %j_1
%273 = OpAccessChain %_ptr_Private_int %data %272
%274 = OpLoad %int %273
%275 = OpAccessChain %_ptr_Private_int %temp %271
OpStore %275 %274
OpBranch %264
%264 = OpLabel
%276 = OpLoad %int %j_1
%277 = OpIAdd %int %276 %int_1
OpStore %j_1 %277
OpBranch %262
%263 = OpLabel
%278 = OpFunctionCall %void %mergeSort_
%281 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%282 = OpLoad %float %281
%283 = OpConvertFToS %int %282
%285 = OpSLessThan %bool %283 %int_30
OpSelectionMerge %286 None
OpBranchConditional %285 %287 %288
%287 = OpLabel
%289 = OpAccessChain %_ptr_Private_int %data %int_0
%290 = OpLoad %int %289
%292 = OpConvertSToF %float %290
%294 = OpFDiv %float %292 %float_10
%295 = OpFAdd %float %float_0_5 %294
OpStore %grey %295
OpBranch %286
%288 = OpLabel
%296 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%297 = OpLoad %float %296
%298 = OpConvertFToS %int %297
%300 = OpSLessThan %bool %298 %int_60
OpSelectionMerge %301 None
OpBranchConditional %300 %302 %303
%302 = OpLabel
%304 = OpAccessChain %_ptr_Private_int %data %int_1
%305 = OpLoad %int %304
%306 = OpConvertSToF %float %305
%307 = OpFDiv %float %306 %float_10
%308 = OpFAdd %float %float_0_5 %307
OpStore %grey %308
OpBranch %301
%303 = OpLabel
%309 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%310 = OpLoad %float %309
%311 = OpConvertFToS %int %310
%313 = OpSLessThan %bool %311 %int_90
OpSelectionMerge %314 None
OpBranchConditional %313 %315 %316
%315 = OpLabel
%317 = OpAccessChain %_ptr_Private_int %data %int_2
%318 = OpLoad %int %317
%319 = OpConvertSToF %float %318
%320 = OpFDiv %float %319 %float_10
%321 = OpFAdd %float %float_0_5 %320
OpStore %grey %321
OpBranch %314
%316 = OpLabel
%322 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%323 = OpLoad %float %322
%324 = OpConvertFToS %int %323
%326 = OpSLessThan %bool %324 %int_120
OpSelectionMerge %327 None
OpBranchConditional %326 %328 %329
%328 = OpLabel
%330 = OpAccessChain %_ptr_Private_int %data %int_3
%331 = OpLoad %int %330
%332 = OpConvertSToF %float %331
%333 = OpFDiv %float %332 %float_10
%334 = OpFAdd %float %float_0_5 %333
OpStore %grey %334
OpBranch %327
%329 = OpLabel
%335 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%336 = OpLoad %float %335
%337 = OpConvertFToS %int %336
%339 = OpSLessThan %bool %337 %int_150
OpSelectionMerge %340 None
OpBranchConditional %339 %341 %342
%341 = OpLabel
OpKill
%342 = OpLabel
%343 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%344 = OpLoad %float %343
%345 = OpConvertFToS %int %344
%347 = OpSLessThan %bool %345 %int_180
OpSelectionMerge %348 None
OpBranchConditional %347 %349 %350
%349 = OpLabel
%352 = OpAccessChain %_ptr_Private_int %data %int_5
%353 = OpLoad %int %352
%354 = OpConvertSToF %float %353
%355 = OpFDiv %float %354 %float_10
%356 = OpFAdd %float %float_0_5 %355
OpStore %grey %356
OpBranch %348
%350 = OpLabel
%357 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%358 = OpLoad %float %357
%359 = OpConvertFToS %int %358
%361 = OpSLessThan %bool %359 %int_210
OpSelectionMerge %362 None
OpBranchConditional %361 %363 %364
%363 = OpLabel
%366 = OpAccessChain %_ptr_Private_int %data %int_6
%367 = OpLoad %int %366
%368 = OpConvertSToF %float %367
%369 = OpFDiv %float %368 %float_10
%370 = OpFAdd %float %float_0_5 %369
OpStore %grey %370
OpBranch %362
%364 = OpLabel
%371 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%372 = OpLoad %float %371
%373 = OpConvertFToS %int %372
%375 = OpSLessThan %bool %373 %int_240
OpSelectionMerge %376 None
OpBranchConditional %375 %377 %378
%377 = OpLabel
%380 = OpAccessChain %_ptr_Private_int %data %int_7
%381 = OpLoad %int %380
%382 = OpConvertSToF %float %381
%383 = OpFDiv %float %382 %float_10
%384 = OpFAdd %float %float_0_5 %383
OpStore %grey %384
OpBranch %376
%378 = OpLabel
%385 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%386 = OpLoad %float %385
%387 = OpConvertFToS %int %386
%389 = OpSLessThan %bool %387 %int_270
OpSelectionMerge %390 None
OpBranchConditional %389 %391 %392
%391 = OpLabel
%394 = OpAccessChain %_ptr_Private_int %data %int_8
%395 = OpLoad %int %394
%396 = OpConvertSToF %float %395
%397 = OpFDiv %float %396 %float_10
%398 = OpFAdd %float %float_0_5 %397
OpStore %grey %398
OpBranch %390
%392 = OpLabel
OpKill
%390 = OpLabel
OpBranch %376
%376 = OpLabel
OpBranch %362
%362 = OpLabel
OpBranch %348
%348 = OpLabel
OpBranch %340
%340 = OpLabel
OpBranch %327
%327 = OpLabel
OpBranch %314
%314 = OpLabel
OpBranch %301
%301 = OpLabel
OpBranch %286
%286 = OpLabel
%399 = OpLoad %float %grey
%401 = OpCompositeConstruct %v3float %399 %399 %399
%402 = OpCompositeExtract %float %401 0
%403 = OpCompositeExtract %float %401 1
%404 = OpCompositeExtract %float %401 2
%406 = OpCompositeConstruct %v4float %402 %403 %404 %float_1
OpStore %x_GLF_color %406
OpReturn
OpFunctionEnd
%tint_symbol_3 = OpFunction %void None %407
%tint_symbol_1 = OpFunctionParameter %main_out
%411 = OpLabel
%412 = OpCompositeExtract %v4float %tint_symbol_1 0
OpStore %tint_symbol_2 %412
OpReturn
OpFunctionEnd
%main = OpFunction %void None %135
%414 = OpLabel
%415 = OpLoad %v4float %tint_symbol
OpStore %gl_FragCoord %415
%416 = OpFunctionCall %void %main_1
%418 = OpLoad %v4float %x_GLF_color
%419 = OpCompositeConstruct %main_out %418
%417 = OpFunctionCall %void %tint_symbol_3 %419
OpReturn
OpFunctionEnd