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