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