spv.separate.frag // Module Version 10000 // Generated by (magic number): 80002 // Id's are bound by 319 Capability Shader Capability SampledRect Capability Sampled1D Capability SampledCubeArray Capability SampledBuffer 1: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint Fragment 4 "main" 11 34 ExecutionMode 4 OriginUpperLeft Source GLSL 400 Name 4 "main" Name 6 "foo(" Name 11 "color" Name 14 "t2d" Name 18 "s" Name 31 "t3d" Name 34 "i" Name 41 "sA" Name 58 "tex2D" Name 64 "texCube" Name 71 "texCubeArray" Name 77 "sShadow" Name 84 "itexCubeArray" Name 91 "utexCubeArray" Name 98 "tex1DArray" Name 106 "itex1DArray" Name 113 "utex1D" Name 120 "itex1D" Name 127 "utex1DArray" Name 134 "texBuffer" Name 146 "tex2DArray" Name 158 "itex2D" Name 165 "itex3D" Name 172 "itexCube" Name 179 "itex2DArray" Name 186 "utex2D" Name 193 "utex3D" Name 200 "utexCube" Name 207 "utex2DArray" Name 214 "itex2DRect" Name 221 "utex2DRect" Name 228 "itexBuffer" Name 235 "utexBuffer" Name 242 "tex2DMS" Name 249 "itex2DMS" Name 256 "utex2DMS" Name 263 "tex2DMSArray" Name 270 "itex2DMSArray" Name 277 "utex2DMSArray" Name 284 "tex1D" Name 294 "tex3D" Name 305 "tex2DRect" Decorate 14(t2d) DescriptorSet 0 Decorate 18(s) DescriptorSet 0 Decorate 31(t3d) DescriptorSet 0 Decorate 34(i) Flat Decorate 41(sA) DescriptorSet 0 Decorate 58(tex2D) DescriptorSet 0 Decorate 64(texCube) DescriptorSet 0 Decorate 71(texCubeArray) DescriptorSet 0 Decorate 77(sShadow) DescriptorSet 0 Decorate 84(itexCubeArray) DescriptorSet 0 Decorate 91(utexCubeArray) DescriptorSet 0 Decorate 98(tex1DArray) DescriptorSet 0 Decorate 106(itex1DArray) DescriptorSet 0 Decorate 113(utex1D) DescriptorSet 0 Decorate 120(itex1D) DescriptorSet 0 Decorate 127(utex1DArray) DescriptorSet 0 Decorate 134(texBuffer) DescriptorSet 0 Decorate 146(tex2DArray) DescriptorSet 0 Decorate 158(itex2D) DescriptorSet 0 Decorate 165(itex3D) DescriptorSet 0 Decorate 172(itexCube) DescriptorSet 0 Decorate 179(itex2DArray) DescriptorSet 0 Decorate 186(utex2D) DescriptorSet 0 Decorate 193(utex3D) DescriptorSet 0 Decorate 200(utexCube) DescriptorSet 0 Decorate 207(utex2DArray) DescriptorSet 0 Decorate 214(itex2DRect) DescriptorSet 0 Decorate 221(utex2DRect) DescriptorSet 0 Decorate 228(itexBuffer) DescriptorSet 0 Decorate 235(utexBuffer) DescriptorSet 0 Decorate 242(tex2DMS) DescriptorSet 0 Decorate 249(itex2DMS) DescriptorSet 0 Decorate 256(utex2DMS) DescriptorSet 0 Decorate 263(tex2DMSArray) DescriptorSet 0 Decorate 270(itex2DMSArray) DescriptorSet 0 Decorate 277(utex2DMSArray) DescriptorSet 0 Decorate 284(tex1D) DescriptorSet 0 Decorate 294(tex3D) DescriptorSet 0 Decorate 305(tex2DRect) DescriptorSet 0 2: TypeVoid 3: TypeFunction 2 8: TypeFloat 32 9: TypeVector 8(float) 4 10: TypePointer Output 9(fvec4) 11(color): 10(ptr) Variable Output 12: TypeImage 8(float) 2D sampled format:Unknown 13: TypePointer UniformConstant 12 14(t2d): 13(ptr) Variable UniformConstant 16: TypeSampler 17: TypePointer UniformConstant 16 18(s): 17(ptr) Variable UniformConstant 20: TypeSampledImage 12 22: TypeVector 8(float) 2 23: 8(float) Constant 1056964608 24: 22(fvec2) ConstantComposite 23 23 26: TypeImage 8(float) 3D sampled format:Unknown 27: TypeInt 32 0 28: 27(int) Constant 4 29: TypeArray 26 28 30: TypePointer UniformConstant 29 31(t3d): 30(ptr) Variable UniformConstant 32: TypeInt 32 1 33: TypePointer Input 32(int) 34(i): 33(ptr) Variable Input 36: TypePointer UniformConstant 26 39: TypeArray 16 28 40: TypePointer UniformConstant 39 41(sA): 40(ptr) Variable UniformConstant 42: 32(int) Constant 2 45: TypeSampledImage 26 47: TypeVector 8(float) 3 48: 47(fvec3) ConstantComposite 23 23 23 58(tex2D): 13(ptr) Variable UniformConstant 62: TypeImage 8(float) Cube sampled format:Unknown 63: TypePointer UniformConstant 62 64(texCube): 63(ptr) Variable UniformConstant 67: TypeSampledImage 62 69: TypeImage 8(float) Cube array sampled format:Unknown 70: TypePointer UniformConstant 69 71(texCubeArray): 70(ptr) Variable UniformConstant 74: TypeSampledImage 69 77(sShadow): 17(ptr) Variable UniformConstant 79: TypeImage 8(float) Cube depth array sampled format:Unknown 80: TypeSampledImage 79 82: TypeImage 32(int) Cube array sampled format:Unknown 83: TypePointer UniformConstant 82 84(itexCubeArray): 83(ptr) Variable UniformConstant 87: TypeSampledImage 82 89: TypeImage 27(int) Cube array sampled format:Unknown 90: TypePointer UniformConstant 89 91(utexCubeArray): 90(ptr) Variable UniformConstant 94: TypeSampledImage 89 96: TypeImage 8(float) 1D array sampled format:Unknown 97: TypePointer UniformConstant 96 98(tex1DArray): 97(ptr) Variable UniformConstant 101: TypeImage 8(float) 1D depth array sampled format:Unknown 102: TypeSampledImage 101 104: TypeImage 32(int) 1D array sampled format:Unknown 105: TypePointer UniformConstant 104 106(itex1DArray): 105(ptr) Variable UniformConstant 109: TypeSampledImage 104 111: TypeImage 27(int) 1D sampled format:Unknown 112: TypePointer UniformConstant 111 113(utex1D): 112(ptr) Variable UniformConstant 116: TypeSampledImage 111 118: TypeImage 32(int) 1D sampled format:Unknown 119: TypePointer UniformConstant 118 120(itex1D): 119(ptr) Variable UniformConstant 123: TypeSampledImage 118 125: TypeImage 27(int) 1D array sampled format:Unknown 126: TypePointer UniformConstant 125 127(utex1DArray): 126(ptr) Variable UniformConstant 130: TypeSampledImage 125 132: TypeImage 8(float) Buffer sampled format:Unknown 133: TypePointer UniformConstant 132 134(texBuffer): 133(ptr) Variable UniformConstant 137: TypeSampledImage 132 141: TypeImage 8(float) Cube depth sampled format:Unknown 142: TypeSampledImage 141 144: TypeImage 8(float) 2D array sampled format:Unknown 145: TypePointer UniformConstant 144 146(tex2DArray): 145(ptr) Variable UniformConstant 149: TypeSampledImage 144 153: TypeImage 8(float) 2D depth array sampled format:Unknown 154: TypeSampledImage 153 156: TypeImage 32(int) 2D sampled format:Unknown 157: TypePointer UniformConstant 156 158(itex2D): 157(ptr) Variable UniformConstant 161: TypeSampledImage 156 163: TypeImage 32(int) 3D sampled format:Unknown 164: TypePointer UniformConstant 163 165(itex3D): 164(ptr) Variable UniformConstant 168: TypeSampledImage 163 170: TypeImage 32(int) Cube sampled format:Unknown 171: TypePointer UniformConstant 170 172(itexCube): 171(ptr) Variable UniformConstant 175: TypeSampledImage 170 177: TypeImage 32(int) 2D array sampled format:Unknown 178: TypePointer UniformConstant 177 179(itex2DArray): 178(ptr) Variable UniformConstant 182: TypeSampledImage 177 184: TypeImage 27(int) 2D sampled format:Unknown 185: TypePointer UniformConstant 184 186(utex2D): 185(ptr) Variable UniformConstant 189: TypeSampledImage 184 191: TypeImage 27(int) 3D sampled format:Unknown 192: TypePointer UniformConstant 191 193(utex3D): 192(ptr) Variable UniformConstant 196: TypeSampledImage 191 198: TypeImage 27(int) Cube sampled format:Unknown 199: TypePointer UniformConstant 198 200(utexCube): 199(ptr) Variable UniformConstant 203: TypeSampledImage 198 205: TypeImage 27(int) 2D array sampled format:Unknown 206: TypePointer UniformConstant 205 207(utex2DArray): 206(ptr) Variable UniformConstant 210: TypeSampledImage 205 212: TypeImage 32(int) Rect sampled format:Unknown 213: TypePointer UniformConstant 212 214(itex2DRect): 213(ptr) Variable UniformConstant 217: TypeSampledImage 212 219: TypeImage 27(int) Rect sampled format:Unknown 220: TypePointer UniformConstant 219 221(utex2DRect): 220(ptr) Variable UniformConstant 224: TypeSampledImage 219 226: TypeImage 32(int) Buffer sampled format:Unknown 227: TypePointer UniformConstant 226 228(itexBuffer): 227(ptr) Variable UniformConstant 231: TypeSampledImage 226 233: TypeImage 27(int) Buffer sampled format:Unknown 234: TypePointer UniformConstant 233 235(utexBuffer): 234(ptr) Variable UniformConstant 238: TypeSampledImage 233 240: TypeImage 8(float) 2D multi-sampled sampled format:Unknown 241: TypePointer UniformConstant 240 242(tex2DMS): 241(ptr) Variable UniformConstant 245: TypeSampledImage 240 247: TypeImage 32(int) 2D multi-sampled sampled format:Unknown 248: TypePointer UniformConstant 247 249(itex2DMS): 248(ptr) Variable UniformConstant 252: TypeSampledImage 247 254: TypeImage 27(int) 2D multi-sampled sampled format:Unknown 255: TypePointer UniformConstant 254 256(utex2DMS): 255(ptr) Variable UniformConstant 259: TypeSampledImage 254 261: TypeImage 8(float) 2D array multi-sampled sampled format:Unknown 262: TypePointer UniformConstant 261 263(tex2DMSArray): 262(ptr) Variable UniformConstant 266: TypeSampledImage 261 268: TypeImage 32(int) 2D array multi-sampled sampled format:Unknown 269: TypePointer UniformConstant 268 270(itex2DMSArray): 269(ptr) Variable UniformConstant 273: TypeSampledImage 268 275: TypeImage 27(int) 2D array multi-sampled sampled format:Unknown 276: TypePointer UniformConstant 275 277(utex2DMSArray): 276(ptr) Variable UniformConstant 280: TypeSampledImage 275 282: TypeImage 8(float) 1D sampled format:Unknown 283: TypePointer UniformConstant 282 284(tex1D): 283(ptr) Variable UniformConstant 287: TypeSampledImage 282 291: TypeImage 8(float) 1D depth sampled format:Unknown 292: TypeSampledImage 291 294(tex3D): 36(ptr) Variable UniformConstant 300: TypeImage 8(float) 2D depth sampled format:Unknown 301: TypeSampledImage 300 303: TypeImage 8(float) Rect sampled format:Unknown 304: TypePointer UniformConstant 303 305(tex2DRect): 304(ptr) Variable UniformConstant 308: TypeSampledImage 303 312: TypeImage 8(float) Rect depth sampled format:Unknown 313: TypeSampledImage 312 317: TypeSampledImage 96 4(main): 2 Function None 3 5: Label 15: 12 Load 14(t2d) 19: 16 Load 18(s) 21: 20 SampledImage 15 19 25: 9(fvec4) ImageSampleImplicitLod 21 24 Store 11(color) 25 35: 32(int) Load 34(i) 37: 36(ptr) AccessChain 31(t3d) 35 38: 26 Load 37 43: 17(ptr) AccessChain 41(sA) 42 44: 16 Load 43 46: 45 SampledImage 38 44 49: 9(fvec4) ImageSampleImplicitLod 46 48 50: 9(fvec4) Load 11(color) 51: 9(fvec4) FAdd 50 49 Store 11(color) 51 52: 12 Load 14(t2d) 53: 16 Load 18(s) 54: 20 SampledImage 52 53 55: 9(fvec4) ImageSampleImplicitLod 54 24 56: 9(fvec4) Load 11(color) 57: 9(fvec4) FAdd 56 55 Store 11(color) 57 Return FunctionEnd 6(foo(): 2 Function None 3 7: Label 59: 12 Load 58(tex2D) 60: 16 Load 18(s) 61: 20 SampledImage 59 60 65: 62 Load 64(texCube) 66: 16 Load 18(s) 68: 67 SampledImage 65 66 72: 69 Load 71(texCubeArray) 73: 16 Load 18(s) 75: 74 SampledImage 72 73 76: 69 Load 71(texCubeArray) 78: 16 Load 77(sShadow) 81: 80 SampledImage 76 78 85: 82 Load 84(itexCubeArray) 86: 16 Load 18(s) 88: 87 SampledImage 85 86 92: 89 Load 91(utexCubeArray) 93: 16 Load 18(s) 95: 94 SampledImage 92 93 99: 96 Load 98(tex1DArray) 100: 16 Load 77(sShadow) 103: 102 SampledImage 99 100 107: 104 Load 106(itex1DArray) 108: 16 Load 18(s) 110: 109 SampledImage 107 108 114: 111 Load 113(utex1D) 115: 16 Load 18(s) 117: 116 SampledImage 114 115 121: 118 Load 120(itex1D) 122: 16 Load 18(s) 124: 123 SampledImage 121 122 128: 125 Load 127(utex1DArray) 129: 16 Load 18(s) 131: 130 SampledImage 128 129 135: 132 Load 134(texBuffer) 136: 16 Load 18(s) 138: 137 SampledImage 135 136 139: 62 Load 64(texCube) 140: 16 Load 77(sShadow) 143: 142 SampledImage 139 140 147: 144 Load 146(tex2DArray) 148: 16 Load 18(s) 150: 149 SampledImage 147 148 151: 144 Load 146(tex2DArray) 152: 16 Load 77(sShadow) 155: 154 SampledImage 151 152 159: 156 Load 158(itex2D) 160: 16 Load 18(s) 162: 161 SampledImage 159 160 166: 163 Load 165(itex3D) 167: 16 Load 18(s) 169: 168 SampledImage 166 167 173: 170 Load 172(itexCube) 174: 16 Load 18(s) 176: 175 SampledImage 173 174 180: 177 Load 179(itex2DArray) 181: 16 Load 18(s) 183: 182 SampledImage 180 181 187: 184 Load 186(utex2D) 188: 16 Load 18(s) 190: 189 SampledImage 187 188 194: 191 Load 193(utex3D) 195: 16 Load 18(s) 197: 196 SampledImage 194 195 201: 198 Load 200(utexCube) 202: 16 Load 18(s) 204: 203 SampledImage 201 202 208: 205 Load 207(utex2DArray) 209: 16 Load 18(s) 211: 210 SampledImage 208 209 215: 212 Load 214(itex2DRect) 216: 16 Load 18(s) 218: 217 SampledImage 215 216 222: 219 Load 221(utex2DRect) 223: 16 Load 18(s) 225: 224 SampledImage 222 223 229: 226 Load 228(itexBuffer) 230: 16 Load 18(s) 232: 231 SampledImage 229 230 236: 233 Load 235(utexBuffer) 237: 16 Load 18(s) 239: 238 SampledImage 236 237 243: 240 Load 242(tex2DMS) 244: 16 Load 18(s) 246: 245 SampledImage 243 244 250: 247 Load 249(itex2DMS) 251: 16 Load 18(s) 253: 252 SampledImage 250 251 257: 254 Load 256(utex2DMS) 258: 16 Load 18(s) 260: 259 SampledImage 257 258 264: 261 Load 263(tex2DMSArray) 265: 16 Load 18(s) 267: 266 SampledImage 264 265 271: 268 Load 270(itex2DMSArray) 272: 16 Load 18(s) 274: 273 SampledImage 271 272 278: 275 Load 277(utex2DMSArray) 279: 16 Load 18(s) 281: 280 SampledImage 278 279 285: 282 Load 284(tex1D) 286: 16 Load 18(s) 288: 287 SampledImage 285 286 289: 282 Load 284(tex1D) 290: 16 Load 77(sShadow) 293: 292 SampledImage 289 290 295: 26 Load 294(tex3D) 296: 16 Load 18(s) 297: 45 SampledImage 295 296 298: 12 Load 58(tex2D) 299: 16 Load 77(sShadow) 302: 301 SampledImage 298 299 306: 303 Load 305(tex2DRect) 307: 16 Load 18(s) 309: 308 SampledImage 306 307 310: 303 Load 305(tex2DRect) 311: 16 Load 77(sShadow) 314: 313 SampledImage 310 311 315: 96 Load 98(tex1DArray) 316: 16 Load 18(s) 318: 317 SampledImage 315 316 Return FunctionEnd