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