| spv.newTexture.frag |
| Validation failed |
| // Module Version 10000 |
| // Generated by (magic number): 80009 |
| // Id's are bound by 284 |
| |
| Capability Shader |
| Capability SampledRect |
| Capability SampledCubeArray |
| Capability ImageQuery |
| 1: ExtInstImport "GLSL.std.450" |
| MemoryModel Logical GLSL450 |
| EntryPoint Fragment 4 "main" 17 26 29 55 81 84 92 253 283 |
| ExecutionMode 4 OriginUpperLeft |
| Source GLSL 430 |
| Name 4 "main" |
| Name 9 "v" |
| Name 13 "s2D" |
| Name 17 "c2D" |
| Name 23 "sCubeArrayShadow" |
| Name 26 "c4D" |
| Name 29 "c1D" |
| Name 42 "s3D" |
| Name 51 "s2DArray" |
| Name 55 "c3D" |
| Name 64 "s2DShadow" |
| Name 81 "ic3D" |
| Name 84 "ic1D" |
| Name 92 "ic2D" |
| Name 102 "sr" |
| Name 128 "sCube" |
| Name 139 "s2DArrayShadow" |
| Name 167 "iv" |
| Name 171 "is2D" |
| Name 208 "is3D" |
| Name 220 "isCube" |
| Name 232 "is2DArray" |
| Name 243 "iv2" |
| Name 247 "sCubeShadow" |
| Name 253 "FragData" |
| Name 265 "is2Dms" |
| Name 269 "us2D" |
| Name 273 "us3D" |
| Name 277 "usCube" |
| Name 281 "us2DArray" |
| Name 283 "ic4D" |
| Decorate 13(s2D) DescriptorSet 0 |
| Decorate 13(s2D) Binding 0 |
| Decorate 23(sCubeArrayShadow) DescriptorSet 0 |
| Decorate 23(sCubeArrayShadow) Binding 0 |
| Decorate 42(s3D) DescriptorSet 0 |
| Decorate 42(s3D) Binding 0 |
| Decorate 51(s2DArray) DescriptorSet 0 |
| Decorate 51(s2DArray) Binding 0 |
| Decorate 64(s2DShadow) DescriptorSet 0 |
| Decorate 64(s2DShadow) Binding 0 |
| Decorate 81(ic3D) Flat |
| Decorate 84(ic1D) Flat |
| Decorate 92(ic2D) Flat |
| Decorate 102(sr) DescriptorSet 0 |
| Decorate 102(sr) Binding 0 |
| Decorate 128(sCube) DescriptorSet 0 |
| Decorate 128(sCube) Binding 0 |
| Decorate 139(s2DArrayShadow) DescriptorSet 0 |
| Decorate 139(s2DArrayShadow) Binding 0 |
| Decorate 171(is2D) DescriptorSet 0 |
| Decorate 171(is2D) Binding 0 |
| Decorate 208(is3D) DescriptorSet 0 |
| Decorate 208(is3D) Binding 0 |
| Decorate 220(isCube) DescriptorSet 0 |
| Decorate 220(isCube) Binding 0 |
| Decorate 232(is2DArray) DescriptorSet 0 |
| Decorate 232(is2DArray) Binding 0 |
| Decorate 247(sCubeShadow) DescriptorSet 0 |
| Decorate 247(sCubeShadow) Binding 0 |
| Decorate 265(is2Dms) DescriptorSet 0 |
| Decorate 265(is2Dms) Binding 0 |
| Decorate 269(us2D) DescriptorSet 0 |
| Decorate 269(us2D) Binding 0 |
| Decorate 273(us3D) DescriptorSet 0 |
| Decorate 273(us3D) Binding 0 |
| Decorate 277(usCube) DescriptorSet 0 |
| Decorate 277(usCube) Binding 0 |
| Decorate 281(us2DArray) DescriptorSet 0 |
| Decorate 281(us2DArray) Binding 0 |
| Decorate 283(ic4D) Flat |
| 2: TypeVoid |
| 3: TypeFunction 2 |
| 6: TypeFloat 32 |
| 7: TypeVector 6(float) 4 |
| 8: TypePointer Function 7(fvec4) |
| 10: TypeImage 6(float) 2D sampled format:Unknown |
| 11: TypeSampledImage 10 |
| 12: TypePointer UniformConstant 11 |
| 13(s2D): 12(ptr) Variable UniformConstant |
| 15: TypeVector 6(float) 2 |
| 16: TypePointer Input 15(fvec2) |
| 17(c2D): 16(ptr) Variable Input |
| 20: TypeImage 6(float) Cube depth array sampled format:Unknown |
| 21: TypeSampledImage 20 |
| 22: TypePointer UniformConstant 21 |
| 23(sCubeArrayShadow): 22(ptr) Variable UniformConstant |
| 25: TypePointer Input 7(fvec4) |
| 26(c4D): 25(ptr) Variable Input |
| 28: TypePointer Input 6(float) |
| 29(c1D): 28(ptr) Variable Input |
| 32: TypeInt 32 0 |
| 33: 32(int) Constant 1 |
| 34: TypePointer Function 6(float) |
| 39: TypeImage 6(float) 3D sampled format:Unknown |
| 40: TypeSampledImage 39 |
| 41: TypePointer UniformConstant 40 |
| 42(s3D): 41(ptr) Variable UniformConstant |
| 48: TypeImage 6(float) 2D array sampled format:Unknown |
| 49: TypeSampledImage 48 |
| 50: TypePointer UniformConstant 49 |
| 51(s2DArray): 50(ptr) Variable UniformConstant |
| 53: TypeVector 6(float) 3 |
| 54: TypePointer Input 53(fvec3) |
| 55(c3D): 54(ptr) Variable Input |
| 57: 6(float) Constant 1067030938 |
| 61: TypeImage 6(float) 2D depth sampled format:Unknown |
| 62: TypeSampledImage 61 |
| 63: TypePointer UniformConstant 62 |
| 64(s2DShadow): 63(ptr) Variable UniformConstant |
| 67: TypeInt 32 1 |
| 68: TypeVector 67(int) 2 |
| 69: 67(int) Constant 3 |
| 70: 68(ivec2) ConstantComposite 69 69 |
| 79: TypeVector 67(int) 3 |
| 80: TypePointer Input 79(ivec3) |
| 81(ic3D): 80(ptr) Variable Input |
| 83: TypePointer Input 67(int) |
| 84(ic1D): 83(ptr) Variable Input |
| 91: TypePointer Input 68(ivec2) |
| 92(ic2D): 91(ptr) Variable Input |
| 94: 67(int) Constant 4 |
| 99: TypeImage 6(float) Rect sampled format:Unknown |
| 100: TypeSampledImage 99 |
| 101: TypePointer UniformConstant 100 |
| 102(sr): 101(ptr) Variable UniformConstant |
| 105: 68(ivec2) ConstantComposite 94 94 |
| 125: TypeImage 6(float) Cube sampled format:Unknown |
| 126: TypeSampledImage 125 |
| 127: TypePointer UniformConstant 126 |
| 128(sCube): 127(ptr) Variable UniformConstant |
| 136: TypeImage 6(float) 2D depth array sampled format:Unknown |
| 137: TypeSampledImage 136 |
| 138: TypePointer UniformConstant 137 |
| 139(s2DArrayShadow): 138(ptr) Variable UniformConstant |
| 146: 32(int) Constant 0 |
| 165: TypeVector 67(int) 4 |
| 166: TypePointer Function 165(ivec4) |
| 168: TypeImage 67(int) 2D sampled format:Unknown |
| 169: TypeSampledImage 168 |
| 170: TypePointer UniformConstant 169 |
| 171(is2D): 170(ptr) Variable UniformConstant |
| 205: TypeImage 67(int) 3D sampled format:Unknown |
| 206: TypeSampledImage 205 |
| 207: TypePointer UniformConstant 206 |
| 208(is3D): 207(ptr) Variable UniformConstant |
| 211: 6(float) Constant 1082549862 |
| 217: TypeImage 67(int) Cube sampled format:Unknown |
| 218: TypeSampledImage 217 |
| 219: TypePointer UniformConstant 218 |
| 220(isCube): 219(ptr) Variable UniformConstant |
| 229: TypeImage 67(int) 2D array sampled format:Unknown |
| 230: TypeSampledImage 229 |
| 231: TypePointer UniformConstant 230 |
| 232(is2DArray): 231(ptr) Variable UniformConstant |
| 242: TypePointer Function 68(ivec2) |
| 244: TypeImage 6(float) Cube depth sampled format:Unknown |
| 245: TypeSampledImage 244 |
| 246: TypePointer UniformConstant 245 |
| 247(sCubeShadow): 246(ptr) Variable UniformConstant |
| 249: 67(int) Constant 2 |
| 252: TypePointer Output 7(fvec4) |
| 253(FragData): 252(ptr) Variable Output |
| 257: 6(float) Constant 0 |
| 262: TypeImage 67(int) 2D multi-sampled sampled format:Unknown |
| 263: TypeSampledImage 262 |
| 264: TypePointer UniformConstant 263 |
| 265(is2Dms): 264(ptr) Variable UniformConstant |
| 266: TypeImage 32(int) 2D sampled format:Unknown |
| 267: TypeSampledImage 266 |
| 268: TypePointer UniformConstant 267 |
| 269(us2D): 268(ptr) Variable UniformConstant |
| 270: TypeImage 32(int) 3D sampled format:Unknown |
| 271: TypeSampledImage 270 |
| 272: TypePointer UniformConstant 271 |
| 273(us3D): 272(ptr) Variable UniformConstant |
| 274: TypeImage 32(int) Cube sampled format:Unknown |
| 275: TypeSampledImage 274 |
| 276: TypePointer UniformConstant 275 |
| 277(usCube): 276(ptr) Variable UniformConstant |
| 278: TypeImage 32(int) 2D array sampled format:Unknown |
| 279: TypeSampledImage 278 |
| 280: TypePointer UniformConstant 279 |
| 281(us2DArray): 280(ptr) Variable UniformConstant |
| 282: TypePointer Input 165(ivec4) |
| 283(ic4D): 282(ptr) Variable Input |
| 4(main): 2 Function None 3 |
| 5: Label |
| 9(v): 8(ptr) Variable Function |
| 167(iv): 166(ptr) Variable Function |
| 243(iv2): 242(ptr) Variable Function |
| 14: 11 Load 13(s2D) |
| 18: 15(fvec2) Load 17(c2D) |
| 19: 7(fvec4) ImageSampleImplicitLod 14 18 |
| Store 9(v) 19 |
| 24: 21 Load 23(sCubeArrayShadow) |
| 27: 7(fvec4) Load 26(c4D) |
| 30: 6(float) Load 29(c1D) |
| 31: 6(float) ImageSampleDrefImplicitLod 24 27 30 |
| 35: 34(ptr) AccessChain 9(v) 33 |
| 36: 6(float) Load 35 |
| 37: 6(float) FAdd 36 31 |
| 38: 34(ptr) AccessChain 9(v) 33 |
| Store 38 37 |
| 43: 40 Load 42(s3D) |
| 44: 7(fvec4) Load 26(c4D) |
| 45: 7(fvec4) ImageSampleProjImplicitLod 43 44 |
| 46: 7(fvec4) Load 9(v) |
| 47: 7(fvec4) FAdd 46 45 |
| Store 9(v) 47 |
| 52: 49 Load 51(s2DArray) |
| 56: 53(fvec3) Load 55(c3D) |
| 58: 7(fvec4) ImageSampleExplicitLod 52 56 Lod 57 |
| 59: 7(fvec4) Load 9(v) |
| 60: 7(fvec4) FAdd 59 58 |
| Store 9(v) 60 |
| 65: 62 Load 64(s2DShadow) |
| 66: 53(fvec3) Load 55(c3D) |
| 71: 6(float) Load 29(c1D) |
| 72: 6(float) CompositeExtract 66 2 |
| 73: 6(float) ImageSampleDrefImplicitLod 65 66 72 Bias ConstOffset 71 70 |
| 74: 34(ptr) AccessChain 9(v) 33 |
| 75: 6(float) Load 74 |
| 76: 6(float) FAdd 75 73 |
| 77: 34(ptr) AccessChain 9(v) 33 |
| Store 77 76 |
| 78: 40 Load 42(s3D) |
| 82: 79(ivec3) Load 81(ic3D) |
| 85: 67(int) Load 84(ic1D) |
| 86: 39 Image 78 |
| 87: 7(fvec4) ImageFetch 86 82 Lod 85 |
| 88: 7(fvec4) Load 9(v) |
| 89: 7(fvec4) FAdd 88 87 |
| Store 9(v) 89 |
| 90: 11 Load 13(s2D) |
| 93: 68(ivec2) Load 92(ic2D) |
| 95: 10 Image 90 |
| 96: 7(fvec4) ImageFetch 95 93 Lod ConstOffset 94 70 |
| 97: 7(fvec4) Load 9(v) |
| 98: 7(fvec4) FAdd 97 96 |
| Store 9(v) 98 |
| 103: 100 Load 102(sr) |
| 104: 68(ivec2) Load 92(ic2D) |
| 106: 99 Image 103 |
| 107: 7(fvec4) ImageFetch 106 104 ConstOffset 105 |
| 108: 7(fvec4) Load 9(v) |
| 109: 7(fvec4) FAdd 108 107 |
| Store 9(v) 109 |
| 110: 62 Load 64(s2DShadow) |
| 111: 53(fvec3) Load 55(c3D) |
| 112: 6(float) Load 29(c1D) |
| 113: 6(float) CompositeExtract 111 2 |
| 114: 6(float) ImageSampleDrefExplicitLod 110 111 113 Lod ConstOffset 112 70 |
| 115: 34(ptr) AccessChain 9(v) 33 |
| 116: 6(float) Load 115 |
| 117: 6(float) FAdd 116 114 |
| 118: 34(ptr) AccessChain 9(v) 33 |
| Store 118 117 |
| 119: 11 Load 13(s2D) |
| 120: 53(fvec3) Load 55(c3D) |
| 121: 6(float) Load 29(c1D) |
| 122: 7(fvec4) ImageSampleProjExplicitLod 119 120 Lod ConstOffset 121 70 |
| 123: 7(fvec4) Load 9(v) |
| 124: 7(fvec4) FAdd 123 122 |
| Store 9(v) 124 |
| 129: 126 Load 128(sCube) |
| 130: 53(fvec3) Load 55(c3D) |
| 131: 53(fvec3) Load 55(c3D) |
| 132: 53(fvec3) Load 55(c3D) |
| 133: 7(fvec4) ImageSampleExplicitLod 129 130 Grad 131 132 |
| 134: 7(fvec4) Load 9(v) |
| 135: 7(fvec4) FAdd 134 133 |
| Store 9(v) 135 |
| 140: 137 Load 139(s2DArrayShadow) |
| 141: 7(fvec4) Load 26(c4D) |
| 142: 15(fvec2) Load 17(c2D) |
| 143: 15(fvec2) Load 17(c2D) |
| 144: 6(float) CompositeExtract 141 3 |
| 145: 6(float) ImageSampleDrefExplicitLod 140 141 144 Grad ConstOffset 142 143 70 |
| 147: 34(ptr) AccessChain 9(v) 146 |
| 148: 6(float) Load 147 |
| 149: 6(float) FAdd 148 145 |
| 150: 34(ptr) AccessChain 9(v) 146 |
| Store 150 149 |
| 151: 40 Load 42(s3D) |
| 152: 7(fvec4) Load 26(c4D) |
| 153: 53(fvec3) Load 55(c3D) |
| 154: 53(fvec3) Load 55(c3D) |
| 155: 7(fvec4) ImageSampleProjExplicitLod 151 152 Grad 153 154 |
| 156: 7(fvec4) Load 9(v) |
| 157: 7(fvec4) FAdd 156 155 |
| Store 9(v) 157 |
| 158: 11 Load 13(s2D) |
| 159: 53(fvec3) Load 55(c3D) |
| 160: 15(fvec2) Load 17(c2D) |
| 161: 15(fvec2) Load 17(c2D) |
| 162: 7(fvec4) ImageSampleProjExplicitLod 158 159 Grad ConstOffset 160 161 70 |
| 163: 7(fvec4) Load 9(v) |
| 164: 7(fvec4) FAdd 163 162 |
| Store 9(v) 164 |
| 172: 169 Load 171(is2D) |
| 173: 15(fvec2) Load 17(c2D) |
| 174: 165(ivec4) ImageSampleImplicitLod 172 173 |
| Store 167(iv) 174 |
| 175: 165(ivec4) Load 167(iv) |
| 176: 7(fvec4) ConvertSToF 175 |
| 177: 7(fvec4) Load 9(v) |
| 178: 7(fvec4) FAdd 177 176 |
| Store 9(v) 178 |
| 179: 169 Load 171(is2D) |
| 180: 7(fvec4) Load 26(c4D) |
| 181: 6(float) CompositeExtract 180 3 |
| 182: 7(fvec4) CompositeInsert 181 180 2 |
| 183: 165(ivec4) ImageSampleProjImplicitLod 179 182 ConstOffset 70 |
| Store 167(iv) 183 |
| 184: 165(ivec4) Load 167(iv) |
| 185: 7(fvec4) ConvertSToF 184 |
| 186: 7(fvec4) Load 9(v) |
| 187: 7(fvec4) FAdd 186 185 |
| Store 9(v) 187 |
| 188: 169 Load 171(is2D) |
| 189: 53(fvec3) Load 55(c3D) |
| 190: 6(float) Load 29(c1D) |
| 191: 165(ivec4) ImageSampleProjExplicitLod 188 189 Lod 190 |
| Store 167(iv) 191 |
| 192: 165(ivec4) Load 167(iv) |
| 193: 7(fvec4) ConvertSToF 192 |
| 194: 7(fvec4) Load 9(v) |
| 195: 7(fvec4) FAdd 194 193 |
| Store 9(v) 195 |
| 196: 169 Load 171(is2D) |
| 197: 53(fvec3) Load 55(c3D) |
| 198: 15(fvec2) Load 17(c2D) |
| 199: 15(fvec2) Load 17(c2D) |
| 200: 165(ivec4) ImageSampleProjExplicitLod 196 197 Grad 198 199 |
| Store 167(iv) 200 |
| 201: 165(ivec4) Load 167(iv) |
| 202: 7(fvec4) ConvertSToF 201 |
| 203: 7(fvec4) Load 9(v) |
| 204: 7(fvec4) FAdd 203 202 |
| Store 9(v) 204 |
| 209: 206 Load 208(is3D) |
| 210: 53(fvec3) Load 55(c3D) |
| 212: 165(ivec4) ImageSampleImplicitLod 209 210 Bias 211 |
| Store 167(iv) 212 |
| 213: 165(ivec4) Load 167(iv) |
| 214: 7(fvec4) ConvertSToF 213 |
| 215: 7(fvec4) Load 9(v) |
| 216: 7(fvec4) FAdd 215 214 |
| Store 9(v) 216 |
| 221: 218 Load 220(isCube) |
| 222: 53(fvec3) Load 55(c3D) |
| 223: 6(float) Load 29(c1D) |
| 224: 165(ivec4) ImageSampleExplicitLod 221 222 Lod 223 |
| Store 167(iv) 224 |
| 225: 165(ivec4) Load 167(iv) |
| 226: 7(fvec4) ConvertSToF 225 |
| 227: 7(fvec4) Load 9(v) |
| 228: 7(fvec4) FAdd 227 226 |
| Store 9(v) 228 |
| 233: 230 Load 232(is2DArray) |
| 234: 79(ivec3) Load 81(ic3D) |
| 235: 67(int) Load 84(ic1D) |
| 236: 229 Image 233 |
| 237: 165(ivec4) ImageFetch 236 234 Lod 235 |
| Store 167(iv) 237 |
| 238: 165(ivec4) Load 167(iv) |
| 239: 7(fvec4) ConvertSToF 238 |
| 240: 7(fvec4) Load 9(v) |
| 241: 7(fvec4) FAdd 240 239 |
| Store 9(v) 241 |
| 248: 245 Load 247(sCubeShadow) |
| 250: 244 Image 248 |
| 251: 68(ivec2) ImageQuerySizeLod 250 249 |
| Store 243(iv2) 251 |
| 254: 7(fvec4) Load 9(v) |
| 255: 68(ivec2) Load 243(iv2) |
| 256: 15(fvec2) ConvertSToF 255 |
| 258: 6(float) CompositeExtract 256 0 |
| 259: 6(float) CompositeExtract 256 1 |
| 260: 7(fvec4) CompositeConstruct 258 259 257 257 |
| 261: 7(fvec4) FAdd 254 260 |
| Store 253(FragData) 261 |
| Return |
| FunctionEnd |