1spv.uint.frag 2// Module Version 10000 3// Generated by (magic number): 8000a 4// Id's are bound by 213 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Fragment 4 "main" 15 68 77 206 208 210 10 ExecutionMode 4 OriginUpperLeft 11 Source ESSL 310 12 Name 4 "main" 13 Name 8 "count" 14 Name 12 "u" 15 Name 15 "t" 16 Name 55 "shiftedii" 17 Name 57 "shiftedui" 18 Name 59 "shiftediu" 19 Name 60 "shifteduu" 20 Name 68 "c" 21 Name 72 "usampler" 22 Name 77 "tc" 23 Name 111 "af" 24 Name 115 "ab" 25 Name 118 "ai" 26 Name 152 "mask1" 27 Name 154 "mask2" 28 Name 156 "mask3" 29 Name 160 "mask4" 30 Name 206 "f" 31 Name 208 "v" 32 Name 210 "i" 33 Name 212 "b" 34 Decorate 8(count) RelaxedPrecision 35 Decorate 12(u) RelaxedPrecision 36 Decorate 15(t) RelaxedPrecision 37 Decorate 15(t) Flat 38 Decorate 15(t) Location 0 39 Decorate 19 RelaxedPrecision 40 Decorate 21 RelaxedPrecision 41 Decorate 27 RelaxedPrecision 42 Decorate 28 RelaxedPrecision 43 Decorate 32 RelaxedPrecision 44 Decorate 33 RelaxedPrecision 45 Decorate 38 RelaxedPrecision 46 Decorate 39 RelaxedPrecision 47 Decorate 43 RelaxedPrecision 48 Decorate 44 RelaxedPrecision 49 Decorate 48 RelaxedPrecision 50 Decorate 49 RelaxedPrecision 51 Decorate 53 RelaxedPrecision 52 Decorate 54 RelaxedPrecision 53 Decorate 55(shiftedii) RelaxedPrecision 54 Decorate 57(shiftedui) RelaxedPrecision 55 Decorate 59(shiftediu) RelaxedPrecision 56 Decorate 60(shifteduu) RelaxedPrecision 57 Decorate 61 RelaxedPrecision 58 Decorate 62 RelaxedPrecision 59 Decorate 68(c) RelaxedPrecision 60 Decorate 68(c) Location 0 61 Decorate 72(usampler) RelaxedPrecision 62 Decorate 72(usampler) DescriptorSet 0 63 Decorate 72(usampler) Binding 0 64 Decorate 73 RelaxedPrecision 65 Decorate 77(tc) RelaxedPrecision 66 Decorate 77(tc) Location 2 67 Decorate 78 RelaxedPrecision 68 Decorate 79 RelaxedPrecision 69 Decorate 80 RelaxedPrecision 70 Decorate 81 RelaxedPrecision 71 Decorate 85 RelaxedPrecision 72 Decorate 86 RelaxedPrecision 73 Decorate 88 RelaxedPrecision 74 Decorate 89 RelaxedPrecision 75 Decorate 90 RelaxedPrecision 76 Decorate 91 RelaxedPrecision 77 Decorate 92 RelaxedPrecision 78 Decorate 97 RelaxedPrecision 79 Decorate 98 RelaxedPrecision 80 Decorate 101 RelaxedPrecision 81 Decorate 102 RelaxedPrecision 82 Decorate 105 RelaxedPrecision 83 Decorate 111(af) RelaxedPrecision 84 Decorate 112 RelaxedPrecision 85 Decorate 113 RelaxedPrecision 86 Decorate 116 RelaxedPrecision 87 Decorate 118(ai) RelaxedPrecision 88 Decorate 119 RelaxedPrecision 89 Decorate 120 RelaxedPrecision 90 Decorate 121 RelaxedPrecision 91 Decorate 122 RelaxedPrecision 92 Decorate 124 RelaxedPrecision 93 Decorate 125 RelaxedPrecision 94 Decorate 126 RelaxedPrecision 95 Decorate 127 RelaxedPrecision 96 Decorate 128 RelaxedPrecision 97 Decorate 129 RelaxedPrecision 98 Decorate 130 RelaxedPrecision 99 Decorate 131 RelaxedPrecision 100 Decorate 135 RelaxedPrecision 101 Decorate 136 RelaxedPrecision 102 Decorate 140 RelaxedPrecision 103 Decorate 141 RelaxedPrecision 104 Decorate 145 RelaxedPrecision 105 Decorate 146 RelaxedPrecision 106 Decorate 150 RelaxedPrecision 107 Decorate 151 RelaxedPrecision 108 Decorate 152(mask1) RelaxedPrecision 109 Decorate 154(mask2) RelaxedPrecision 110 Decorate 156(mask3) RelaxedPrecision 111 Decorate 157 RelaxedPrecision 112 Decorate 159 RelaxedPrecision 113 Decorate 160(mask4) RelaxedPrecision 114 Decorate 162 RelaxedPrecision 115 Decorate 163 RelaxedPrecision 116 Decorate 167 RelaxedPrecision 117 Decorate 168 RelaxedPrecision 118 Decorate 169 RelaxedPrecision 119 Decorate 170 RelaxedPrecision 120 Decorate 171 RelaxedPrecision 121 Decorate 175 RelaxedPrecision 122 Decorate 176 RelaxedPrecision 123 Decorate 177 RelaxedPrecision 124 Decorate 178 RelaxedPrecision 125 Decorate 179 RelaxedPrecision 126 Decorate 180 RelaxedPrecision 127 Decorate 184 RelaxedPrecision 128 Decorate 185 RelaxedPrecision 129 Decorate 186 RelaxedPrecision 130 Decorate 187 RelaxedPrecision 131 Decorate 188 RelaxedPrecision 132 Decorate 192 RelaxedPrecision 133 Decorate 193 RelaxedPrecision 134 Decorate 194 RelaxedPrecision 135 Decorate 195 RelaxedPrecision 136 Decorate 196 RelaxedPrecision 137 Decorate 197 RelaxedPrecision 138 Decorate 198 RelaxedPrecision 139 Decorate 202 RelaxedPrecision 140 Decorate 203 RelaxedPrecision 141 Decorate 206(f) RelaxedPrecision 142 Decorate 206(f) Location 1 143 Decorate 208(v) RelaxedPrecision 144 Decorate 208(v) Flat 145 Decorate 208(v) Location 3 146 Decorate 210(i) RelaxedPrecision 147 Decorate 210(i) Flat 148 Decorate 210(i) Location 4 149 2: TypeVoid 150 3: TypeFunction 2 151 6: TypeInt 32 1 152 7: TypePointer Function 6(int) 153 9: 6(int) Constant 1 154 10: TypeInt 32 0 155 11: TypePointer Function 10(int) 156 13: TypeVector 10(int) 2 157 14: TypePointer Input 13(ivec2) 158 15(t): 14(ptr) Variable Input 159 16: 10(int) Constant 1 160 17: TypePointer Input 10(int) 161 20: 10(int) Constant 3 162 22: TypeBool 163 23: 22(bool) ConstantTrue 164 26: 6(int) Constant 2 165 31: 6(int) Constant 3 166 34: 22(bool) ConstantFalse 167 37: 6(int) Constant 5 168 42: 6(int) Constant 7 169 47: 6(int) Constant 11 170 52: 6(int) Constant 13 171 56: 6(int) Constant 4294967295 172 58: 10(int) Constant 4194303 173 66: TypeVector 10(int) 4 174 67: TypePointer Output 66(ivec4) 175 68(c): 67(ptr) Variable Output 176 69: TypeImage 10(int) 2D sampled format:Unknown 177 70: TypeSampledImage 69 178 71: TypePointer UniformConstant 70 179 72(usampler): 71(ptr) Variable UniformConstant 180 74: TypeFloat 32 181 75: TypeVector 74(float) 2 182 76: TypePointer Input 75(fvec2) 183 77(tc): 76(ptr) Variable Input 184 87: 74(float) Constant 1065353216 185 99: 74(float) Constant 1073741824 186 100: 75(fvec2) ConstantComposite 99 99 187 103: 10(int) Constant 0 188 106: 10(int) Constant 4 189 110: TypePointer Function 74(float) 190 114: TypePointer Function 22(bool) 191 134: 6(int) Constant 17 192 139: 6(int) Constant 19 193 144: 6(int) Constant 23 194 149: 6(int) Constant 27 195 153: 10(int) Constant 161 196 155: 10(int) Constant 2576 197 158: 6(int) Constant 4 198 161: 10(int) Constant 2737 199 199: 10(int) Constant 4294967295 200 200: TypePointer Output 10(int) 201 205: TypePointer Input 74(float) 202 206(f): 205(ptr) Variable Input 203 207: TypePointer Input 66(ivec4) 204 208(v): 207(ptr) Variable Input 205 209: TypePointer Input 6(int) 206 210(i): 209(ptr) Variable Input 207 211: TypePointer Private 22(bool) 208 212(b): 211(ptr) Variable Private 209 4(main): 2 Function None 3 210 5: Label 211 8(count): 7(ptr) Variable Function 212 12(u): 11(ptr) Variable Function 213 55(shiftedii): 7(ptr) Variable Function 214 57(shiftedui): 11(ptr) Variable Function 215 59(shiftediu): 7(ptr) Variable Function 216 60(shifteduu): 11(ptr) Variable Function 217 111(af): 110(ptr) Variable Function 218 115(ab): 114(ptr) Variable Function 219 118(ai): 7(ptr) Variable Function 220 152(mask1): 11(ptr) Variable Function 221 154(mask2): 11(ptr) Variable Function 222 156(mask3): 11(ptr) Variable Function 223 160(mask4): 11(ptr) Variable Function 224 Store 8(count) 9 225 18: 17(ptr) AccessChain 15(t) 16 226 19: 10(int) Load 18 227 21: 10(int) IAdd 19 20 228 Store 12(u) 21 229 SelectionMerge 25 None 230 BranchConditional 23 24 25 231 24: Label 232 27: 6(int) Load 8(count) 233 28: 6(int) IMul 27 26 234 Store 8(count) 28 235 Branch 25 236 25: Label 237 SelectionMerge 30 None 238 BranchConditional 23 29 30 239 29: Label 240 32: 6(int) Load 8(count) 241 33: 6(int) IMul 32 31 242 Store 8(count) 33 243 Branch 30 244 30: Label 245 SelectionMerge 36 None 246 BranchConditional 34 35 36 247 35: Label 248 38: 6(int) Load 8(count) 249 39: 6(int) IMul 38 37 250 Store 8(count) 39 251 Branch 36 252 36: Label 253 SelectionMerge 41 None 254 BranchConditional 23 40 41 255 40: Label 256 43: 6(int) Load 8(count) 257 44: 6(int) IMul 43 42 258 Store 8(count) 44 259 Branch 41 260 41: Label 261 SelectionMerge 46 None 262 BranchConditional 23 45 46 263 45: Label 264 48: 6(int) Load 8(count) 265 49: 6(int) IMul 48 47 266 Store 8(count) 49 267 Branch 46 268 46: Label 269 SelectionMerge 51 None 270 BranchConditional 34 50 51 271 50: Label 272 53: 6(int) Load 8(count) 273 54: 6(int) IMul 53 52 274 Store 8(count) 54 275 Branch 51 276 51: Label 277 Store 55(shiftedii) 56 278 Store 57(shiftedui) 58 279 Store 59(shiftediu) 56 280 Store 60(shifteduu) 58 281 61: 6(int) Load 55(shiftedii) 282 62: 6(int) Load 59(shiftediu) 283 63: 22(bool) IEqual 61 62 284 SelectionMerge 65 None 285 BranchConditional 63 64 65 286 64: Label 287 73: 70 Load 72(usampler) 288 78: 75(fvec2) Load 77(tc) 289 79: 66(ivec4) ImageSampleImplicitLod 73 78 290 Store 68(c) 79 291 Branch 65 292 65: Label 293 80: 10(int) Load 57(shiftedui) 294 81: 10(int) Load 60(shifteduu) 295 82: 22(bool) IEqual 80 81 296 SelectionMerge 84 None 297 BranchConditional 82 83 84 298 83: Label 299 85: 70 Load 72(usampler) 300 86: 75(fvec2) Load 77(tc) 301 88: 75(fvec2) CompositeConstruct 87 87 302 89: 75(fvec2) FAdd 86 88 303 90: 66(ivec4) ImageSampleImplicitLod 85 89 304 Store 68(c) 90 305 Branch 84 306 84: Label 307 91: 6(int) Load 55(shiftedii) 308 92: 10(int) Load 57(shiftedui) 309 93: 6(int) Bitcast 92 310 94: 22(bool) IEqual 91 93 311 SelectionMerge 96 None 312 BranchConditional 94 95 96 313 95: Label 314 97: 70 Load 72(usampler) 315 98: 75(fvec2) Load 77(tc) 316 101: 75(fvec2) FSub 98 100 317 102: 66(ivec4) ImageSampleImplicitLod 97 101 318 Store 68(c) 102 319 Branch 96 320 96: Label 321 104: 17(ptr) AccessChain 15(t) 103 322 105: 10(int) Load 104 323 107: 22(bool) UGreaterThan 105 106 324 SelectionMerge 109 None 325 BranchConditional 107 108 109 326 108: Label 327 112: 10(int) Load 12(u) 328 113: 74(float) ConvertUToF 112 329 Store 111(af) 113 330 116: 10(int) Load 12(u) 331 117: 22(bool) INotEqual 116 103 332 Store 115(ab) 117 333 119: 10(int) Load 12(u) 334 120: 6(int) Bitcast 119 335 Store 118(ai) 120 336 121: 74(float) Load 111(af) 337 122: 10(int) ConvertFToU 121 338 123: 22(bool) Load 115(ab) 339 124: 10(int) Select 123 16 103 340 125: 6(int) Load 118(ai) 341 126: 10(int) Bitcast 125 342 127: 6(int) Load 8(count) 343 128: 10(int) Bitcast 127 344 129: 66(ivec4) CompositeConstruct 122 124 126 128 345 130: 66(ivec4) Load 68(c) 346 131: 66(ivec4) IAdd 130 129 347 Store 68(c) 131 348 Branch 109 349 109: Label 350 SelectionMerge 133 None 351 BranchConditional 23 132 133 352 132: Label 353 135: 6(int) Load 8(count) 354 136: 6(int) IMul 135 134 355 Store 8(count) 136 356 Branch 133 357 133: Label 358 SelectionMerge 138 None 359 BranchConditional 34 137 138 360 137: Label 361 140: 6(int) Load 8(count) 362 141: 6(int) IMul 140 139 363 Store 8(count) 141 364 Branch 138 365 138: Label 366 SelectionMerge 143 None 367 BranchConditional 23 142 143 368 142: Label 369 145: 6(int) Load 8(count) 370 146: 6(int) IMul 145 144 371 Store 8(count) 146 372 Branch 143 373 143: Label 374 SelectionMerge 148 None 375 BranchConditional 23 147 148 376 147: Label 377 150: 6(int) Load 8(count) 378 151: 6(int) IMul 150 149 379 Store 8(count) 151 380 Branch 148 381 148: Label 382 Store 152(mask1) 153 383 Store 154(mask2) 155 384 157: 10(int) Load 152(mask1) 385 159: 10(int) ShiftLeftLogical 157 158 386 Store 156(mask3) 159 387 Store 160(mask4) 161 388 162: 10(int) Load 156(mask3) 389 163: 10(int) Load 154(mask2) 390 164: 22(bool) IEqual 162 163 391 SelectionMerge 166 None 392 BranchConditional 164 165 166 393 165: Label 394 167: 6(int) Load 8(count) 395 168: 6(int) IMul 167 26 396 Store 8(count) 168 397 Branch 166 398 166: Label 399 169: 10(int) Load 156(mask3) 400 170: 10(int) Load 152(mask1) 401 171: 10(int) BitwiseAnd 169 170 402 172: 22(bool) INotEqual 171 103 403 SelectionMerge 174 None 404 BranchConditional 172 173 174 405 173: Label 406 175: 6(int) Load 8(count) 407 176: 6(int) IMul 175 31 408 Store 8(count) 176 409 Branch 174 410 174: Label 411 177: 10(int) Load 152(mask1) 412 178: 10(int) Load 156(mask3) 413 179: 10(int) BitwiseOr 177 178 414 180: 10(int) Load 160(mask4) 415 181: 22(bool) IEqual 179 180 416 SelectionMerge 183 None 417 BranchConditional 181 182 183 418 182: Label 419 184: 6(int) Load 8(count) 420 185: 6(int) IMul 184 37 421 Store 8(count) 185 422 Branch 183 423 183: Label 424 186: 10(int) Load 152(mask1) 425 187: 10(int) Load 160(mask4) 426 188: 10(int) BitwiseXor 186 187 427 189: 22(bool) IEqual 188 155 428 SelectionMerge 191 None 429 BranchConditional 189 190 191 430 190: Label 431 192: 6(int) Load 8(count) 432 193: 6(int) IMul 192 42 433 Store 8(count) 193 434 Branch 191 435 191: Label 436 194: 6(int) Load 8(count) 437 195: 10(int) Bitcast 194 438 196: 66(ivec4) CompositeConstruct 195 195 195 195 439 197: 66(ivec4) Load 68(c) 440 198: 66(ivec4) IAdd 197 196 441 Store 68(c) 198 442 201: 200(ptr) AccessChain 68(c) 103 443 202: 10(int) Load 201 444 203: 10(int) IAdd 202 199 445 204: 200(ptr) AccessChain 68(c) 103 446 Store 204 203 447 Return 448 FunctionEnd 449