spv.newTexture.frag Warning, version 430 is not yet complete; most version-specific features are present, but some are missing. Linked fragment stage: // Module Version 10000 // Generated by (magic number): 80001 // Id's are bound by 282 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 251 281 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 206 "is3D" Name 218 "isCube" Name 230 "is2DArray" Name 241 "iv2" Name 245 "sCubeShadow" Name 251 "FragData" Name 263 "is2Dms" Name 267 "us2D" Name 271 "us3D" Name 275 "usCube" Name 279 "us2DArray" Name 281 "ic4D" Decorate 13(s2D) DescriptorSet 0 Decorate 23(sCubeArrayShadow) DescriptorSet 0 Decorate 42(s3D) DescriptorSet 0 Decorate 51(s2DArray) DescriptorSet 0 Decorate 64(s2DShadow) DescriptorSet 0 Decorate 81(ic3D) Flat Decorate 84(ic1D) Flat Decorate 92(ic2D) Flat Decorate 102(sr) DescriptorSet 0 Decorate 128(sCube) DescriptorSet 0 Decorate 139(s2DArrayShadow) DescriptorSet 0 Decorate 171(is2D) DescriptorSet 0 Decorate 206(is3D) DescriptorSet 0 Decorate 218(isCube) DescriptorSet 0 Decorate 230(is2DArray) DescriptorSet 0 Decorate 245(sCubeShadow) DescriptorSet 0 Decorate 263(is2Dms) DescriptorSet 0 Decorate 267(us2D) DescriptorSet 0 Decorate 271(us3D) DescriptorSet 0 Decorate 275(usCube) DescriptorSet 0 Decorate 279(us2DArray) DescriptorSet 0 Decorate 281(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 203: TypeImage 67(int) 3D sampled format:Unknown 204: TypeSampledImage 203 205: TypePointer UniformConstant 204 206(is3D): 205(ptr) Variable UniformConstant 209: 6(float) Constant 1082549862 215: TypeImage 67(int) Cube sampled format:Unknown 216: TypeSampledImage 215 217: TypePointer UniformConstant 216 218(isCube): 217(ptr) Variable UniformConstant 227: TypeImage 67(int) 2D array sampled format:Unknown 228: TypeSampledImage 227 229: TypePointer UniformConstant 228 230(is2DArray): 229(ptr) Variable UniformConstant 240: TypePointer Function 68(ivec2) 242: TypeImage 6(float) Cube depth sampled format:Unknown 243: TypeSampledImage 242 244: TypePointer UniformConstant 243 245(sCubeShadow): 244(ptr) Variable UniformConstant 247: 67(int) Constant 2 250: TypePointer Output 7(fvec4) 251(FragData): 250(ptr) Variable Output 255: 6(float) Constant 0 260: TypeImage 67(int) 2D multi-sampled sampled format:Unknown 261: TypeSampledImage 260 262: TypePointer UniformConstant 261 263(is2Dms): 262(ptr) Variable UniformConstant 264: TypeImage 32(int) 2D sampled format:Unknown 265: TypeSampledImage 264 266: TypePointer UniformConstant 265 267(us2D): 266(ptr) Variable UniformConstant 268: TypeImage 32(int) 3D sampled format:Unknown 269: TypeSampledImage 268 270: TypePointer UniformConstant 269 271(us3D): 270(ptr) Variable UniformConstant 272: TypeImage 32(int) Cube sampled format:Unknown 273: TypeSampledImage 272 274: TypePointer UniformConstant 273 275(usCube): 274(ptr) Variable UniformConstant 276: TypeImage 32(int) 2D array sampled format:Unknown 277: TypeSampledImage 276 278: TypePointer UniformConstant 277 279(us2DArray): 278(ptr) Variable UniformConstant 280: TypePointer Input 165(ivec4) 281(ic4D): 280(ptr) Variable Input 4(main): 2 Function None 3 5: Label 9(v): 8(ptr) Variable Function 167(iv): 166(ptr) Variable Function 241(iv2): 240(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: 165(ivec4) ImageSampleProjImplicitLod 179 180 ConstOffset 70 Store 167(iv) 181 182: 165(ivec4) Load 167(iv) 183: 7(fvec4) ConvertSToF 182 184: 7(fvec4) Load 9(v) 185: 7(fvec4) FAdd 184 183 Store 9(v) 185 186: 169 Load 171(is2D) 187: 53(fvec3) Load 55(c3D) 188: 6(float) Load 29(c1D) 189: 165(ivec4) ImageSampleProjExplicitLod 186 187 Lod 188 Store 167(iv) 189 190: 165(ivec4) Load 167(iv) 191: 7(fvec4) ConvertSToF 190 192: 7(fvec4) Load 9(v) 193: 7(fvec4) FAdd 192 191 Store 9(v) 193 194: 169 Load 171(is2D) 195: 53(fvec3) Load 55(c3D) 196: 15(fvec2) Load 17(c2D) 197: 15(fvec2) Load 17(c2D) 198: 165(ivec4) ImageSampleProjExplicitLod 194 195 Grad 196 197 Store 167(iv) 198 199: 165(ivec4) Load 167(iv) 200: 7(fvec4) ConvertSToF 199 201: 7(fvec4) Load 9(v) 202: 7(fvec4) FAdd 201 200 Store 9(v) 202 207: 204 Load 206(is3D) 208: 53(fvec3) Load 55(c3D) 210: 165(ivec4) ImageSampleImplicitLod 207 208 Bias 209 Store 167(iv) 210 211: 165(ivec4) Load 167(iv) 212: 7(fvec4) ConvertSToF 211 213: 7(fvec4) Load 9(v) 214: 7(fvec4) FAdd 213 212 Store 9(v) 214 219: 216 Load 218(isCube) 220: 53(fvec3) Load 55(c3D) 221: 6(float) Load 29(c1D) 222: 165(ivec4) ImageSampleExplicitLod 219 220 Lod 221 Store 167(iv) 222 223: 165(ivec4) Load 167(iv) 224: 7(fvec4) ConvertSToF 223 225: 7(fvec4) Load 9(v) 226: 7(fvec4) FAdd 225 224 Store 9(v) 226 231: 228 Load 230(is2DArray) 232: 79(ivec3) Load 81(ic3D) 233: 67(int) Load 84(ic1D) 234: 227 Image 231 235: 165(ivec4) ImageFetch 234 232 Lod 233 Store 167(iv) 235 236: 165(ivec4) Load 167(iv) 237: 7(fvec4) ConvertSToF 236 238: 7(fvec4) Load 9(v) 239: 7(fvec4) FAdd 238 237 Store 9(v) 239 246: 243 Load 245(sCubeShadow) 248: 242 Image 246 249: 68(ivec2) ImageQuerySizeLod 248 247 Store 241(iv2) 249 252: 7(fvec4) Load 9(v) 253: 68(ivec2) Load 241(iv2) 254: 15(fvec2) ConvertSToF 253 256: 6(float) CompositeExtract 254 0 257: 6(float) CompositeExtract 254 1 258: 7(fvec4) CompositeConstruct 256 257 255 255 259: 7(fvec4) FAdd 252 258 Store 251(FragData) 259 Return FunctionEnd