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