1spv.types.frag 2// Module Version 10000 3// Generated by (magic number): 8000a 4// Id's are bound by 260 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Fragment 4 "main" 96 98 105 107 114 116 123 125 132 134 141 143 150 152 159 161 165 10 ExecutionMode 4 OriginUpperLeft 11 Source GLSL 140 12 Name 4 "main" 13 Name 8 "b" 14 Name 10 "u_b" 15 Name 12 "i_b" 16 Name 17 "b2" 17 Name 19 "u_b2" 18 Name 24 "i_b2" 19 Name 38 "b3" 20 Name 40 "u_b3" 21 Name 43 "i_b3" 22 Name 63 "b4" 23 Name 65 "u_b4" 24 Name 68 "i_b4" 25 Name 94 "i" 26 Name 96 "u_i" 27 Name 98 "i_i" 28 Name 103 "i2" 29 Name 105 "u_i2" 30 Name 107 "i_i2" 31 Name 112 "i3" 32 Name 114 "u_i3" 33 Name 116 "i_i3" 34 Name 121 "i4" 35 Name 123 "u_i4" 36 Name 125 "i_i4" 37 Name 130 "f" 38 Name 132 "u_f" 39 Name 134 "i_f" 40 Name 139 "f2" 41 Name 141 "u_f2" 42 Name 143 "i_f2" 43 Name 148 "f3" 44 Name 150 "u_f3" 45 Name 152 "i_f3" 46 Name 157 "f4" 47 Name 159 "u_f4" 48 Name 161 "i_f4" 49 Name 165 "gl_FragColor" 50 Decorate 96(u_i) Flat 51 Decorate 96(u_i) Location 0 52 Decorate 98(i_i) Flat 53 Decorate 98(i_i) Location 8 54 Decorate 105(u_i2) Flat 55 Decorate 105(u_i2) Location 1 56 Decorate 107(i_i2) Flat 57 Decorate 107(i_i2) Location 9 58 Decorate 114(u_i3) Flat 59 Decorate 114(u_i3) Location 2 60 Decorate 116(i_i3) Flat 61 Decorate 116(i_i3) Location 10 62 Decorate 123(u_i4) Flat 63 Decorate 123(u_i4) Location 3 64 Decorate 125(i_i4) Flat 65 Decorate 125(i_i4) Location 11 66 Decorate 132(u_f) Location 4 67 Decorate 134(i_f) Location 12 68 Decorate 141(u_f2) Location 5 69 Decorate 143(i_f2) Location 13 70 Decorate 150(u_f3) Location 6 71 Decorate 152(i_f3) Location 14 72 Decorate 159(u_f4) Location 7 73 Decorate 161(i_f4) Location 15 74 Decorate 165(gl_FragColor) Location 0 75 2: TypeVoid 76 3: TypeFunction 2 77 6: TypeBool 78 7: TypePointer Function 6(bool) 79 9: TypePointer Private 6(bool) 80 10(u_b): 9(ptr) Variable Private 81 12(i_b): 9(ptr) Variable Private 82 15: TypeVector 6(bool) 2 83 16: TypePointer Function 15(bvec2) 84 18: TypePointer Private 15(bvec2) 85 19(u_b2): 18(ptr) Variable Private 86 20: TypeInt 32 0 87 21: 20(int) Constant 0 88 24(i_b2): 18(ptr) Variable Private 89 28: 20(int) Constant 1 90 36: TypeVector 6(bool) 3 91 37: TypePointer Function 36(bvec3) 92 39: TypePointer Private 36(bvec3) 93 40(u_b3): 39(ptr) Variable Private 94 43(i_b3): 39(ptr) Variable Private 95 53: 20(int) Constant 2 96 61: TypeVector 6(bool) 4 97 62: TypePointer Function 61(bvec4) 98 64: TypePointer Private 61(bvec4) 99 65(u_b4): 64(ptr) Variable Private 100 68(i_b4): 64(ptr) Variable Private 101 84: 20(int) Constant 3 102 92: TypeInt 32 1 103 93: TypePointer Function 92(int) 104 95: TypePointer Input 92(int) 105 96(u_i): 95(ptr) Variable Input 106 98(i_i): 95(ptr) Variable Input 107 101: TypeVector 92(int) 2 108 102: TypePointer Function 101(ivec2) 109 104: TypePointer Input 101(ivec2) 110 105(u_i2): 104(ptr) Variable Input 111 107(i_i2): 104(ptr) Variable Input 112 110: TypeVector 92(int) 3 113 111: TypePointer Function 110(ivec3) 114 113: TypePointer Input 110(ivec3) 115 114(u_i3): 113(ptr) Variable Input 116 116(i_i3): 113(ptr) Variable Input 117 119: TypeVector 92(int) 4 118 120: TypePointer Function 119(ivec4) 119 122: TypePointer Input 119(ivec4) 120 123(u_i4): 122(ptr) Variable Input 121 125(i_i4): 122(ptr) Variable Input 122 128: TypeFloat 32 123 129: TypePointer Function 128(float) 124 131: TypePointer Input 128(float) 125 132(u_f): 131(ptr) Variable Input 126 134(i_f): 131(ptr) Variable Input 127 137: TypeVector 128(float) 2 128 138: TypePointer Function 137(fvec2) 129 140: TypePointer Input 137(fvec2) 130 141(u_f2): 140(ptr) Variable Input 131 143(i_f2): 140(ptr) Variable Input 132 146: TypeVector 128(float) 3 133 147: TypePointer Function 146(fvec3) 134 149: TypePointer Input 146(fvec3) 135 150(u_f3): 149(ptr) Variable Input 136 152(i_f3): 149(ptr) Variable Input 137 155: TypeVector 128(float) 4 138 156: TypePointer Function 155(fvec4) 139 158: TypePointer Input 155(fvec4) 140 159(u_f4): 158(ptr) Variable Input 141 161(i_f4): 158(ptr) Variable Input 142 164: TypePointer Output 155(fvec4) 143165(gl_FragColor): 164(ptr) Variable Output 144 257: 128(float) Constant 1065353216 145 258: 155(fvec4) ConstantComposite 257 257 257 257 146 4(main): 2 Function None 3 147 5: Label 148 8(b): 7(ptr) Variable Function 149 17(b2): 16(ptr) Variable Function 150 38(b3): 37(ptr) Variable Function 151 63(b4): 62(ptr) Variable Function 152 94(i): 93(ptr) Variable Function 153 103(i2): 102(ptr) Variable Function 154 112(i3): 111(ptr) Variable Function 155 121(i4): 120(ptr) Variable Function 156 130(f): 129(ptr) Variable Function 157 139(f2): 138(ptr) Variable Function 158 148(f3): 147(ptr) Variable Function 159 157(f4): 156(ptr) Variable Function 160 194: 156(ptr) Variable Function 161 11: 6(bool) Load 10(u_b) 162 13: 6(bool) Load 12(i_b) 163 14: 6(bool) LogicalAnd 11 13 164 Store 8(b) 14 165 22: 9(ptr) AccessChain 19(u_b2) 21 166 23: 6(bool) Load 22 167 25: 9(ptr) AccessChain 24(i_b2) 21 168 26: 6(bool) Load 25 169 27: 6(bool) LogicalAnd 23 26 170 29: 9(ptr) AccessChain 19(u_b2) 28 171 30: 6(bool) Load 29 172 31: 6(bool) LogicalAnd 27 30 173 32: 9(ptr) AccessChain 24(i_b2) 28 174 33: 6(bool) Load 32 175 34: 6(bool) LogicalAnd 31 33 176 35: 15(bvec2) CompositeConstruct 34 34 177 Store 17(b2) 35 178 41: 9(ptr) AccessChain 40(u_b3) 21 179 42: 6(bool) Load 41 180 44: 9(ptr) AccessChain 43(i_b3) 21 181 45: 6(bool) Load 44 182 46: 6(bool) LogicalAnd 42 45 183 47: 9(ptr) AccessChain 40(u_b3) 28 184 48: 6(bool) Load 47 185 49: 6(bool) LogicalAnd 46 48 186 50: 9(ptr) AccessChain 43(i_b3) 28 187 51: 6(bool) Load 50 188 52: 6(bool) LogicalAnd 49 51 189 54: 9(ptr) AccessChain 40(u_b3) 53 190 55: 6(bool) Load 54 191 56: 6(bool) LogicalAnd 52 55 192 57: 9(ptr) AccessChain 43(i_b3) 53 193 58: 6(bool) Load 57 194 59: 6(bool) LogicalAnd 56 58 195 60: 36(bvec3) CompositeConstruct 59 59 59 196 Store 38(b3) 60 197 66: 9(ptr) AccessChain 65(u_b4) 21 198 67: 6(bool) Load 66 199 69: 9(ptr) AccessChain 68(i_b4) 21 200 70: 6(bool) Load 69 201 71: 6(bool) LogicalAnd 67 70 202 72: 9(ptr) AccessChain 65(u_b4) 28 203 73: 6(bool) Load 72 204 74: 6(bool) LogicalAnd 71 73 205 75: 9(ptr) AccessChain 68(i_b4) 28 206 76: 6(bool) Load 75 207 77: 6(bool) LogicalAnd 74 76 208 78: 9(ptr) AccessChain 65(u_b4) 53 209 79: 6(bool) Load 78 210 80: 6(bool) LogicalAnd 77 79 211 81: 9(ptr) AccessChain 68(i_b4) 53 212 82: 6(bool) Load 81 213 83: 6(bool) LogicalAnd 80 82 214 85: 9(ptr) AccessChain 65(u_b4) 84 215 86: 6(bool) Load 85 216 87: 6(bool) LogicalAnd 83 86 217 88: 9(ptr) AccessChain 68(i_b4) 84 218 89: 6(bool) Load 88 219 90: 6(bool) LogicalAnd 87 89 220 91: 61(bvec4) CompositeConstruct 90 90 90 90 221 Store 63(b4) 91 222 97: 92(int) Load 96(u_i) 223 99: 92(int) Load 98(i_i) 224 100: 92(int) IAdd 97 99 225 Store 94(i) 100 226 106: 101(ivec2) Load 105(u_i2) 227 108: 101(ivec2) Load 107(i_i2) 228 109: 101(ivec2) IAdd 106 108 229 Store 103(i2) 109 230 115: 110(ivec3) Load 114(u_i3) 231 117: 110(ivec3) Load 116(i_i3) 232 118: 110(ivec3) IAdd 115 117 233 Store 112(i3) 118 234 124: 119(ivec4) Load 123(u_i4) 235 126: 119(ivec4) Load 125(i_i4) 236 127: 119(ivec4) IAdd 124 126 237 Store 121(i4) 127 238 133: 128(float) Load 132(u_f) 239 135: 128(float) Load 134(i_f) 240 136: 128(float) FAdd 133 135 241 Store 130(f) 136 242 142: 137(fvec2) Load 141(u_f2) 243 144: 137(fvec2) Load 143(i_f2) 244 145: 137(fvec2) FAdd 142 144 245 Store 139(f2) 145 246 151: 146(fvec3) Load 150(u_f3) 247 153: 146(fvec3) Load 152(i_f3) 248 154: 146(fvec3) FAdd 151 153 249 Store 148(f3) 154 250 160: 155(fvec4) Load 159(u_f4) 251 162: 155(fvec4) Load 161(i_f4) 252 163: 155(fvec4) FAdd 160 162 253 Store 157(f4) 163 254 166: 6(bool) Load 8(b) 255 167: 7(ptr) AccessChain 17(b2) 21 256 168: 6(bool) Load 167 257 169: 6(bool) LogicalOr 166 168 258 170: 7(ptr) AccessChain 17(b2) 28 259 171: 6(bool) Load 170 260 172: 6(bool) LogicalOr 169 171 261 173: 7(ptr) AccessChain 38(b3) 21 262 174: 6(bool) Load 173 263 175: 6(bool) LogicalOr 172 174 264 176: 7(ptr) AccessChain 38(b3) 28 265 177: 6(bool) Load 176 266 178: 6(bool) LogicalOr 175 177 267 179: 7(ptr) AccessChain 38(b3) 53 268 180: 6(bool) Load 179 269 181: 6(bool) LogicalOr 178 180 270 182: 7(ptr) AccessChain 63(b4) 21 271 183: 6(bool) Load 182 272 184: 6(bool) LogicalOr 181 183 273 185: 7(ptr) AccessChain 63(b4) 28 274 186: 6(bool) Load 185 275 187: 6(bool) LogicalOr 184 186 276 188: 7(ptr) AccessChain 63(b4) 53 277 189: 6(bool) Load 188 278 190: 6(bool) LogicalOr 187 189 279 191: 7(ptr) AccessChain 63(b4) 84 280 192: 6(bool) Load 191 281 193: 6(bool) LogicalOr 190 192 282 SelectionMerge 196 None 283 BranchConditional 193 195 256 284 195: Label 285 197: 92(int) Load 94(i) 286 198: 93(ptr) AccessChain 103(i2) 21 287 199: 92(int) Load 198 288 200: 92(int) IAdd 197 199 289 201: 93(ptr) AccessChain 103(i2) 28 290 202: 92(int) Load 201 291 203: 92(int) IAdd 200 202 292 204: 93(ptr) AccessChain 112(i3) 21 293 205: 92(int) Load 204 294 206: 92(int) IAdd 203 205 295 207: 93(ptr) AccessChain 112(i3) 28 296 208: 92(int) Load 207 297 209: 92(int) IAdd 206 208 298 210: 93(ptr) AccessChain 112(i3) 53 299 211: 92(int) Load 210 300 212: 92(int) IAdd 209 211 301 213: 93(ptr) AccessChain 121(i4) 21 302 214: 92(int) Load 213 303 215: 92(int) IAdd 212 214 304 216: 93(ptr) AccessChain 121(i4) 28 305 217: 92(int) Load 216 306 218: 92(int) IAdd 215 217 307 219: 93(ptr) AccessChain 121(i4) 53 308 220: 92(int) Load 219 309 221: 92(int) IAdd 218 220 310 222: 93(ptr) AccessChain 121(i4) 84 311 223: 92(int) Load 222 312 224: 92(int) IAdd 221 223 313 225: 128(float) ConvertSToF 224 314 226: 128(float) Load 130(f) 315 227: 128(float) FAdd 225 226 316 228: 129(ptr) AccessChain 139(f2) 21 317 229: 128(float) Load 228 318 230: 128(float) FAdd 227 229 319 231: 129(ptr) AccessChain 139(f2) 28 320 232: 128(float) Load 231 321 233: 128(float) FAdd 230 232 322 234: 129(ptr) AccessChain 148(f3) 21 323 235: 128(float) Load 234 324 236: 128(float) FAdd 233 235 325 237: 129(ptr) AccessChain 148(f3) 28 326 238: 128(float) Load 237 327 239: 128(float) FAdd 236 238 328 240: 129(ptr) AccessChain 148(f3) 53 329 241: 128(float) Load 240 330 242: 128(float) FAdd 239 241 331 243: 129(ptr) AccessChain 157(f4) 21 332 244: 128(float) Load 243 333 245: 128(float) FAdd 242 244 334 246: 129(ptr) AccessChain 157(f4) 28 335 247: 128(float) Load 246 336 248: 128(float) FAdd 245 247 337 249: 129(ptr) AccessChain 157(f4) 53 338 250: 128(float) Load 249 339 251: 128(float) FAdd 248 250 340 252: 129(ptr) AccessChain 157(f4) 84 341 253: 128(float) Load 252 342 254: 128(float) FAdd 251 253 343 255: 155(fvec4) CompositeConstruct 254 254 254 254 344 Store 194 255 345 Branch 196 346 256: Label 347 Store 194 258 348 Branch 196 349 196: Label 350 259: 155(fvec4) Load 194 351 Store 165(gl_FragColor) 259 352 Return 353 FunctionEnd 354