spv.texture.frag WARNING: 0:14: varying deprecated in version 130; may be removed in future release WARNING: 0:15: varying deprecated in version 130; may be removed in future release Linked fragment stage: // Module Version 99 // Generated by (magic number): 51a00bb // Id's are bound by 283 Source GLSL 130 Capability Shader 1: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint Fragment 4 "main" ExecutionMode 4 OriginLowerLeft Name 4 "main" Name 9 "blendscale" Name 11 "bias" Name 13 "lod" Name 15 "proj" Name 16 "coords1D" Name 19 "coords3D" Name 25 "coords4D" Name 27 "color" Name 33 "texSampler1D" Name 48 "coords2D" Name 73 "texSampler2D" Name 99 "texSampler3D" Name 125 "texSamplerCube" Name 140 "shadowSampler1D" Name 157 "shadowSampler2D" Name 200 "iCoords2D" Name 205 "iLod" Name 214 "gradX" Name 217 "gradY" Name 269 "gl_FragColor" Name 272 "u" Name 275 "blend" Name 281 "scale" Name 282 "t" Decorate 48(coords2D) Smooth Decorate 269(gl_FragColor) BuiltIn FragColor Decorate 281(scale) NoStaticUse Decorate 282(t) Smooth Decorate 282(t) NoStaticUse 2: TypeVoid 3: TypeFunction 2 7: TypeFloat 32 8: TypePointer Function 7(float) 10: 7(float) Constant 1071971828 12: 7(float) Constant 1073741824 14: 7(float) Constant 1077936128 17: TypeVector 7(float) 3 18: TypePointer Function 17(fvec3) 20: 7(float) Constant 1076753334 21: 7(float) Constant 1079836148 22: 17(fvec3) ConstantComposite 10 20 21 23: TypeVector 7(float) 4 24: TypePointer Function 23(fvec4) 26: 23(fvec4) ConstantComposite 10 20 21 12 28: 7(float) Constant 0 29: 23(fvec4) ConstantComposite 28 28 28 28 30: TypeImage 7(float) 1D sampled format:Unknown 31: TypeSampledImage 30 32: TypePointer UniformConstant 31 33(texSampler1D): 32(ptr) Variable UniformConstant 46: TypeVector 7(float) 2 47: TypePointer Input 46(fvec2) 48(coords2D): 47(ptr) Variable Input 70: TypeImage 7(float) 2D sampled format:Unknown 71: TypeSampledImage 70 72: TypePointer UniformConstant 71 73(texSampler2D): 72(ptr) Variable UniformConstant 96: TypeImage 7(float) 3D sampled format:Unknown 97: TypeSampledImage 96 98: TypePointer UniformConstant 97 99(texSampler3D): 98(ptr) Variable UniformConstant 122: TypeImage 7(float) Cube sampled format:Unknown 123: TypeSampledImage 122 124: TypePointer UniformConstant 123 125(texSamplerCube): 124(ptr) Variable UniformConstant 137: TypeImage 7(float) 1D depth sampled format:Unknown 138: TypeSampledImage 137 139: TypePointer UniformConstant 138 140(shadowSampler1D): 139(ptr) Variable UniformConstant 154: TypeImage 7(float) 2D depth sampled format:Unknown 155: TypeSampledImage 154 156: TypePointer UniformConstant 155 157(shadowSampler2D): 156(ptr) Variable UniformConstant 197: TypeInt 32 1 198: TypeVector 197(int) 2 199: TypePointer Function 198(ivec2) 201: 197(int) Constant 0 202: 197(int) Constant 5 203: 198(ivec2) ConstantComposite 201 202 204: TypePointer Function 197(int) 206: 197(int) Constant 1 213: TypePointer Function 46(fvec2) 242: 197(int) Constant 3 243: 197(int) Constant 4294967289 244: 198(ivec2) ConstantComposite 242 243 268: TypePointer Output 23(fvec4) 269(gl_FragColor): 268(ptr) Variable Output 271: TypePointer UniformConstant 23(fvec4) 272(u): 271(ptr) Variable UniformConstant 274: TypePointer UniformConstant 7(float) 275(blend): 274(ptr) Variable UniformConstant 280: TypePointer UniformConstant 46(fvec2) 281(scale): 280(ptr) Variable UniformConstant 282(t): 47(ptr) Variable Input 4(main): 2 Function None 3 5: Label 9(blendscale): 8(ptr) Variable Function 11(bias): 8(ptr) Variable Function 13(lod): 8(ptr) Variable Function 15(proj): 8(ptr) Variable Function 16(coords1D): 8(ptr) Variable Function 19(coords3D): 18(ptr) Variable Function 25(coords4D): 24(ptr) Variable Function 27(color): 24(ptr) Variable Function 200(iCoords2D): 199(ptr) Variable Function 205(iLod): 204(ptr) Variable Function 214(gradX): 213(ptr) Variable Function 217(gradY): 213(ptr) Variable Function Store 9(blendscale) 10 Store 11(bias) 12 Store 13(lod) 14 Store 15(proj) 12 Store 16(coords1D) 10 Store 19(coords3D) 22 Store 25(coords4D) 26 Store 27(color) 29 34: 31 Load 33(texSampler1D) 35: 7(float) Load 16(coords1D) 36: 23(fvec4) ImageSampleImplicitLod 34 35 37: 23(fvec4) Load 27(color) 38: 23(fvec4) FAdd 37 36 Store 27(color) 38 39: 31 Load 33(texSampler1D) 40: 7(float) Load 16(coords1D) 41: 7(float) Load 11(bias) 42: 23(fvec4) ImageSampleImplicitLod 39 40 41 43: 23(fvec4) Load 27(color) 44: 23(fvec4) FAdd 43 42 Store 27(color) 44 45: 31 Load 33(texSampler1D) 49: 46(fvec2) Load 48(coords2D) 50: 23(fvec4) ImageSampleProjImplicitLod 45 49 51: 23(fvec4) Load 27(color) 52: 23(fvec4) FAdd 51 50 Store 27(color) 52 53: 31 Load 33(texSampler1D) 54: 23(fvec4) Load 25(coords4D) 55: 23(fvec4) ImageSampleProjImplicitLod 53 54 56: 23(fvec4) Load 27(color) 57: 23(fvec4) FAdd 56 55 Store 27(color) 57 58: 31 Load 33(texSampler1D) 59: 46(fvec2) Load 48(coords2D) 60: 7(float) Load 11(bias) 61: 23(fvec4) ImageSampleProjImplicitLod 58 59 60 62: 23(fvec4) Load 27(color) 63: 23(fvec4) FAdd 62 61 Store 27(color) 63 64: 31 Load 33(texSampler1D) 65: 23(fvec4) Load 25(coords4D) 66: 7(float) Load 11(bias) 67: 23(fvec4) ImageSampleProjImplicitLod 64 65 66 68: 23(fvec4) Load 27(color) 69: 23(fvec4) FAdd 68 67 Store 27(color) 69 74: 71 Load 73(texSampler2D) 75: 46(fvec2) Load 48(coords2D) 76: 23(fvec4) ImageSampleImplicitLod 74 75 77: 23(fvec4) Load 27(color) 78: 23(fvec4) FAdd 77 76 Store 27(color) 78 79: 71 Load 73(texSampler2D) 80: 46(fvec2) Load 48(coords2D) 81: 7(float) Load 11(bias) 82: 23(fvec4) ImageSampleImplicitLod 79 80 81 83: 23(fvec4) Load 27(color) 84: 23(fvec4) FAdd 83 82 Store 27(color) 84 85: 71 Load 73(texSampler2D) 86: 17(fvec3) Load 19(coords3D) 87: 23(fvec4) ImageSampleProjImplicitLod 85 86 88: 23(fvec4) Load 27(color) 89: 23(fvec4) FAdd 88 87 Store 27(color) 89 90: 71 Load 73(texSampler2D) 91: 23(fvec4) Load 25(coords4D) 92: 7(float) Load 11(bias) 93: 23(fvec4) ImageSampleProjImplicitLod 90 91 92 94: 23(fvec4) Load 27(color) 95: 23(fvec4) FAdd 94 93 Store 27(color) 95 100: 97 Load 99(texSampler3D) 101: 17(fvec3) Load 19(coords3D) 102: 23(fvec4) ImageSampleImplicitLod 100 101 103: 23(fvec4) Load 27(color) 104: 23(fvec4) FAdd 103 102 Store 27(color) 104 105: 97 Load 99(texSampler3D) 106: 17(fvec3) Load 19(coords3D) 107: 7(float) Load 11(bias) 108: 23(fvec4) ImageSampleImplicitLod 105 106 107 109: 23(fvec4) Load 27(color) 110: 23(fvec4) FAdd 109 108 Store 27(color) 110 111: 97 Load 99(texSampler3D) 112: 23(fvec4) Load 25(coords4D) 113: 23(fvec4) ImageSampleProjImplicitLod 111 112 114: 23(fvec4) Load 27(color) 115: 23(fvec4) FAdd 114 113 Store 27(color) 115 116: 97 Load 99(texSampler3D) 117: 23(fvec4) Load 25(coords4D) 118: 7(float) Load 11(bias) 119: 23(fvec4) ImageSampleProjImplicitLod 116 117 118 120: 23(fvec4) Load 27(color) 121: 23(fvec4) FAdd 120 119 Store 27(color) 121 126: 123 Load 125(texSamplerCube) 127: 17(fvec3) Load 19(coords3D) 128: 23(fvec4) ImageSampleImplicitLod 126 127 129: 23(fvec4) Load 27(color) 130: 23(fvec4) FAdd 129 128 Store 27(color) 130 131: 123 Load 125(texSamplerCube) 132: 17(fvec3) Load 19(coords3D) 133: 7(float) Load 11(bias) 134: 23(fvec4) ImageSampleImplicitLod 131 132 133 135: 23(fvec4) Load 27(color) 136: 23(fvec4) FAdd 135 134 Store 27(color) 136 141: 138 Load 140(shadowSampler1D) 142: 17(fvec3) Load 19(coords3D) 143: 7(float) CompositeExtract 142 2 144: 23(fvec4) ImageSampleDrefImplicitLod 141 142 143 145: 23(fvec4) Load 27(color) 146: 23(fvec4) FAdd 145 144 Store 27(color) 146 147: 138 Load 140(shadowSampler1D) 148: 17(fvec3) Load 19(coords3D) 149: 7(float) Load 11(bias) 150: 7(float) CompositeExtract 148 2 151: 23(fvec4) ImageSampleDrefImplicitLod 147 148 150 149 152: 23(fvec4) Load 27(color) 153: 23(fvec4) FAdd 152 151 Store 27(color) 153 158: 155 Load 157(shadowSampler2D) 159: 17(fvec3) Load 19(coords3D) 160: 7(float) CompositeExtract 159 2 161: 23(fvec4) ImageSampleDrefImplicitLod 158 159 160 162: 23(fvec4) Load 27(color) 163: 23(fvec4) FAdd 162 161 Store 27(color) 163 164: 155 Load 157(shadowSampler2D) 165: 17(fvec3) Load 19(coords3D) 166: 7(float) Load 11(bias) 167: 7(float) CompositeExtract 165 2 168: 23(fvec4) ImageSampleDrefImplicitLod 164 165 167 166 169: 23(fvec4) Load 27(color) 170: 23(fvec4) FAdd 169 168 Store 27(color) 170 171: 138 Load 140(shadowSampler1D) 172: 23(fvec4) Load 25(coords4D) 173: 7(float) CompositeExtract 172 3 174: 23(fvec4) ImageSampleProjDrefImplicitLod 171 172 173 175: 23(fvec4) Load 27(color) 176: 23(fvec4) FAdd 175 174 Store 27(color) 176 177: 138 Load 140(shadowSampler1D) 178: 23(fvec4) Load 25(coords4D) 179: 7(float) Load 11(bias) 180: 7(float) CompositeExtract 178 3 181: 23(fvec4) ImageSampleProjDrefImplicitLod 177 178 180 179 182: 23(fvec4) Load 27(color) 183: 23(fvec4) FAdd 182 181 Store 27(color) 183 184: 155 Load 157(shadowSampler2D) 185: 23(fvec4) Load 25(coords4D) 186: 7(float) CompositeExtract 185 3 187: 23(fvec4) ImageSampleProjDrefImplicitLod 184 185 186 188: 23(fvec4) Load 27(color) 189: 23(fvec4) FAdd 188 187 Store 27(color) 189 190: 155 Load 157(shadowSampler2D) 191: 23(fvec4) Load 25(coords4D) 192: 7(float) Load 11(bias) 193: 7(float) CompositeExtract 191 3 194: 23(fvec4) ImageSampleProjDrefImplicitLod 190 191 193 192 195: 23(fvec4) Load 27(color) 196: 23(fvec4) FAdd 195 194 Store 27(color) 196 Store 200(iCoords2D) 203 Store 205(iLod) 206 207: 71 Load 73(texSampler2D) 208: 198(ivec2) Load 200(iCoords2D) 209: 197(int) Load 205(iLod) 210: 23(fvec4) ImageFetch 207 208 211: 23(fvec4) Load 27(color) 212: 23(fvec4) FAdd 211 210 Store 27(color) 212 215: 46(fvec2) Load 48(coords2D) 216: 46(fvec2) DPdx 215 Store 214(gradX) 216 218: 46(fvec2) Load 48(coords2D) 219: 46(fvec2) DPdy 218 Store 217(gradY) 219 220: 71 Load 73(texSampler2D) 221: 46(fvec2) Load 48(coords2D) 222: 46(fvec2) Load 214(gradX) 223: 46(fvec2) Load 217(gradY) 224: 23(fvec4) ImageSampleExplicitLod 220 221 222 223 225: 23(fvec4) Load 27(color) 226: 23(fvec4) FAdd 225 224 Store 27(color) 226 227: 71 Load 73(texSampler2D) 228: 46(fvec2) Load 48(coords2D) 229: 7(float) Load 15(proj) 230: 7(float) CompositeExtract 228 0 231: 7(float) CompositeExtract 228 1 232: 17(fvec3) CompositeConstruct 230 231 229 233: 46(fvec2) Load 214(gradX) 234: 46(fvec2) Load 217(gradY) 235: 23(fvec4) ImageSampleProjExplicitLod 227 232 233 234 236: 23(fvec4) Load 27(color) 237: 23(fvec4) FAdd 236 235 Store 27(color) 237 238: 71 Load 73(texSampler2D) 239: 46(fvec2) Load 48(coords2D) 240: 46(fvec2) Load 214(gradX) 241: 46(fvec2) Load 217(gradY) 245: 23(fvec4) ImageSampleExplicitLod 238 239 240 241 244 246: 23(fvec4) Load 27(color) 247: 23(fvec4) FAdd 246 245 Store 27(color) 247 248: 71 Load 73(texSampler2D) 249: 17(fvec3) Load 19(coords3D) 250: 46(fvec2) Load 214(gradX) 251: 46(fvec2) Load 217(gradY) 252: 23(fvec4) ImageSampleProjExplicitLod 248 249 250 251 244 253: 23(fvec4) Load 27(color) 254: 23(fvec4) FAdd 253 252 Store 27(color) 254 255: 155 Load 157(shadowSampler2D) 256: 46(fvec2) Load 48(coords2D) 257: 7(float) Load 13(lod) 258: 7(float) CompositeExtract 256 0 259: 7(float) CompositeExtract 256 1 260: 17(fvec3) CompositeConstruct 258 259 257 261: 46(fvec2) Load 214(gradX) 262: 46(fvec2) Load 217(gradY) 263: 7(float) CompositeExtract 260 2 264: 7(float) ImageSampleDrefExplicitLod 255 260 263 261 262 265: 23(fvec4) Load 27(color) 266: 23(fvec4) CompositeConstruct 264 264 264 264 267: 23(fvec4) FAdd 265 266 Store 27(color) 267 270: 23(fvec4) Load 27(color) 273: 23(fvec4) Load 272(u) 276: 7(float) Load 275(blend) 277: 7(float) Load 9(blendscale) 278: 7(float) FMul 276 277 279: 23(fvec4) ExtInst 1(GLSL.std.450) 46(Mix) 270 273 278 Store 269(gl_FragColor) 279 Branch 6 6: Label Return FunctionEnd