| spv.newTexture.frag | |
| Validation failed | |
| // Module Version 10000 | |
| // Generated by (magic number): 8000b | |
| // Id's are bound by 278 | |
| 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 247 277 | |
| 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 137 "s2DArrayShadow" | |
| Name 162 "iv" | |
| Name 166 "is2D" | |
| Name 202 "is3D" | |
| Name 214 "isCube" | |
| Name 226 "is2DArray" | |
| Name 237 "iv2" | |
| Name 241 "sCubeShadow" | |
| Name 247 "FragData" | |
| Name 259 "is2Dms" | |
| Name 263 "us2D" | |
| Name 267 "us3D" | |
| Name 271 "usCube" | |
| Name 275 "us2DArray" | |
| Name 277 "ic4D" | |
| Decorate 13(s2D) Binding 0 | |
| Decorate 13(s2D) DescriptorSet 0 | |
| Decorate 17(c2D) Location 1 | |
| Decorate 23(sCubeArrayShadow) Binding 5 | |
| Decorate 23(sCubeArrayShadow) DescriptorSet 0 | |
| Decorate 26(c4D) Location 3 | |
| Decorate 29(c1D) Location 0 | |
| Decorate 42(s3D) Binding 2 | |
| Decorate 42(s3D) DescriptorSet 0 | |
| Decorate 51(s2DArray) Binding 7 | |
| Decorate 51(s2DArray) DescriptorSet 0 | |
| Decorate 55(c3D) Location 2 | |
| Decorate 64(s2DShadow) Binding 6 | |
| Decorate 64(s2DShadow) DescriptorSet 0 | |
| Decorate 81(ic3D) Flat | |
| Decorate 81(ic3D) Location 6 | |
| Decorate 84(ic1D) Flat | |
| Decorate 84(ic1D) Location 4 | |
| Decorate 92(ic2D) Flat | |
| Decorate 92(ic2D) Location 5 | |
| Decorate 102(sr) Binding 1 | |
| Decorate 102(sr) DescriptorSet 0 | |
| Decorate 128(sCube) Binding 3 | |
| Decorate 128(sCube) DescriptorSet 0 | |
| Decorate 137(s2DArrayShadow) Binding 8 | |
| Decorate 137(s2DArrayShadow) DescriptorSet 0 | |
| Decorate 166(is2D) Binding 9 | |
| Decorate 166(is2D) DescriptorSet 0 | |
| Decorate 202(is3D) Binding 10 | |
| Decorate 202(is3D) DescriptorSet 0 | |
| Decorate 214(isCube) Binding 11 | |
| Decorate 214(isCube) DescriptorSet 0 | |
| Decorate 226(is2DArray) Binding 12 | |
| Decorate 226(is2DArray) DescriptorSet 0 | |
| Decorate 241(sCubeShadow) Binding 4 | |
| Decorate 241(sCubeShadow) DescriptorSet 0 | |
| Decorate 247(FragData) Location 0 | |
| Decorate 259(is2Dms) Binding 0 | |
| Decorate 259(is2Dms) DescriptorSet 0 | |
| Decorate 263(us2D) Binding 0 | |
| Decorate 263(us2D) DescriptorSet 0 | |
| Decorate 267(us3D) Binding 0 | |
| Decorate 267(us3D) DescriptorSet 0 | |
| Decorate 271(usCube) Binding 0 | |
| Decorate 271(usCube) DescriptorSet 0 | |
| Decorate 275(us2DArray) Binding 0 | |
| Decorate 275(us2DArray) DescriptorSet 0 | |
| Decorate 277(ic4D) Flat | |
| Decorate 277(ic4D) Location 7 | |
| 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 | |
| 134: TypeImage 6(float) 2D depth array sampled format:Unknown | |
| 135: TypeSampledImage 134 | |
| 136: TypePointer UniformConstant 135 | |
| 137(s2DArrayShadow): 136(ptr) Variable UniformConstant | |
| 143: 32(int) Constant 0 | |
| 160: TypeVector 67(int) 4 | |
| 161: TypePointer Function 160(ivec4) | |
| 163: TypeImage 67(int) 2D sampled format:Unknown | |
| 164: TypeSampledImage 163 | |
| 165: TypePointer UniformConstant 164 | |
| 166(is2D): 165(ptr) Variable UniformConstant | |
| 199: TypeImage 67(int) 3D sampled format:Unknown | |
| 200: TypeSampledImage 199 | |
| 201: TypePointer UniformConstant 200 | |
| 202(is3D): 201(ptr) Variable UniformConstant | |
| 205: 6(float) Constant 1082549862 | |
| 211: TypeImage 67(int) Cube sampled format:Unknown | |
| 212: TypeSampledImage 211 | |
| 213: TypePointer UniformConstant 212 | |
| 214(isCube): 213(ptr) Variable UniformConstant | |
| 223: TypeImage 67(int) 2D array sampled format:Unknown | |
| 224: TypeSampledImage 223 | |
| 225: TypePointer UniformConstant 224 | |
| 226(is2DArray): 225(ptr) Variable UniformConstant | |
| 236: TypePointer Function 68(ivec2) | |
| 238: TypeImage 6(float) Cube depth sampled format:Unknown | |
| 239: TypeSampledImage 238 | |
| 240: TypePointer UniformConstant 239 | |
| 241(sCubeShadow): 240(ptr) Variable UniformConstant | |
| 243: 67(int) Constant 2 | |
| 246: TypePointer Output 7(fvec4) | |
| 247(FragData): 246(ptr) Variable Output | |
| 251: 6(float) Constant 0 | |
| 256: TypeImage 67(int) 2D multi-sampled sampled format:Unknown | |
| 257: TypeSampledImage 256 | |
| 258: TypePointer UniformConstant 257 | |
| 259(is2Dms): 258(ptr) Variable UniformConstant | |
| 260: TypeImage 32(int) 2D sampled format:Unknown | |
| 261: TypeSampledImage 260 | |
| 262: TypePointer UniformConstant 261 | |
| 263(us2D): 262(ptr) Variable UniformConstant | |
| 264: TypeImage 32(int) 3D sampled format:Unknown | |
| 265: TypeSampledImage 264 | |
| 266: TypePointer UniformConstant 265 | |
| 267(us3D): 266(ptr) Variable UniformConstant | |
| 268: TypeImage 32(int) Cube sampled format:Unknown | |
| 269: TypeSampledImage 268 | |
| 270: TypePointer UniformConstant 269 | |
| 271(usCube): 270(ptr) Variable UniformConstant | |
| 272: TypeImage 32(int) 2D array sampled format:Unknown | |
| 273: TypeSampledImage 272 | |
| 274: TypePointer UniformConstant 273 | |
| 275(us2DArray): 274(ptr) Variable UniformConstant | |
| 276: TypePointer Input 160(ivec4) | |
| 277(ic4D): 276(ptr) Variable Input | |
| 4(main): 2 Function None 3 | |
| 5: Label | |
| 9(v): 8(ptr) Variable Function | |
| 162(iv): 161(ptr) Variable Function | |
| 237(iv2): 236(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: 7(fvec4) ImageSampleExplicitLod 129 130 Grad 130 130 | |
| 132: 7(fvec4) Load 9(v) | |
| 133: 7(fvec4) FAdd 132 131 | |
| Store 9(v) 133 | |
| 138: 135 Load 137(s2DArrayShadow) | |
| 139: 7(fvec4) Load 26(c4D) | |
| 140: 15(fvec2) Load 17(c2D) | |
| 141: 6(float) CompositeExtract 139 3 | |
| 142: 6(float) ImageSampleDrefExplicitLod 138 139 141 Grad ConstOffset 140 140 70 | |
| 144: 34(ptr) AccessChain 9(v) 143 | |
| 145: 6(float) Load 144 | |
| 146: 6(float) FAdd 145 142 | |
| 147: 34(ptr) AccessChain 9(v) 143 | |
| Store 147 146 | |
| 148: 40 Load 42(s3D) | |
| 149: 7(fvec4) Load 26(c4D) | |
| 150: 53(fvec3) Load 55(c3D) | |
| 151: 7(fvec4) ImageSampleProjExplicitLod 148 149 Grad 150 150 | |
| 152: 7(fvec4) Load 9(v) | |
| 153: 7(fvec4) FAdd 152 151 | |
| Store 9(v) 153 | |
| 154: 11 Load 13(s2D) | |
| 155: 53(fvec3) Load 55(c3D) | |
| 156: 15(fvec2) Load 17(c2D) | |
| 157: 7(fvec4) ImageSampleProjExplicitLod 154 155 Grad ConstOffset 156 156 70 | |
| 158: 7(fvec4) Load 9(v) | |
| 159: 7(fvec4) FAdd 158 157 | |
| Store 9(v) 159 | |
| 167: 164 Load 166(is2D) | |
| 168: 15(fvec2) Load 17(c2D) | |
| 169: 160(ivec4) ImageSampleImplicitLod 167 168 | |
| Store 162(iv) 169 | |
| 170: 160(ivec4) Load 162(iv) | |
| 171: 7(fvec4) ConvertSToF 170 | |
| 172: 7(fvec4) Load 9(v) | |
| 173: 7(fvec4) FAdd 172 171 | |
| Store 9(v) 173 | |
| 174: 164 Load 166(is2D) | |
| 175: 7(fvec4) Load 26(c4D) | |
| 176: 6(float) CompositeExtract 175 3 | |
| 177: 7(fvec4) CompositeInsert 176 175 2 | |
| 178: 160(ivec4) ImageSampleProjImplicitLod 174 177 ConstOffset 70 | |
| Store 162(iv) 178 | |
| 179: 160(ivec4) Load 162(iv) | |
| 180: 7(fvec4) ConvertSToF 179 | |
| 181: 7(fvec4) Load 9(v) | |
| 182: 7(fvec4) FAdd 181 180 | |
| Store 9(v) 182 | |
| 183: 164 Load 166(is2D) | |
| 184: 53(fvec3) Load 55(c3D) | |
| 185: 6(float) Load 29(c1D) | |
| 186: 160(ivec4) ImageSampleProjExplicitLod 183 184 Lod 185 | |
| Store 162(iv) 186 | |
| 187: 160(ivec4) Load 162(iv) | |
| 188: 7(fvec4) ConvertSToF 187 | |
| 189: 7(fvec4) Load 9(v) | |
| 190: 7(fvec4) FAdd 189 188 | |
| Store 9(v) 190 | |
| 191: 164 Load 166(is2D) | |
| 192: 53(fvec3) Load 55(c3D) | |
| 193: 15(fvec2) Load 17(c2D) | |
| 194: 160(ivec4) ImageSampleProjExplicitLod 191 192 Grad 193 193 | |
| Store 162(iv) 194 | |
| 195: 160(ivec4) Load 162(iv) | |
| 196: 7(fvec4) ConvertSToF 195 | |
| 197: 7(fvec4) Load 9(v) | |
| 198: 7(fvec4) FAdd 197 196 | |
| Store 9(v) 198 | |
| 203: 200 Load 202(is3D) | |
| 204: 53(fvec3) Load 55(c3D) | |
| 206: 160(ivec4) ImageSampleImplicitLod 203 204 Bias 205 | |
| Store 162(iv) 206 | |
| 207: 160(ivec4) Load 162(iv) | |
| 208: 7(fvec4) ConvertSToF 207 | |
| 209: 7(fvec4) Load 9(v) | |
| 210: 7(fvec4) FAdd 209 208 | |
| Store 9(v) 210 | |
| 215: 212 Load 214(isCube) | |
| 216: 53(fvec3) Load 55(c3D) | |
| 217: 6(float) Load 29(c1D) | |
| 218: 160(ivec4) ImageSampleExplicitLod 215 216 Lod 217 | |
| Store 162(iv) 218 | |
| 219: 160(ivec4) Load 162(iv) | |
| 220: 7(fvec4) ConvertSToF 219 | |
| 221: 7(fvec4) Load 9(v) | |
| 222: 7(fvec4) FAdd 221 220 | |
| Store 9(v) 222 | |
| 227: 224 Load 226(is2DArray) | |
| 228: 79(ivec3) Load 81(ic3D) | |
| 229: 67(int) Load 84(ic1D) | |
| 230: 223 Image 227 | |
| 231: 160(ivec4) ImageFetch 230 228 Lod 229 | |
| Store 162(iv) 231 | |
| 232: 160(ivec4) Load 162(iv) | |
| 233: 7(fvec4) ConvertSToF 232 | |
| 234: 7(fvec4) Load 9(v) | |
| 235: 7(fvec4) FAdd 234 233 | |
| Store 9(v) 235 | |
| 242: 239 Load 241(sCubeShadow) | |
| 244: 238 Image 242 | |
| 245: 68(ivec2) ImageQuerySizeLod 244 243 | |
| Store 237(iv2) 245 | |
| 248: 7(fvec4) Load 9(v) | |
| 249: 68(ivec2) Load 237(iv2) | |
| 250: 15(fvec2) ConvertSToF 249 | |
| 252: 6(float) CompositeExtract 250 0 | |
| 253: 6(float) CompositeExtract 250 1 | |
| 254: 7(fvec4) CompositeConstruct 252 253 251 251 | |
| 255: 7(fvec4) FAdd 248 254 | |
| Store 247(FragData) 255 | |
| Return | |
| FunctionEnd |