1 spv.queryL.frag 2 Validation failed 3 // Module Version 10000 4 // Generated by (magic number): 80007 5 // Id's are bound by 224 6 7 Capability Shader 8 Capability SampledRect 9 Capability Sampled1D 10 Capability SampledCubeArray 11 Capability SampledBuffer 12 Capability ImageQuery 13 1: ExtInstImport "GLSL.std.450" 14 MemoryModel Logical GLSL450 15 EntryPoint Fragment 4 "main" 16 ExecutionMode 4 OriginUpperLeft 17 Source GLSL 430 18 Name 4 "main" 19 Name 9 "lod" 20 Name 13 "samp1D" 21 Name 16 "pf" 22 Name 23 "isamp2D" 23 Name 25 "pf2" 24 Name 34 "usamp3D" 25 Name 38 "pf3" 26 Name 46 "sampCube" 27 Name 55 "isamp1DA" 28 Name 64 "usamp2DA" 29 Name 73 "isampCubeA" 30 Name 82 "samp1Ds" 31 Name 91 "samp2Ds" 32 Name 100 "sampCubes" 33 Name 109 "samp1DAs" 34 Name 118 "samp2DAs" 35 Name 127 "sampCubeAs" 36 Name 134 "levels" 37 Name 141 "usamp2D" 38 Name 150 "isamp3D" 39 Name 159 "isampCube" 40 Name 173 "samp2DA" 41 Name 182 "usampCubeA" 42 Name 219 "sampBuf" 43 Name 223 "sampRect" 44 Decorate 13(samp1D) DescriptorSet 0 45 Decorate 13(samp1D) Binding 0 46 Decorate 23(isamp2D) DescriptorSet 0 47 Decorate 23(isamp2D) Binding 0 48 Decorate 34(usamp3D) DescriptorSet 0 49 Decorate 34(usamp3D) Binding 0 50 Decorate 46(sampCube) DescriptorSet 0 51 Decorate 46(sampCube) Binding 0 52 Decorate 55(isamp1DA) DescriptorSet 0 53 Decorate 55(isamp1DA) Binding 0 54 Decorate 64(usamp2DA) DescriptorSet 0 55 Decorate 64(usamp2DA) Binding 0 56 Decorate 73(isampCubeA) DescriptorSet 0 57 Decorate 73(isampCubeA) Binding 0 58 Decorate 82(samp1Ds) DescriptorSet 0 59 Decorate 82(samp1Ds) Binding 0 60 Decorate 91(samp2Ds) DescriptorSet 0 61 Decorate 91(samp2Ds) Binding 0 62 Decorate 100(sampCubes) DescriptorSet 0 63 Decorate 100(sampCubes) Binding 0 64 Decorate 109(samp1DAs) DescriptorSet 0 65 Decorate 109(samp1DAs) Binding 0 66 Decorate 118(samp2DAs) DescriptorSet 0 67 Decorate 118(samp2DAs) Binding 0 68 Decorate 127(sampCubeAs) DescriptorSet 0 69 Decorate 127(sampCubeAs) Binding 0 70 Decorate 141(usamp2D) DescriptorSet 0 71 Decorate 141(usamp2D) Binding 0 72 Decorate 150(isamp3D) DescriptorSet 0 73 Decorate 150(isamp3D) Binding 0 74 Decorate 159(isampCube) DescriptorSet 0 75 Decorate 159(isampCube) Binding 0 76 Decorate 173(samp2DA) DescriptorSet 0 77 Decorate 173(samp2DA) Binding 0 78 Decorate 182(usampCubeA) DescriptorSet 0 79 Decorate 182(usampCubeA) Binding 0 80 Decorate 219(sampBuf) DescriptorSet 0 81 Decorate 219(sampBuf) Binding 0 82 Decorate 223(sampRect) DescriptorSet 0 83 Decorate 223(sampRect) Binding 0 84 2: TypeVoid 85 3: TypeFunction 2 86 6: TypeFloat 32 87 7: TypeVector 6(float) 2 88 8: TypePointer Function 7(fvec2) 89 10: TypeImage 6(float) 1D sampled format:Unknown 90 11: TypeSampledImage 10 91 12: TypePointer UniformConstant 11 92 13(samp1D): 12(ptr) Variable UniformConstant 93 15: TypePointer Function 6(float) 94 19: TypeInt 32 1 95 20: TypeImage 19(int) 2D sampled format:Unknown 96 21: TypeSampledImage 20 97 22: TypePointer UniformConstant 21 98 23(isamp2D): 22(ptr) Variable UniformConstant 99 30: TypeInt 32 0 100 31: TypeImage 30(int) 3D sampled format:Unknown 101 32: TypeSampledImage 31 102 33: TypePointer UniformConstant 32 103 34(usamp3D): 33(ptr) Variable UniformConstant 104 36: TypeVector 6(float) 3 105 37: TypePointer Function 36(fvec3) 106 43: TypeImage 6(float) Cube sampled format:Unknown 107 44: TypeSampledImage 43 108 45: TypePointer UniformConstant 44 109 46(sampCube): 45(ptr) Variable UniformConstant 110 52: TypeImage 19(int) 1D array sampled format:Unknown 111 53: TypeSampledImage 52 112 54: TypePointer UniformConstant 53 113 55(isamp1DA): 54(ptr) Variable UniformConstant 114 61: TypeImage 30(int) 2D array sampled format:Unknown 115 62: TypeSampledImage 61 116 63: TypePointer UniformConstant 62 117 64(usamp2DA): 63(ptr) Variable UniformConstant 118 70: TypeImage 19(int) Cube array sampled format:Unknown 119 71: TypeSampledImage 70 120 72: TypePointer UniformConstant 71 121 73(isampCubeA): 72(ptr) Variable UniformConstant 122 79: TypeImage 6(float) 1D depth sampled format:Unknown 123 80: TypeSampledImage 79 124 81: TypePointer UniformConstant 80 125 82(samp1Ds): 81(ptr) Variable UniformConstant 126 88: TypeImage 6(float) 2D depth sampled format:Unknown 127 89: TypeSampledImage 88 128 90: TypePointer UniformConstant 89 129 91(samp2Ds): 90(ptr) Variable UniformConstant 130 97: TypeImage 6(float) Cube depth sampled format:Unknown 131 98: TypeSampledImage 97 132 99: TypePointer UniformConstant 98 133 100(sampCubes): 99(ptr) Variable UniformConstant 134 106: TypeImage 6(float) 1D depth array sampled format:Unknown 135 107: TypeSampledImage 106 136 108: TypePointer UniformConstant 107 137 109(samp1DAs): 108(ptr) Variable UniformConstant 138 115: TypeImage 6(float) 2D depth array sampled format:Unknown 139 116: TypeSampledImage 115 140 117: TypePointer UniformConstant 116 141 118(samp2DAs): 117(ptr) Variable UniformConstant 142 124: TypeImage 6(float) Cube depth array sampled format:Unknown 143 125: TypeSampledImage 124 144 126: TypePointer UniformConstant 125 145 127(sampCubeAs): 126(ptr) Variable UniformConstant 146 133: TypePointer Function 19(int) 147 138: TypeImage 30(int) 2D sampled format:Unknown 148 139: TypeSampledImage 138 149 140: TypePointer UniformConstant 139 150 141(usamp2D): 140(ptr) Variable UniformConstant 151 147: TypeImage 19(int) 3D sampled format:Unknown 152 148: TypeSampledImage 147 153 149: TypePointer UniformConstant 148 154 150(isamp3D): 149(ptr) Variable UniformConstant 155 156: TypeImage 19(int) Cube sampled format:Unknown 156 157: TypeSampledImage 156 157 158: TypePointer UniformConstant 157 158 159(isampCube): 158(ptr) Variable UniformConstant 159 170: TypeImage 6(float) 2D array sampled format:Unknown 160 171: TypeSampledImage 170 161 172: TypePointer UniformConstant 171 162 173(samp2DA): 172(ptr) Variable UniformConstant 163 179: TypeImage 30(int) Cube array sampled format:Unknown 164 180: TypeSampledImage 179 165 181: TypePointer UniformConstant 180 166 182(usampCubeA): 181(ptr) Variable UniformConstant 167 216: TypeImage 6(float) Buffer sampled format:Unknown 168 217: TypeSampledImage 216 169 218: TypePointer UniformConstant 217 170 219(sampBuf): 218(ptr) Variable UniformConstant 171 220: TypeImage 6(float) Rect sampled format:Unknown 172 221: TypeSampledImage 220 173 222: TypePointer UniformConstant 221 174 223(sampRect): 222(ptr) Variable UniformConstant 175 4(main): 2 Function None 3 176 5: Label 177 9(lod): 8(ptr) Variable Function 178 16(pf): 15(ptr) Variable Function 179 25(pf2): 8(ptr) Variable Function 180 38(pf3): 37(ptr) Variable Function 181 134(levels): 133(ptr) Variable Function 182 14: 11 Load 13(samp1D) 183 17: 6(float) Load 16(pf) 184 18: 7(fvec2) ImageQueryLod 14 17 185 Store 9(lod) 18 186 24: 21 Load 23(isamp2D) 187 26: 7(fvec2) Load 25(pf2) 188 27: 7(fvec2) ImageQueryLod 24 26 189 28: 7(fvec2) Load 9(lod) 190 29: 7(fvec2) FAdd 28 27 191 Store 9(lod) 29 192 35: 32 Load 34(usamp3D) 193 39: 36(fvec3) Load 38(pf3) 194 40: 7(fvec2) ImageQueryLod 35 39 195 41: 7(fvec2) Load 9(lod) 196 42: 7(fvec2) FAdd 41 40 197 Store 9(lod) 42 198 47: 44 Load 46(sampCube) 199 48: 36(fvec3) Load 38(pf3) 200 49: 7(fvec2) ImageQueryLod 47 48 201 50: 7(fvec2) Load 9(lod) 202 51: 7(fvec2) FAdd 50 49 203 Store 9(lod) 51 204 56: 53 Load 55(isamp1DA) 205 57: 6(float) Load 16(pf) 206 58: 7(fvec2) ImageQueryLod 56 57 207 59: 7(fvec2) Load 9(lod) 208 60: 7(fvec2) FAdd 59 58 209 Store 9(lod) 60 210 65: 62 Load 64(usamp2DA) 211 66: 7(fvec2) Load 25(pf2) 212 67: 7(fvec2) ImageQueryLod 65 66 213 68: 7(fvec2) Load 9(lod) 214 69: 7(fvec2) FAdd 68 67 215 Store 9(lod) 69 216 74: 71 Load 73(isampCubeA) 217 75: 36(fvec3) Load 38(pf3) 218 76: 7(fvec2) ImageQueryLod 74 75 219 77: 7(fvec2) Load 9(lod) 220 78: 7(fvec2) FAdd 77 76 221 Store 9(lod) 78 222 83: 80 Load 82(samp1Ds) 223 84: 6(float) Load 16(pf) 224 85: 7(fvec2) ImageQueryLod 83 84 225 86: 7(fvec2) Load 9(lod) 226 87: 7(fvec2) FAdd 86 85 227 Store 9(lod) 87 228 92: 89 Load 91(samp2Ds) 229 93: 7(fvec2) Load 25(pf2) 230 94: 7(fvec2) ImageQueryLod 92 93 231 95: 7(fvec2) Load 9(lod) 232 96: 7(fvec2) FAdd 95 94 233 Store 9(lod) 96 234 101: 98 Load 100(sampCubes) 235 102: 36(fvec3) Load 38(pf3) 236 103: 7(fvec2) ImageQueryLod 101 102 237 104: 7(fvec2) Load 9(lod) 238 105: 7(fvec2) FAdd 104 103 239 Store 9(lod) 105 240 110: 107 Load 109(samp1DAs) 241 111: 6(float) Load 16(pf) 242 112: 7(fvec2) ImageQueryLod 110 111 243 113: 7(fvec2) Load 9(lod) 244 114: 7(fvec2) FAdd 113 112 245 Store 9(lod) 114 246 119: 116 Load 118(samp2DAs) 247 120: 7(fvec2) Load 25(pf2) 248 121: 7(fvec2) ImageQueryLod 119 120 249 122: 7(fvec2) Load 9(lod) 250 123: 7(fvec2) FAdd 122 121 251 Store 9(lod) 123 252 128: 125 Load 127(sampCubeAs) 253 129: 36(fvec3) Load 38(pf3) 254 130: 7(fvec2) ImageQueryLod 128 129 255 131: 7(fvec2) Load 9(lod) 256 132: 7(fvec2) FAdd 131 130 257 Store 9(lod) 132 258 135: 11 Load 13(samp1D) 259 136: 10 Image 135 260 137: 19(int) ImageQueryLevels 136 261 Store 134(levels) 137 262 142: 139 Load 141(usamp2D) 263 143: 138 Image 142 264 144: 19(int) ImageQueryLevels 143 265 145: 19(int) Load 134(levels) 266 146: 19(int) IAdd 145 144 267 Store 134(levels) 146 268 151: 148 Load 150(isamp3D) 269 152: 147 Image 151 270 153: 19(int) ImageQueryLevels 152 271 154: 19(int) Load 134(levels) 272 155: 19(int) IAdd 154 153 273 Store 134(levels) 155 274 160: 157 Load 159(isampCube) 275 161: 156 Image 160 276 162: 19(int) ImageQueryLevels 161 277 163: 19(int) Load 134(levels) 278 164: 19(int) IAdd 163 162 279 Store 134(levels) 164 280 165: 53 Load 55(isamp1DA) 281 166: 52 Image 165 282 167: 19(int) ImageQueryLevels 166 283 168: 19(int) Load 134(levels) 284 169: 19(int) IAdd 168 167 285 Store 134(levels) 169 286 174: 171 Load 173(samp2DA) 287 175: 170 Image 174 288 176: 19(int) ImageQueryLevels 175 289 177: 19(int) Load 134(levels) 290 178: 19(int) IAdd 177 176 291 Store 134(levels) 178 292 183: 180 Load 182(usampCubeA) 293 184: 179 Image 183 294 185: 19(int) ImageQueryLevels 184 295 186: 19(int) Load 134(levels) 296 187: 19(int) IAdd 186 185 297 Store 134(levels) 187 298 188: 80 Load 82(samp1Ds) 299 189: 79 Image 188 300 190: 19(int) ImageQueryLevels 189 301 Store 134(levels) 190 302 191: 89 Load 91(samp2Ds) 303 192: 88 Image 191 304 193: 19(int) ImageQueryLevels 192 305 194: 19(int) Load 134(levels) 306 195: 19(int) IAdd 194 193 307 Store 134(levels) 195 308 196: 98 Load 100(sampCubes) 309 197: 97 Image 196 310 198: 19(int) ImageQueryLevels 197 311 199: 19(int) Load 134(levels) 312 200: 19(int) IAdd 199 198 313 Store 134(levels) 200 314 201: 107 Load 109(samp1DAs) 315 202: 106 Image 201 316 203: 19(int) ImageQueryLevels 202 317 204: 19(int) Load 134(levels) 318 205: 19(int) IAdd 204 203 319 Store 134(levels) 205 320 206: 116 Load 118(samp2DAs) 321 207: 115 Image 206 322 208: 19(int) ImageQueryLevels 207 323 209: 19(int) Load 134(levels) 324 210: 19(int) IAdd 209 208 325 Store 134(levels) 210 326 211: 125 Load 127(sampCubeAs) 327 212: 124 Image 211 328 213: 19(int) ImageQueryLevels 212 329 214: 19(int) Load 134(levels) 330 215: 19(int) IAdd 214 213 331 Store 134(levels) 215 332 Return 333 FunctionEnd 334