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