yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
33c7e308
main
1spv.newTexture.frag 2Validation failed 3// Module Version 10000 4// Generated by (magic number): 8000b 5// Id's are bound by 278 6 7 Capability Shader 8 Capability SampledRect 9 Capability SampledCubeArray 10 Capability ImageQuery 11 1: ExtInstImport "GLSL.std.450" 12 MemoryModel Logical GLSL450 13 EntryPoint Fragment 4 "main" 17 26 29 55 81 84 92 247 277 14 ExecutionMode 4 OriginUpperLeft 15 Source GLSL 430 16 Name 4 "main" 17 Name 9 "v" 18 Name 13 "s2D" 19 Name 17 "c2D" 20 Name 23 "sCubeArrayShadow" 21 Name 26 "c4D" 22 Name 29 "c1D" 23 Name 42 "s3D" 24 Name 51 "s2DArray" 25 Name 55 "c3D" 26 Name 64 "s2DShadow" 27 Name 81 "ic3D" 28 Name 84 "ic1D" 29 Name 92 "ic2D" 30 Name 102 "sr" 31 Name 128 "sCube" 32 Name 137 "s2DArrayShadow" 33 Name 162 "iv" 34 Name 166 "is2D" 35 Name 202 "is3D" 36 Name 214 "isCube" 37 Name 226 "is2DArray" 38 Name 237 "iv2" 39 Name 241 "sCubeShadow" 40 Name 247 "FragData" 41 Name 259 "is2Dms" 42 Name 263 "us2D" 43 Name 267 "us3D" 44 Name 271 "usCube" 45 Name 275 "us2DArray" 46 Name 277 "ic4D" 47 Decorate 13(s2D) Binding 0 48 Decorate 13(s2D) DescriptorSet 0 49 Decorate 17(c2D) Location 1 50 Decorate 23(sCubeArrayShadow) Binding 5 51 Decorate 23(sCubeArrayShadow) DescriptorSet 0 52 Decorate 26(c4D) Location 3 53 Decorate 29(c1D) Location 0 54 Decorate 42(s3D) Binding 2 55 Decorate 42(s3D) DescriptorSet 0 56 Decorate 51(s2DArray) Binding 7 57 Decorate 51(s2DArray) DescriptorSet 0 58 Decorate 55(c3D) Location 2 59 Decorate 64(s2DShadow) Binding 6 60 Decorate 64(s2DShadow) DescriptorSet 0 61 Decorate 81(ic3D) Flat 62 Decorate 81(ic3D) Location 6 63 Decorate 84(ic1D) Flat 64 Decorate 84(ic1D) Location 4 65 Decorate 92(ic2D) Flat 66 Decorate 92(ic2D) Location 5 67 Decorate 102(sr) Binding 1 68 Decorate 102(sr) DescriptorSet 0 69 Decorate 128(sCube) Binding 3 70 Decorate 128(sCube) DescriptorSet 0 71 Decorate 137(s2DArrayShadow) Binding 8 72 Decorate 137(s2DArrayShadow) DescriptorSet 0 73 Decorate 166(is2D) Binding 9 74 Decorate 166(is2D) DescriptorSet 0 75 Decorate 202(is3D) Binding 10 76 Decorate 202(is3D) DescriptorSet 0 77 Decorate 214(isCube) Binding 11 78 Decorate 214(isCube) DescriptorSet 0 79 Decorate 226(is2DArray) Binding 12 80 Decorate 226(is2DArray) DescriptorSet 0 81 Decorate 241(sCubeShadow) Binding 4 82 Decorate 241(sCubeShadow) DescriptorSet 0 83 Decorate 247(FragData) Location 0 84 Decorate 259(is2Dms) Binding 0 85 Decorate 259(is2Dms) DescriptorSet 0 86 Decorate 263(us2D) Binding 0 87 Decorate 263(us2D) DescriptorSet 0 88 Decorate 267(us3D) Binding 0 89 Decorate 267(us3D) DescriptorSet 0 90 Decorate 271(usCube) Binding 0 91 Decorate 271(usCube) DescriptorSet 0 92 Decorate 275(us2DArray) Binding 0 93 Decorate 275(us2DArray) DescriptorSet 0 94 Decorate 277(ic4D) Flat 95 Decorate 277(ic4D) Location 7 96 2: TypeVoid 97 3: TypeFunction 2 98 6: TypeFloat 32 99 7: TypeVector 6(float) 4 100 8: TypePointer Function 7(fvec4) 101 10: TypeImage 6(float) 2D sampled format:Unknown 102 11: TypeSampledImage 10 103 12: TypePointer UniformConstant 11 104 13(s2D): 12(ptr) Variable UniformConstant 105 15: TypeVector 6(float) 2 106 16: TypePointer Input 15(fvec2) 107 17(c2D): 16(ptr) Variable Input 108 20: TypeImage 6(float) Cube depth array sampled format:Unknown 109 21: TypeSampledImage 20 110 22: TypePointer UniformConstant 21 11123(sCubeArrayShadow): 22(ptr) Variable UniformConstant 112 25: TypePointer Input 7(fvec4) 113 26(c4D): 25(ptr) Variable Input 114 28: TypePointer Input 6(float) 115 29(c1D): 28(ptr) Variable Input 116 32: TypeInt 32 0 117 33: 32(int) Constant 1 118 34: TypePointer Function 6(float) 119 39: TypeImage 6(float) 3D sampled format:Unknown 120 40: TypeSampledImage 39 121 41: TypePointer UniformConstant 40 122 42(s3D): 41(ptr) Variable UniformConstant 123 48: TypeImage 6(float) 2D array sampled format:Unknown 124 49: TypeSampledImage 48 125 50: TypePointer UniformConstant 49 126 51(s2DArray): 50(ptr) Variable UniformConstant 127 53: TypeVector 6(float) 3 128 54: TypePointer Input 53(fvec3) 129 55(c3D): 54(ptr) Variable Input 130 57: 6(float) Constant 1067030938 131 61: TypeImage 6(float) 2D depth sampled format:Unknown 132 62: TypeSampledImage 61 133 63: TypePointer UniformConstant 62 134 64(s2DShadow): 63(ptr) Variable UniformConstant 135 67: TypeInt 32 1 136 68: TypeVector 67(int) 2 137 69: 67(int) Constant 3 138 70: 68(ivec2) ConstantComposite 69 69 139 79: TypeVector 67(int) 3 140 80: TypePointer Input 79(ivec3) 141 81(ic3D): 80(ptr) Variable Input 142 83: TypePointer Input 67(int) 143 84(ic1D): 83(ptr) Variable Input 144 91: TypePointer Input 68(ivec2) 145 92(ic2D): 91(ptr) Variable Input 146 94: 67(int) Constant 4 147 99: TypeImage 6(float) Rect sampled format:Unknown 148 100: TypeSampledImage 99 149 101: TypePointer UniformConstant 100 150 102(sr): 101(ptr) Variable UniformConstant 151 105: 68(ivec2) ConstantComposite 94 94 152 125: TypeImage 6(float) Cube sampled format:Unknown 153 126: TypeSampledImage 125 154 127: TypePointer UniformConstant 126 155 128(sCube): 127(ptr) Variable UniformConstant 156 134: TypeImage 6(float) 2D depth array sampled format:Unknown 157 135: TypeSampledImage 134 158 136: TypePointer UniformConstant 135 159137(s2DArrayShadow): 136(ptr) Variable UniformConstant 160 143: 32(int) Constant 0 161 160: TypeVector 67(int) 4 162 161: TypePointer Function 160(ivec4) 163 163: TypeImage 67(int) 2D sampled format:Unknown 164 164: TypeSampledImage 163 165 165: TypePointer UniformConstant 164 166 166(is2D): 165(ptr) Variable UniformConstant 167 199: TypeImage 67(int) 3D sampled format:Unknown 168 200: TypeSampledImage 199 169 201: TypePointer UniformConstant 200 170 202(is3D): 201(ptr) Variable UniformConstant 171 205: 6(float) Constant 1082549862 172 211: TypeImage 67(int) Cube sampled format:Unknown 173 212: TypeSampledImage 211 174 213: TypePointer UniformConstant 212 175 214(isCube): 213(ptr) Variable UniformConstant 176 223: TypeImage 67(int) 2D array sampled format:Unknown 177 224: TypeSampledImage 223 178 225: TypePointer UniformConstant 224 179 226(is2DArray): 225(ptr) Variable UniformConstant 180 236: TypePointer Function 68(ivec2) 181 238: TypeImage 6(float) Cube depth sampled format:Unknown 182 239: TypeSampledImage 238 183 240: TypePointer UniformConstant 239 184241(sCubeShadow): 240(ptr) Variable UniformConstant 185 243: 67(int) Constant 2 186 246: TypePointer Output 7(fvec4) 187 247(FragData): 246(ptr) Variable Output 188 251: 6(float) Constant 0 189 256: TypeImage 67(int) 2D multi-sampled sampled format:Unknown 190 257: TypeSampledImage 256 191 258: TypePointer UniformConstant 257 192 259(is2Dms): 258(ptr) Variable UniformConstant 193 260: TypeImage 32(int) 2D sampled format:Unknown 194 261: TypeSampledImage 260 195 262: TypePointer UniformConstant 261 196 263(us2D): 262(ptr) Variable UniformConstant 197 264: TypeImage 32(int) 3D sampled format:Unknown 198 265: TypeSampledImage 264 199 266: TypePointer UniformConstant 265 200 267(us3D): 266(ptr) Variable UniformConstant 201 268: TypeImage 32(int) Cube sampled format:Unknown 202 269: TypeSampledImage 268 203 270: TypePointer UniformConstant 269 204 271(usCube): 270(ptr) Variable UniformConstant 205 272: TypeImage 32(int) 2D array sampled format:Unknown 206 273: TypeSampledImage 272 207 274: TypePointer UniformConstant 273 208 275(us2DArray): 274(ptr) Variable UniformConstant 209 276: TypePointer Input 160(ivec4) 210 277(ic4D): 276(ptr) Variable Input 211 4(main): 2 Function None 3 212 5: Label 213 9(v): 8(ptr) Variable Function 214 162(iv): 161(ptr) Variable Function 215 237(iv2): 236(ptr) Variable Function 216 14: 11 Load 13(s2D) 217 18: 15(fvec2) Load 17(c2D) 218 19: 7(fvec4) ImageSampleImplicitLod 14 18 219 Store 9(v) 19 220 24: 21 Load 23(sCubeArrayShadow) 221 27: 7(fvec4) Load 26(c4D) 222 30: 6(float) Load 29(c1D) 223 31: 6(float) ImageSampleDrefImplicitLod 24 27 30 224 35: 34(ptr) AccessChain 9(v) 33 225 36: 6(float) Load 35 226 37: 6(float) FAdd 36 31 227 38: 34(ptr) AccessChain 9(v) 33 228 Store 38 37 229 43: 40 Load 42(s3D) 230 44: 7(fvec4) Load 26(c4D) 231 45: 7(fvec4) ImageSampleProjImplicitLod 43 44 232 46: 7(fvec4) Load 9(v) 233 47: 7(fvec4) FAdd 46 45 234 Store 9(v) 47 235 52: 49 Load 51(s2DArray) 236 56: 53(fvec3) Load 55(c3D) 237 58: 7(fvec4) ImageSampleExplicitLod 52 56 Lod 57 238 59: 7(fvec4) Load 9(v) 239 60: 7(fvec4) FAdd 59 58 240 Store 9(v) 60 241 65: 62 Load 64(s2DShadow) 242 66: 53(fvec3) Load 55(c3D) 243 71: 6(float) Load 29(c1D) 244 72: 6(float) CompositeExtract 66 2 245 73: 6(float) ImageSampleDrefImplicitLod 65 66 72 Bias ConstOffset 71 70 246 74: 34(ptr) AccessChain 9(v) 33 247 75: 6(float) Load 74 248 76: 6(float) FAdd 75 73 249 77: 34(ptr) AccessChain 9(v) 33 250 Store 77 76 251 78: 40 Load 42(s3D) 252 82: 79(ivec3) Load 81(ic3D) 253 85: 67(int) Load 84(ic1D) 254 86: 39 Image 78 255 87: 7(fvec4) ImageFetch 86 82 Lod 85 256 88: 7(fvec4) Load 9(v) 257 89: 7(fvec4) FAdd 88 87 258 Store 9(v) 89 259 90: 11 Load 13(s2D) 260 93: 68(ivec2) Load 92(ic2D) 261 95: 10 Image 90 262 96: 7(fvec4) ImageFetch 95 93 Lod ConstOffset 94 70 263 97: 7(fvec4) Load 9(v) 264 98: 7(fvec4) FAdd 97 96 265 Store 9(v) 98 266 103: 100 Load 102(sr) 267 104: 68(ivec2) Load 92(ic2D) 268 106: 99 Image 103 269 107: 7(fvec4) ImageFetch 106 104 ConstOffset 105 270 108: 7(fvec4) Load 9(v) 271 109: 7(fvec4) FAdd 108 107 272 Store 9(v) 109 273 110: 62 Load 64(s2DShadow) 274 111: 53(fvec3) Load 55(c3D) 275 112: 6(float) Load 29(c1D) 276 113: 6(float) CompositeExtract 111 2 277 114: 6(float) ImageSampleDrefExplicitLod 110 111 113 Lod ConstOffset 112 70 278 115: 34(ptr) AccessChain 9(v) 33 279 116: 6(float) Load 115 280 117: 6(float) FAdd 116 114 281 118: 34(ptr) AccessChain 9(v) 33 282 Store 118 117 283 119: 11 Load 13(s2D) 284 120: 53(fvec3) Load 55(c3D) 285 121: 6(float) Load 29(c1D) 286 122: 7(fvec4) ImageSampleProjExplicitLod 119 120 Lod ConstOffset 121 70 287 123: 7(fvec4) Load 9(v) 288 124: 7(fvec4) FAdd 123 122 289 Store 9(v) 124 290 129: 126 Load 128(sCube) 291 130: 53(fvec3) Load 55(c3D) 292 131: 7(fvec4) ImageSampleExplicitLod 129 130 Grad 130 130 293 132: 7(fvec4) Load 9(v) 294 133: 7(fvec4) FAdd 132 131 295 Store 9(v) 133 296 138: 135 Load 137(s2DArrayShadow) 297 139: 7(fvec4) Load 26(c4D) 298 140: 15(fvec2) Load 17(c2D) 299 141: 6(float) CompositeExtract 139 3 300 142: 6(float) ImageSampleDrefExplicitLod 138 139 141 Grad ConstOffset 140 140 70 301 144: 34(ptr) AccessChain 9(v) 143 302 145: 6(float) Load 144 303 146: 6(float) FAdd 145 142 304 147: 34(ptr) AccessChain 9(v) 143 305 Store 147 146 306 148: 40 Load 42(s3D) 307 149: 7(fvec4) Load 26(c4D) 308 150: 53(fvec3) Load 55(c3D) 309 151: 7(fvec4) ImageSampleProjExplicitLod 148 149 Grad 150 150 310 152: 7(fvec4) Load 9(v) 311 153: 7(fvec4) FAdd 152 151 312 Store 9(v) 153 313 154: 11 Load 13(s2D) 314 155: 53(fvec3) Load 55(c3D) 315 156: 15(fvec2) Load 17(c2D) 316 157: 7(fvec4) ImageSampleProjExplicitLod 154 155 Grad ConstOffset 156 156 70 317 158: 7(fvec4) Load 9(v) 318 159: 7(fvec4) FAdd 158 157 319 Store 9(v) 159 320 167: 164 Load 166(is2D) 321 168: 15(fvec2) Load 17(c2D) 322 169: 160(ivec4) ImageSampleImplicitLod 167 168 323 Store 162(iv) 169 324 170: 160(ivec4) Load 162(iv) 325 171: 7(fvec4) ConvertSToF 170 326 172: 7(fvec4) Load 9(v) 327 173: 7(fvec4) FAdd 172 171 328 Store 9(v) 173 329 174: 164 Load 166(is2D) 330 175: 7(fvec4) Load 26(c4D) 331 176: 6(float) CompositeExtract 175 3 332 177: 7(fvec4) CompositeInsert 176 175 2 333 178: 160(ivec4) ImageSampleProjImplicitLod 174 177 ConstOffset 70 334 Store 162(iv) 178 335 179: 160(ivec4) Load 162(iv) 336 180: 7(fvec4) ConvertSToF 179 337 181: 7(fvec4) Load 9(v) 338 182: 7(fvec4) FAdd 181 180 339 Store 9(v) 182 340 183: 164 Load 166(is2D) 341 184: 53(fvec3) Load 55(c3D) 342 185: 6(float) Load 29(c1D) 343 186: 160(ivec4) ImageSampleProjExplicitLod 183 184 Lod 185 344 Store 162(iv) 186 345 187: 160(ivec4) Load 162(iv) 346 188: 7(fvec4) ConvertSToF 187 347 189: 7(fvec4) Load 9(v) 348 190: 7(fvec4) FAdd 189 188 349 Store 9(v) 190 350 191: 164 Load 166(is2D) 351 192: 53(fvec3) Load 55(c3D) 352 193: 15(fvec2) Load 17(c2D) 353 194: 160(ivec4) ImageSampleProjExplicitLod 191 192 Grad 193 193 354 Store 162(iv) 194 355 195: 160(ivec4) Load 162(iv) 356 196: 7(fvec4) ConvertSToF 195 357 197: 7(fvec4) Load 9(v) 358 198: 7(fvec4) FAdd 197 196 359 Store 9(v) 198 360 203: 200 Load 202(is3D) 361 204: 53(fvec3) Load 55(c3D) 362 206: 160(ivec4) ImageSampleImplicitLod 203 204 Bias 205 363 Store 162(iv) 206 364 207: 160(ivec4) Load 162(iv) 365 208: 7(fvec4) ConvertSToF 207 366 209: 7(fvec4) Load 9(v) 367 210: 7(fvec4) FAdd 209 208 368 Store 9(v) 210 369 215: 212 Load 214(isCube) 370 216: 53(fvec3) Load 55(c3D) 371 217: 6(float) Load 29(c1D) 372 218: 160(ivec4) ImageSampleExplicitLod 215 216 Lod 217 373 Store 162(iv) 218 374 219: 160(ivec4) Load 162(iv) 375 220: 7(fvec4) ConvertSToF 219 376 221: 7(fvec4) Load 9(v) 377 222: 7(fvec4) FAdd 221 220 378 Store 9(v) 222 379 227: 224 Load 226(is2DArray) 380 228: 79(ivec3) Load 81(ic3D) 381 229: 67(int) Load 84(ic1D) 382 230: 223 Image 227 383 231: 160(ivec4) ImageFetch 230 228 Lod 229 384 Store 162(iv) 231 385 232: 160(ivec4) Load 162(iv) 386 233: 7(fvec4) ConvertSToF 232 387 234: 7(fvec4) Load 9(v) 388 235: 7(fvec4) FAdd 234 233 389 Store 9(v) 235 390 242: 239 Load 241(sCubeShadow) 391 244: 238 Image 242 392 245: 68(ivec2) ImageQuerySizeLod 244 243 393 Store 237(iv2) 245 394 248: 7(fvec4) Load 9(v) 395 249: 68(ivec2) Load 237(iv2) 396 250: 15(fvec2) ConvertSToF 249 397 252: 6(float) CompositeExtract 250 0 398 253: 6(float) CompositeExtract 250 1 399 254: 7(fvec4) CompositeConstruct 252 253 251 251 400 255: 7(fvec4) FAdd 248 254 401 Store 247(FragData) 255 402 Return 403 FunctionEnd