blob: b7687ce19b83a678027c21713221bb77730f7168 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 422
; Schema: 0
OpCapability Shader
%187 = 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
%float_256 = OpConstant %float 256
%float_1 = OpConstant %float 1
%int_10 = OpConstant %int 10
%142 = OpTypeFunction %void
%int_0 = OpConstant %int 0
%int_9 = OpConstant %int 9
%int_2 = OpConstant %int 2
%_ptr_Function_float = OpTypePointer Function %float
%211 = 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
%main_out = OpTypeStruct %v4float
%409 = 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
%98 = OpFOrdLessThan %bool %float_256 %float_1
%95 = OpLogicalNot %bool %98
OpSelectionMerge %99 None
OpBranchConditional %95 %100 %101
%100 = OpLabel
OpBranch %99
%101 = OpLabel
OpBranch %93
%99 = OpLabel
%102 = OpLoad %int %i
%103 = OpLoad %int %i
%105 = OpLoad %int %mid
%107 = OpSLessThan %bool %102 %int_10
OpSelectionMerge %108 None
OpBranchConditional %107 %109 %108
%109 = OpLabel
%110 = OpSLessThanEqual %bool %103 %105
OpBranch %108
%108 = OpLabel
%111 = OpPhi %bool %107 %99 %110 %109
OpSelectionMerge %112 None
OpBranchConditional %111 %113 %114
%113 = OpLabel
OpBranch %112
%114 = OpLabel
OpBranch %92
%112 = OpLabel
%115 = OpLoad %int %k
%116 = OpIAdd %int %115 %int_1
OpStore %k %116
%117 = OpLoad %int %i
%118 = OpIAdd %int %117 %int_1
OpStore %i %118
%119 = OpAccessChain %_ptr_Private_int %data %117
%120 = OpLoad %int %119
%121 = OpAccessChain %_ptr_Private_int %temp %115
OpStore %121 %120
OpBranch %93
%93 = OpLabel
OpBranch %91
%92 = OpLabel
%123 = OpLoad %int %from
OpStore %i_1 %123
OpBranch %124
%124 = OpLabel
OpLoopMerge %125 %126 None
OpBranch %127
%127 = OpLabel
%128 = OpLoad %int %i_1
%130 = OpLoad %int %to
%131 = OpSLessThanEqual %bool %128 %130
OpSelectionMerge %132 None
OpBranchConditional %131 %133 %134
%133 = OpLabel
OpBranch %132
%134 = OpLabel
OpBranch %125
%132 = OpLabel
%135 = OpLoad %int %i_1
%136 = OpLoad %int %i_1
%137 = OpAccessChain %_ptr_Private_int %temp %136
%138 = OpLoad %int %137
%139 = OpAccessChain %_ptr_Private_int %data %135
OpStore %139 %138
OpBranch %126
%126 = OpLabel
%140 = OpLoad %int %i_1
%141 = OpIAdd %int %140 %int_1
OpStore %i_1 %141
OpBranch %124
%125 = OpLabel
OpReturn
OpFunctionEnd
%mergeSort_ = OpFunction %void None %142
%144 = 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 %157
%157 = OpLabel
OpLoopMerge %158 %159 None
OpBranch %160
%160 = OpLabel
%161 = OpLoad %int %m
%162 = OpLoad %int %high
%163 = OpSLessThanEqual %bool %161 %162
OpSelectionMerge %164 None
OpBranchConditional %163 %165 %166
%165 = OpLabel
OpBranch %164
%166 = OpLabel
OpBranch %158
%164 = OpLabel
%167 = OpLoad %int %low
OpStore %i_2 %167
OpBranch %168
%168 = OpLabel
OpLoopMerge %169 %170 None
OpBranch %171
%171 = OpLabel
%172 = OpLoad %int %i_2
%173 = OpLoad %int %high
%174 = OpSLessThan %bool %172 %173
OpSelectionMerge %175 None
OpBranchConditional %174 %176 %177
%176 = OpLabel
OpBranch %175
%177 = OpLabel
OpBranch %169
%175 = OpLabel
%178 = OpLoad %int %i_2
OpStore %from_1 %178
%179 = OpLoad %int %i_2
%180 = OpLoad %int %m
%181 = OpIAdd %int %179 %180
%182 = OpISub %int %181 %int_1
OpStore %mid_1 %182
%183 = OpLoad %int %i_2
%184 = OpLoad %int %m
%185 = OpLoad %int %high
%189 = OpIMul %int %int_2 %184
%190 = OpIAdd %int %183 %189
%191 = OpISub %int %190 %int_1
%186 = OpExtInst %int %187 SMin %191 %185
OpStore %to_1 %186
%192 = OpLoad %int %from_1
OpStore %param %192
%193 = OpLoad %int %mid_1
OpStore %param_1 %193
%194 = OpLoad %int %to_1
OpStore %param_2 %194
%195 = OpFunctionCall %void %merge_i1_i1_i1_ %param %param_1 %param_2
OpBranch %170
%170 = OpLabel
%199 = OpLoad %int %m
%200 = OpLoad %int %i_2
%201 = OpIMul %int %int_2 %199
%202 = OpIAdd %int %200 %201
OpStore %i_2 %202
OpBranch %168
%169 = OpLabel
OpBranch %159
%159 = OpLabel
%203 = OpLoad %int %m
%204 = OpIMul %int %int_2 %203
OpStore %m %204
OpBranch %157
%158 = OpLabel
OpReturn
OpFunctionEnd
%main_1 = OpFunction %void None %142
%206 = OpLabel
%i_3 = OpVariable %_ptr_Function_int Function %35
%j_1 = OpVariable %_ptr_Function_int Function %35
%grey = OpVariable %_ptr_Function_float Function %211
%214 = OpAccessChain %_ptr_Uniform_float %x_28 %uint_0 %uint_0
%215 = OpLoad %float %214
%216 = OpConvertFToS %int %215
OpStore %i_3 %216
OpBranch %217
%217 = OpLabel
OpLoopMerge %218 %219 None
OpBranch %220
%220 = OpLabel
%221 = OpLoad %int %i_3
OpSelectionMerge %222 None
OpSwitch %221 %223 9 %224 8 %225 7 %226 6 %227 5 %228 4 %229 3 %230 2 %231 1 %232 0 %233
%224 = OpLabel
%234 = OpLoad %int %i_3
%235 = OpAccessChain %_ptr_Private_int %data %234
OpStore %235 %int_n5
OpBranch %222
%225 = OpLabel
%237 = OpLoad %int %i_3
%238 = OpAccessChain %_ptr_Private_int %data %237
OpStore %238 %int_n4
OpBranch %222
%226 = OpLabel
%240 = OpLoad %int %i_3
%241 = OpAccessChain %_ptr_Private_int %data %240
OpStore %241 %int_n3
OpBranch %222
%227 = OpLabel
%243 = OpLoad %int %i_3
%244 = OpAccessChain %_ptr_Private_int %data %243
OpStore %244 %int_n2
OpBranch %222
%228 = OpLabel
%246 = OpLoad %int %i_3
%247 = OpAccessChain %_ptr_Private_int %data %246
OpStore %247 %int_n1
OpBranch %222
%229 = OpLabel
%249 = OpLoad %int %i_3
%250 = OpAccessChain %_ptr_Private_int %data %249
OpStore %250 %int_0
OpBranch %222
%230 = OpLabel
%251 = OpLoad %int %i_3
%252 = OpAccessChain %_ptr_Private_int %data %251
OpStore %252 %int_1
OpBranch %222
%231 = OpLabel
%253 = OpLoad %int %i_3
%254 = OpAccessChain %_ptr_Private_int %data %253
OpStore %254 %int_2
OpBranch %222
%232 = OpLabel
%255 = OpLoad %int %i_3
%256 = OpAccessChain %_ptr_Private_int %data %255
OpStore %256 %int_3
OpBranch %222
%233 = OpLabel
%258 = OpLoad %int %i_3
%259 = OpAccessChain %_ptr_Private_int %data %258
OpStore %259 %int_4
OpBranch %222
%223 = OpLabel
OpBranch %222
%222 = OpLabel
%261 = OpLoad %int %i_3
%262 = OpIAdd %int %261 %int_1
OpStore %i_3 %262
OpBranch %219
%219 = OpLabel
%263 = OpLoad %int %i_3
%264 = OpSLessThan %bool %263 %int_10
OpBranchConditional %264 %217 %218
%218 = OpLabel
OpStore %j_1 %int_0
OpBranch %265
%265 = OpLabel
OpLoopMerge %266 %267 None
OpBranch %268
%268 = OpLabel
%269 = OpLoad %int %j_1
%270 = OpSLessThan %bool %269 %int_10
OpSelectionMerge %271 None
OpBranchConditional %270 %272 %273
%272 = OpLabel
OpBranch %271
%273 = OpLabel
OpBranch %266
%271 = OpLabel
%274 = OpLoad %int %j_1
%275 = OpLoad %int %j_1
%276 = OpAccessChain %_ptr_Private_int %data %275
%277 = OpLoad %int %276
%278 = OpAccessChain %_ptr_Private_int %temp %274
OpStore %278 %277
OpBranch %267
%267 = OpLabel
%279 = OpLoad %int %j_1
%280 = OpIAdd %int %279 %int_1
OpStore %j_1 %280
OpBranch %265
%266 = OpLabel
%281 = OpFunctionCall %void %mergeSort_
%284 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%285 = OpLoad %float %284
%286 = OpConvertFToS %int %285
%288 = OpSLessThan %bool %286 %int_30
OpSelectionMerge %289 None
OpBranchConditional %288 %290 %291
%290 = OpLabel
%292 = OpAccessChain %_ptr_Private_int %data %int_0
%293 = OpLoad %int %292
%295 = OpConvertSToF %float %293
%297 = OpFDiv %float %295 %float_10
%298 = OpFAdd %float %float_0_5 %297
OpStore %grey %298
OpBranch %289
%291 = OpLabel
%299 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%300 = OpLoad %float %299
%301 = OpConvertFToS %int %300
%303 = OpSLessThan %bool %301 %int_60
OpSelectionMerge %304 None
OpBranchConditional %303 %305 %306
%305 = OpLabel
%307 = OpAccessChain %_ptr_Private_int %data %int_1
%308 = OpLoad %int %307
%309 = OpConvertSToF %float %308
%310 = OpFDiv %float %309 %float_10
%311 = OpFAdd %float %float_0_5 %310
OpStore %grey %311
OpBranch %304
%306 = OpLabel
%312 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%313 = OpLoad %float %312
%314 = OpConvertFToS %int %313
%316 = OpSLessThan %bool %314 %int_90
OpSelectionMerge %317 None
OpBranchConditional %316 %318 %319
%318 = OpLabel
%320 = OpAccessChain %_ptr_Private_int %data %int_2
%321 = OpLoad %int %320
%322 = OpConvertSToF %float %321
%323 = OpFDiv %float %322 %float_10
%324 = OpFAdd %float %float_0_5 %323
OpStore %grey %324
OpBranch %317
%319 = OpLabel
%325 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%326 = OpLoad %float %325
%327 = OpConvertFToS %int %326
%329 = OpSLessThan %bool %327 %int_120
OpSelectionMerge %330 None
OpBranchConditional %329 %331 %332
%331 = OpLabel
%333 = OpAccessChain %_ptr_Private_int %data %int_3
%334 = OpLoad %int %333
%335 = OpConvertSToF %float %334
%336 = OpFDiv %float %335 %float_10
%337 = OpFAdd %float %float_0_5 %336
OpStore %grey %337
OpBranch %330
%332 = OpLabel
%338 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%339 = OpLoad %float %338
%340 = OpConvertFToS %int %339
%342 = OpSLessThan %bool %340 %int_150
OpSelectionMerge %343 None
OpBranchConditional %342 %344 %345
%344 = OpLabel
OpKill
%345 = OpLabel
%346 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%347 = OpLoad %float %346
%348 = OpConvertFToS %int %347
%350 = OpSLessThan %bool %348 %int_180
OpSelectionMerge %351 None
OpBranchConditional %350 %352 %353
%352 = OpLabel
%355 = OpAccessChain %_ptr_Private_int %data %int_5
%356 = OpLoad %int %355
%357 = OpConvertSToF %float %356
%358 = OpFDiv %float %357 %float_10
%359 = OpFAdd %float %float_0_5 %358
OpStore %grey %359
OpBranch %351
%353 = OpLabel
%360 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%361 = OpLoad %float %360
%362 = OpConvertFToS %int %361
%364 = OpSLessThan %bool %362 %int_210
OpSelectionMerge %365 None
OpBranchConditional %364 %366 %367
%366 = OpLabel
%369 = OpAccessChain %_ptr_Private_int %data %int_6
%370 = OpLoad %int %369
%371 = OpConvertSToF %float %370
%372 = OpFDiv %float %371 %float_10
%373 = OpFAdd %float %float_0_5 %372
OpStore %grey %373
OpBranch %365
%367 = OpLabel
%374 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%375 = OpLoad %float %374
%376 = OpConvertFToS %int %375
%378 = OpSLessThan %bool %376 %int_240
OpSelectionMerge %379 None
OpBranchConditional %378 %380 %381
%380 = OpLabel
%383 = OpAccessChain %_ptr_Private_int %data %int_7
%384 = OpLoad %int %383
%385 = OpConvertSToF %float %384
%386 = OpFDiv %float %385 %float_10
%387 = OpFAdd %float %float_0_5 %386
OpStore %grey %387
OpBranch %379
%381 = OpLabel
%388 = OpAccessChain %_ptr_Private_float %gl_FragCoord %uint_1
%389 = OpLoad %float %388
%390 = OpConvertFToS %int %389
%392 = OpSLessThan %bool %390 %int_270
OpSelectionMerge %393 None
OpBranchConditional %392 %394 %395
%394 = OpLabel
%397 = OpAccessChain %_ptr_Private_int %data %int_8
%398 = OpLoad %int %397
%399 = OpConvertSToF %float %398
%400 = OpFDiv %float %399 %float_10
%401 = OpFAdd %float %float_0_5 %400
OpStore %grey %401
OpBranch %393
%395 = OpLabel
OpKill
%393 = OpLabel
OpBranch %379
%379 = OpLabel
OpBranch %365
%365 = OpLabel
OpBranch %351
%351 = OpLabel
OpBranch %343
%343 = OpLabel
OpBranch %330
%330 = OpLabel
OpBranch %317
%317 = OpLabel
OpBranch %304
%304 = OpLabel
OpBranch %289
%289 = OpLabel
%402 = OpLoad %float %grey
%404 = OpCompositeConstruct %v3float %402 %402 %402
%405 = OpCompositeExtract %float %404 0
%406 = OpCompositeExtract %float %404 1
%407 = OpCompositeExtract %float %404 2
%408 = OpCompositeConstruct %v4float %405 %406 %407 %float_1
OpStore %x_GLF_color %408
OpReturn
OpFunctionEnd
%tint_symbol_3 = OpFunction %void None %409
%tint_symbol_1 = OpFunctionParameter %main_out
%413 = OpLabel
%414 = OpCompositeExtract %v4float %tint_symbol_1 0
OpStore %tint_symbol_2 %414
OpReturn
OpFunctionEnd
%main = OpFunction %void None %142
%416 = OpLabel
%417 = OpLoad %v4float %tint_symbol
OpStore %gl_FragCoord %417
%418 = OpFunctionCall %void %main_1
%420 = OpLoad %v4float %x_GLF_color
%421 = OpCompositeConstruct %main_out %420
%419 = OpFunctionCall %void %tint_symbol_3 %421
OpReturn
OpFunctionEnd