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 // Module Version 10000 // Generated by (magic number): 8000a // Id's are bound by 305 Capability Shader Capability Sampled1D 1: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint Fragment 4 "main" 47 291 294 297 303 304 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 76 "texSampler2D" Name 104 "texSampler3D" Name 130 "texSamplerCube" Name 145 "shadowSampler1D" Name 164 "shadowSampler2D" Name 221 "iCoords2D" Name 226 "iLod" Name 236 "gradX" Name 239 "gradY" Name 291 "gl_FragColor" Name 294 "u" Name 297 "blend" Name 303 "scale" Name 304 "t" Decorate 32(texSampler1D) DescriptorSet 0 Decorate 32(texSampler1D) Binding 0 Decorate 47(coords2D) Location 4 Decorate 76(texSampler2D) DescriptorSet 0 Decorate 76(texSampler2D) Binding 1 Decorate 104(texSampler3D) DescriptorSet 0 Decorate 104(texSampler3D) Binding 2 Decorate 130(texSamplerCube) DescriptorSet 0 Decorate 130(texSamplerCube) Binding 3 Decorate 145(shadowSampler1D) DescriptorSet 0 Decorate 145(shadowSampler1D) Binding 4 Decorate 164(shadowSampler2D) DescriptorSet 0 Decorate 164(shadowSampler2D) Binding 5 Decorate 291(gl_FragColor) Location 0 Decorate 294(u) Location 2 Decorate 297(blend) Location 0 Decorate 303(scale) Location 1 Decorate 304(t) Location 3 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 73: TypeImage 6(float) 2D sampled format:Unknown 74: TypeSampledImage 73 75: TypePointer UniformConstant 74 76(texSampler2D): 75(ptr) Variable UniformConstant 101: TypeImage 6(float) 3D sampled format:Unknown 102: TypeSampledImage 101 103: TypePointer UniformConstant 102 104(texSampler3D): 103(ptr) Variable UniformConstant 127: TypeImage 6(float) Cube sampled format:Unknown 128: TypeSampledImage 127 129: TypePointer UniformConstant 128 130(texSamplerCube): 129(ptr) Variable UniformConstant 142: TypeImage 6(float) 1D depth sampled format:Unknown 143: TypeSampledImage 142 144: TypePointer UniformConstant 143 145(shadowSampler1D): 144(ptr) Variable UniformConstant 161: TypeImage 6(float) 2D depth sampled format:Unknown 162: TypeSampledImage 161 163: TypePointer UniformConstant 162 164(shadowSampler2D): 163(ptr) Variable UniformConstant 218: TypeInt 32 1 219: TypeVector 218(int) 2 220: TypePointer Function 219(ivec2) 222: 218(int) Constant 0 223: 218(int) Constant 5 224: 219(ivec2) ConstantComposite 222 223 225: TypePointer Function 218(int) 227: 218(int) Constant 1 235: TypePointer Function 45(fvec2) 264: 218(int) Constant 3 265: 218(int) Constant 4294967289 266: 219(ivec2) ConstantComposite 264 265 290: TypePointer Output 22(fvec4) 291(gl_FragColor): 290(ptr) Variable Output 293: TypePointer Input 22(fvec4) 294(u): 293(ptr) Variable Input 296: TypePointer Input 6(float) 297(blend): 296(ptr) Variable Input 303(scale): 46(ptr) Variable Input 304(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 221(iCoords2D): 220(ptr) Variable Function 226(iLod): 225(ptr) Variable Function 236(gradX): 235(ptr) Variable Function 239(gradY): 235(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: 6(float) CompositeExtract 53 3 55: 22(fvec4) CompositeInsert 54 53 1 56: 22(fvec4) ImageSampleProjImplicitLod 52 55 57: 22(fvec4) Load 26(color) 58: 22(fvec4) FAdd 57 56 Store 26(color) 58 59: 30 Load 32(texSampler1D) 60: 45(fvec2) Load 47(coords2D) 61: 6(float) Load 10(bias) 62: 22(fvec4) ImageSampleProjImplicitLod 59 60 Bias 61 63: 22(fvec4) Load 26(color) 64: 22(fvec4) FAdd 63 62 Store 26(color) 64 65: 30 Load 32(texSampler1D) 66: 22(fvec4) Load 24(coords4D) 67: 6(float) Load 10(bias) 68: 6(float) CompositeExtract 66 3 69: 22(fvec4) CompositeInsert 68 66 1 70: 22(fvec4) ImageSampleProjImplicitLod 65 69 Bias 67 71: 22(fvec4) Load 26(color) 72: 22(fvec4) FAdd 71 70 Store 26(color) 72 77: 74 Load 76(texSampler2D) 78: 45(fvec2) Load 47(coords2D) 79: 22(fvec4) ImageSampleImplicitLod 77 78 80: 22(fvec4) Load 26(color) 81: 22(fvec4) FAdd 80 79 Store 26(color) 81 82: 74 Load 76(texSampler2D) 83: 45(fvec2) Load 47(coords2D) 84: 6(float) Load 10(bias) 85: 22(fvec4) ImageSampleImplicitLod 82 83 Bias 84 86: 22(fvec4) Load 26(color) 87: 22(fvec4) FAdd 86 85 Store 26(color) 87 88: 74 Load 76(texSampler2D) 89: 16(fvec3) Load 18(coords3D) 90: 22(fvec4) ImageSampleProjImplicitLod 88 89 91: 22(fvec4) Load 26(color) 92: 22(fvec4) FAdd 91 90 Store 26(color) 92 93: 74 Load 76(texSampler2D) 94: 22(fvec4) Load 24(coords4D) 95: 6(float) Load 10(bias) 96: 6(float) CompositeExtract 94 3 97: 22(fvec4) CompositeInsert 96 94 2 98: 22(fvec4) ImageSampleProjImplicitLod 93 97 Bias 95 99: 22(fvec4) Load 26(color) 100: 22(fvec4) FAdd 99 98 Store 26(color) 100 105: 102 Load 104(texSampler3D) 106: 16(fvec3) Load 18(coords3D) 107: 22(fvec4) ImageSampleImplicitLod 105 106 108: 22(fvec4) Load 26(color) 109: 22(fvec4) FAdd 108 107 Store 26(color) 109 110: 102 Load 104(texSampler3D) 111: 16(fvec3) Load 18(coords3D) 112: 6(float) Load 10(bias) 113: 22(fvec4) ImageSampleImplicitLod 110 111 Bias 112 114: 22(fvec4) Load 26(color) 115: 22(fvec4) FAdd 114 113 Store 26(color) 115 116: 102 Load 104(texSampler3D) 117: 22(fvec4) Load 24(coords4D) 118: 22(fvec4) ImageSampleProjImplicitLod 116 117 119: 22(fvec4) Load 26(color) 120: 22(fvec4) FAdd 119 118 Store 26(color) 120 121: 102 Load 104(texSampler3D) 122: 22(fvec4) Load 24(coords4D) 123: 6(float) Load 10(bias) 124: 22(fvec4) ImageSampleProjImplicitLod 121 122 Bias 123 125: 22(fvec4) Load 26(color) 126: 22(fvec4) FAdd 125 124 Store 26(color) 126 131: 128 Load 130(texSamplerCube) 132: 16(fvec3) Load 18(coords3D) 133: 22(fvec4) ImageSampleImplicitLod 131 132 134: 22(fvec4) Load 26(color) 135: 22(fvec4) FAdd 134 133 Store 26(color) 135 136: 128 Load 130(texSamplerCube) 137: 16(fvec3) Load 18(coords3D) 138: 6(float) Load 10(bias) 139: 22(fvec4) ImageSampleImplicitLod 136 137 Bias 138 140: 22(fvec4) Load 26(color) 141: 22(fvec4) FAdd 140 139 Store 26(color) 141 146: 143 Load 145(shadowSampler1D) 147: 16(fvec3) Load 18(coords3D) 148: 6(float) CompositeExtract 147 2 149: 6(float) ImageSampleDrefImplicitLod 146 147 148 150: 22(fvec4) Load 26(color) 151: 22(fvec4) CompositeConstruct 149 149 149 149 152: 22(fvec4) FAdd 150 151 Store 26(color) 152 153: 143 Load 145(shadowSampler1D) 154: 16(fvec3) Load 18(coords3D) 155: 6(float) Load 10(bias) 156: 6(float) CompositeExtract 154 2 157: 6(float) ImageSampleDrefImplicitLod 153 154 156 Bias 155 158: 22(fvec4) Load 26(color) 159: 22(fvec4) CompositeConstruct 157 157 157 157 160: 22(fvec4) FAdd 158 159 Store 26(color) 160 165: 162 Load 164(shadowSampler2D) 166: 16(fvec3) Load 18(coords3D) 167: 6(float) CompositeExtract 166 2 168: 6(float) ImageSampleDrefImplicitLod 165 166 167 169: 22(fvec4) Load 26(color) 170: 22(fvec4) CompositeConstruct 168 168 168 168 171: 22(fvec4) FAdd 169 170 Store 26(color) 171 172: 162 Load 164(shadowSampler2D) 173: 16(fvec3) Load 18(coords3D) 174: 6(float) Load 10(bias) 175: 6(float) CompositeExtract 173 2 176: 6(float) ImageSampleDrefImplicitLod 172 173 175 Bias 174 177: 22(fvec4) Load 26(color) 178: 22(fvec4) CompositeConstruct 176 176 176 176 179: 22(fvec4) FAdd 177 178 Store 26(color) 179 180: 143 Load 145(shadowSampler1D) 181: 22(fvec4) Load 24(coords4D) 182: 6(float) CompositeExtract 181 2 183: 6(float) CompositeExtract 181 3 184: 22(fvec4) CompositeInsert 183 181 1 185: 6(float) ImageSampleProjDrefImplicitLod 180 184 182 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: 143 Load 145(shadowSampler1D) 190: 22(fvec4) Load 24(coords4D) 191: 6(float) Load 10(bias) 192: 6(float) CompositeExtract 190 2 193: 6(float) CompositeExtract 190 3 194: 22(fvec4) CompositeInsert 193 190 1 195: 6(float) ImageSampleProjDrefImplicitLod 189 194 192 Bias 191 196: 22(fvec4) Load 26(color) 197: 22(fvec4) CompositeConstruct 195 195 195 195 198: 22(fvec4) FAdd 196 197 Store 26(color) 198 199: 162 Load 164(shadowSampler2D) 200: 22(fvec4) Load 24(coords4D) 201: 6(float) CompositeExtract 200 2 202: 6(float) CompositeExtract 200 3 203: 22(fvec4) CompositeInsert 202 200 2 204: 6(float) ImageSampleProjDrefImplicitLod 199 203 201 205: 22(fvec4) Load 26(color) 206: 22(fvec4) CompositeConstruct 204 204 204 204 207: 22(fvec4) FAdd 205 206 Store 26(color) 207 208: 162 Load 164(shadowSampler2D) 209: 22(fvec4) Load 24(coords4D) 210: 6(float) Load 10(bias) 211: 6(float) CompositeExtract 209 2 212: 6(float) CompositeExtract 209 3 213: 22(fvec4) CompositeInsert 212 209 2 214: 6(float) ImageSampleProjDrefImplicitLod 208 213 211 Bias 210 215: 22(fvec4) Load 26(color) 216: 22(fvec4) CompositeConstruct 214 214 214 214 217: 22(fvec4) FAdd 215 216 Store 26(color) 217 Store 221(iCoords2D) 224 Store 226(iLod) 227 228: 74 Load 76(texSampler2D) 229: 219(ivec2) Load 221(iCoords2D) 230: 218(int) Load 226(iLod) 231: 73 Image 228 232: 22(fvec4) ImageFetch 231 229 Lod 230 233: 22(fvec4) Load 26(color) 234: 22(fvec4) FAdd 233 232 Store 26(color) 234 237: 45(fvec2) Load 47(coords2D) 238: 45(fvec2) DPdx 237 Store 236(gradX) 238 240: 45(fvec2) Load 47(coords2D) 241: 45(fvec2) DPdy 240 Store 239(gradY) 241 242: 74 Load 76(texSampler2D) 243: 45(fvec2) Load 47(coords2D) 244: 45(fvec2) Load 236(gradX) 245: 45(fvec2) Load 239(gradY) 246: 22(fvec4) ImageSampleExplicitLod 242 243 Grad 244 245 247: 22(fvec4) Load 26(color) 248: 22(fvec4) FAdd 247 246 Store 26(color) 248 249: 74 Load 76(texSampler2D) 250: 45(fvec2) Load 47(coords2D) 251: 6(float) Load 14(proj) 252: 6(float) CompositeExtract 250 0 253: 6(float) CompositeExtract 250 1 254: 16(fvec3) CompositeConstruct 252 253 251 255: 45(fvec2) Load 236(gradX) 256: 45(fvec2) Load 239(gradY) 257: 22(fvec4) ImageSampleProjExplicitLod 249 254 Grad 255 256 258: 22(fvec4) Load 26(color) 259: 22(fvec4) FAdd 258 257 Store 26(color) 259 260: 74 Load 76(texSampler2D) 261: 45(fvec2) Load 47(coords2D) 262: 45(fvec2) Load 236(gradX) 263: 45(fvec2) Load 239(gradY) 267: 22(fvec4) ImageSampleExplicitLod 260 261 Grad ConstOffset 262 263 266 268: 22(fvec4) Load 26(color) 269: 22(fvec4) FAdd 268 267 Store 26(color) 269 270: 74 Load 76(texSampler2D) 271: 16(fvec3) Load 18(coords3D) 272: 45(fvec2) Load 236(gradX) 273: 45(fvec2) Load 239(gradY) 274: 22(fvec4) ImageSampleProjExplicitLod 270 271 Grad ConstOffset 272 273 266 275: 22(fvec4) Load 26(color) 276: 22(fvec4) FAdd 275 274 Store 26(color) 276 277: 162 Load 164(shadowSampler2D) 278: 45(fvec2) Load 47(coords2D) 279: 6(float) Load 12(lod) 280: 6(float) CompositeExtract 278 0 281: 6(float) CompositeExtract 278 1 282: 16(fvec3) CompositeConstruct 280 281 279 283: 45(fvec2) Load 236(gradX) 284: 45(fvec2) Load 239(gradY) 285: 6(float) CompositeExtract 282 2 286: 6(float) ImageSampleDrefExplicitLod 277 282 285 Grad 283 284 287: 22(fvec4) Load 26(color) 288: 22(fvec4) CompositeConstruct 286 286 286 286 289: 22(fvec4) FAdd 287 288 Store 26(color) 289 292: 22(fvec4) Load 26(color) 295: 22(fvec4) Load 294(u) 298: 6(float) Load 297(blend) 299: 6(float) Load 8(blendscale) 300: 6(float) FMul 298 299 301: 22(fvec4) CompositeConstruct 300 300 300 300 302: 22(fvec4) ExtInst 1(GLSL.std.450) 46(FMix) 292 295 301 Store 291(gl_FragColor) 302 Return FunctionEnd