1spv.newTexture.frag 2// Module Version 10000 3// Generated by (magic number): 80007 4// Id's are bound by 284 5 6 Capability Shader 7 Capability SampledRect 8 Capability SampledCubeArray 9 Capability ImageQuery 10 1: ExtInstImport "GLSL.std.450" 11 MemoryModel Logical GLSL450 12 EntryPoint Fragment 4 "main" 17 26 29 55 81 84 92 253 283 13 ExecutionMode 4 OriginUpperLeft 14 Source GLSL 430 15 Name 4 "main" 16 Name 9 "v" 17 Name 13 "s2D" 18 Name 17 "c2D" 19 Name 23 "sCubeArrayShadow" 20 Name 26 "c4D" 21 Name 29 "c1D" 22 Name 42 "s3D" 23 Name 51 "s2DArray" 24 Name 55 "c3D" 25 Name 64 "s2DShadow" 26 Name 81 "ic3D" 27 Name 84 "ic1D" 28 Name 92 "ic2D" 29 Name 102 "sr" 30 Name 128 "sCube" 31 Name 139 "s2DArrayShadow" 32 Name 167 "iv" 33 Name 171 "is2D" 34 Name 208 "is3D" 35 Name 220 "isCube" 36 Name 232 "is2DArray" 37 Name 243 "iv2" 38 Name 247 "sCubeShadow" 39 Name 253 "FragData" 40 Name 265 "is2Dms" 41 Name 269 "us2D" 42 Name 273 "us3D" 43 Name 277 "usCube" 44 Name 281 "us2DArray" 45 Name 283 "ic4D" 46 Decorate 13(s2D) DescriptorSet 0 47 Decorate 23(sCubeArrayShadow) DescriptorSet 0 48 Decorate 42(s3D) DescriptorSet 0 49 Decorate 51(s2DArray) DescriptorSet 0 50 Decorate 64(s2DShadow) DescriptorSet 0 51 Decorate 81(ic3D) Flat 52 Decorate 84(ic1D) Flat 53 Decorate 92(ic2D) Flat 54 Decorate 102(sr) DescriptorSet 0 55 Decorate 128(sCube) DescriptorSet 0 56 Decorate 139(s2DArrayShadow) DescriptorSet 0 57 Decorate 171(is2D) DescriptorSet 0 58 Decorate 208(is3D) DescriptorSet 0 59 Decorate 220(isCube) DescriptorSet 0 60 Decorate 232(is2DArray) DescriptorSet 0 61 Decorate 247(sCubeShadow) DescriptorSet 0 62 Decorate 265(is2Dms) DescriptorSet 0 63 Decorate 269(us2D) DescriptorSet 0 64 Decorate 273(us3D) DescriptorSet 0 65 Decorate 277(usCube) DescriptorSet 0 66 Decorate 281(us2DArray) DescriptorSet 0 67 Decorate 283(ic4D) Flat 68 2: TypeVoid 69 3: TypeFunction 2 70 6: TypeFloat 32 71 7: TypeVector 6(float) 4 72 8: TypePointer Function 7(fvec4) 73 10: TypeImage 6(float) 2D sampled format:Unknown 74 11: TypeSampledImage 10 75 12: TypePointer UniformConstant 11 76 13(s2D): 12(ptr) Variable UniformConstant 77 15: TypeVector 6(float) 2 78 16: TypePointer Input 15(fvec2) 79 17(c2D): 16(ptr) Variable Input 80 20: TypeImage 6(float) Cube depth array sampled format:Unknown 81 21: TypeSampledImage 20 82 22: TypePointer UniformConstant 21 8323(sCubeArrayShadow): 22(ptr) Variable UniformConstant 84 25: TypePointer Input 7(fvec4) 85 26(c4D): 25(ptr) Variable Input 86 28: TypePointer Input 6(float) 87 29(c1D): 28(ptr) Variable Input 88 32: TypeInt 32 0 89 33: 32(int) Constant 1 90 34: TypePointer Function 6(float) 91 39: TypeImage 6(float) 3D sampled format:Unknown 92 40: TypeSampledImage 39 93 41: TypePointer UniformConstant 40 94 42(s3D): 41(ptr) Variable UniformConstant 95 48: TypeImage 6(float) 2D array sampled format:Unknown 96 49: TypeSampledImage 48 97 50: TypePointer UniformConstant 49 98 51(s2DArray): 50(ptr) Variable UniformConstant 99 53: TypeVector 6(float) 3 100 54: TypePointer Input 53(fvec3) 101 55(c3D): 54(ptr) Variable Input 102 57: 6(float) Constant 1067030938 103 61: TypeImage 6(float) 2D depth sampled format:Unknown 104 62: TypeSampledImage 61 105 63: TypePointer UniformConstant 62 106 64(s2DShadow): 63(ptr) Variable UniformConstant 107 67: TypeInt 32 1 108 68: TypeVector 67(int) 2 109 69: 67(int) Constant 3 110 70: 68(ivec2) ConstantComposite 69 69 111 79: TypeVector 67(int) 3 112 80: TypePointer Input 79(ivec3) 113 81(ic3D): 80(ptr) Variable Input 114 83: TypePointer Input 67(int) 115 84(ic1D): 83(ptr) Variable Input 116 91: TypePointer Input 68(ivec2) 117 92(ic2D): 91(ptr) Variable Input 118 94: 67(int) Constant 4 119 99: TypeImage 6(float) Rect sampled format:Unknown 120 100: TypeSampledImage 99 121 101: TypePointer UniformConstant 100 122 102(sr): 101(ptr) Variable UniformConstant 123 105: 68(ivec2) ConstantComposite 94 94 124 125: TypeImage 6(float) Cube sampled format:Unknown 125 126: TypeSampledImage 125 126 127: TypePointer UniformConstant 126 127 128(sCube): 127(ptr) Variable UniformConstant 128 136: TypeImage 6(float) 2D depth array sampled format:Unknown 129 137: TypeSampledImage 136 130 138: TypePointer UniformConstant 137 131139(s2DArrayShadow): 138(ptr) Variable UniformConstant 132 146: 32(int) Constant 0 133 165: TypeVector 67(int) 4 134 166: TypePointer Function 165(ivec4) 135 168: TypeImage 67(int) 2D sampled format:Unknown 136 169: TypeSampledImage 168 137 170: TypePointer UniformConstant 169 138 171(is2D): 170(ptr) Variable UniformConstant 139 205: TypeImage 67(int) 3D sampled format:Unknown 140 206: TypeSampledImage 205 141 207: TypePointer UniformConstant 206 142 208(is3D): 207(ptr) Variable UniformConstant 143 211: 6(float) Constant 1082549862 144 217: TypeImage 67(int) Cube sampled format:Unknown 145 218: TypeSampledImage 217 146 219: TypePointer UniformConstant 218 147 220(isCube): 219(ptr) Variable UniformConstant 148 229: TypeImage 67(int) 2D array sampled format:Unknown 149 230: TypeSampledImage 229 150 231: TypePointer UniformConstant 230 151 232(is2DArray): 231(ptr) Variable UniformConstant 152 242: TypePointer Function 68(ivec2) 153 244: TypeImage 6(float) Cube depth sampled format:Unknown 154 245: TypeSampledImage 244 155 246: TypePointer UniformConstant 245 156247(sCubeShadow): 246(ptr) Variable UniformConstant 157 249: 67(int) Constant 2 158 252: TypePointer Output 7(fvec4) 159 253(FragData): 252(ptr) Variable Output 160 257: 6(float) Constant 0 161 262: TypeImage 67(int) 2D multi-sampled sampled format:Unknown 162 263: TypeSampledImage 262 163 264: TypePointer UniformConstant 263 164 265(is2Dms): 264(ptr) Variable UniformConstant 165 266: TypeImage 32(int) 2D sampled format:Unknown 166 267: TypeSampledImage 266 167 268: TypePointer UniformConstant 267 168 269(us2D): 268(ptr) Variable UniformConstant 169 270: TypeImage 32(int) 3D sampled format:Unknown 170 271: TypeSampledImage 270 171 272: TypePointer UniformConstant 271 172 273(us3D): 272(ptr) Variable UniformConstant 173 274: TypeImage 32(int) Cube sampled format:Unknown 174 275: TypeSampledImage 274 175 276: TypePointer UniformConstant 275 176 277(usCube): 276(ptr) Variable UniformConstant 177 278: TypeImage 32(int) 2D array sampled format:Unknown 178 279: TypeSampledImage 278 179 280: TypePointer UniformConstant 279 180 281(us2DArray): 280(ptr) Variable UniformConstant 181 282: TypePointer Input 165(ivec4) 182 283(ic4D): 282(ptr) Variable Input 183 4(main): 2 Function None 3 184 5: Label 185 9(v): 8(ptr) Variable Function 186 167(iv): 166(ptr) Variable Function 187 243(iv2): 242(ptr) Variable Function 188 14: 11 Load 13(s2D) 189 18: 15(fvec2) Load 17(c2D) 190 19: 7(fvec4) ImageSampleImplicitLod 14 18 191 Store 9(v) 19 192 24: 21 Load 23(sCubeArrayShadow) 193 27: 7(fvec4) Load 26(c4D) 194 30: 6(float) Load 29(c1D) 195 31: 6(float) ImageSampleDrefImplicitLod 24 27 30 196 35: 34(ptr) AccessChain 9(v) 33 197 36: 6(float) Load 35 198 37: 6(float) FAdd 36 31 199 38: 34(ptr) AccessChain 9(v) 33 200 Store 38 37 201 43: 40 Load 42(s3D) 202 44: 7(fvec4) Load 26(c4D) 203 45: 7(fvec4) ImageSampleProjImplicitLod 43 44 204 46: 7(fvec4) Load 9(v) 205 47: 7(fvec4) FAdd 46 45 206 Store 9(v) 47 207 52: 49 Load 51(s2DArray) 208 56: 53(fvec3) Load 55(c3D) 209 58: 7(fvec4) ImageSampleExplicitLod 52 56 Lod 57 210 59: 7(fvec4) Load 9(v) 211 60: 7(fvec4) FAdd 59 58 212 Store 9(v) 60 213 65: 62 Load 64(s2DShadow) 214 66: 53(fvec3) Load 55(c3D) 215 71: 6(float) Load 29(c1D) 216 72: 6(float) CompositeExtract 66 2 217 73: 6(float) ImageSampleDrefImplicitLod 65 66 72 Bias ConstOffset 71 70 218 74: 34(ptr) AccessChain 9(v) 33 219 75: 6(float) Load 74 220 76: 6(float) FAdd 75 73 221 77: 34(ptr) AccessChain 9(v) 33 222 Store 77 76 223 78: 40 Load 42(s3D) 224 82: 79(ivec3) Load 81(ic3D) 225 85: 67(int) Load 84(ic1D) 226 86: 39 Image 78 227 87: 7(fvec4) ImageFetch 86 82 Lod 85 228 88: 7(fvec4) Load 9(v) 229 89: 7(fvec4) FAdd 88 87 230 Store 9(v) 89 231 90: 11 Load 13(s2D) 232 93: 68(ivec2) Load 92(ic2D) 233 95: 10 Image 90 234 96: 7(fvec4) ImageFetch 95 93 Lod ConstOffset 94 70 235 97: 7(fvec4) Load 9(v) 236 98: 7(fvec4) FAdd 97 96 237 Store 9(v) 98 238 103: 100 Load 102(sr) 239 104: 68(ivec2) Load 92(ic2D) 240 106: 99 Image 103 241 107: 7(fvec4) ImageFetch 106 104 ConstOffset 105 242 108: 7(fvec4) Load 9(v) 243 109: 7(fvec4) FAdd 108 107 244 Store 9(v) 109 245 110: 62 Load 64(s2DShadow) 246 111: 53(fvec3) Load 55(c3D) 247 112: 6(float) Load 29(c1D) 248 113: 6(float) CompositeExtract 111 2 249 114: 6(float) ImageSampleDrefExplicitLod 110 111 113 Lod ConstOffset 112 70 250 115: 34(ptr) AccessChain 9(v) 33 251 116: 6(float) Load 115 252 117: 6(float) FAdd 116 114 253 118: 34(ptr) AccessChain 9(v) 33 254 Store 118 117 255 119: 11 Load 13(s2D) 256 120: 53(fvec3) Load 55(c3D) 257 121: 6(float) Load 29(c1D) 258 122: 7(fvec4) ImageSampleProjExplicitLod 119 120 Lod ConstOffset 121 70 259 123: 7(fvec4) Load 9(v) 260 124: 7(fvec4) FAdd 123 122 261 Store 9(v) 124 262 129: 126 Load 128(sCube) 263 130: 53(fvec3) Load 55(c3D) 264 131: 53(fvec3) Load 55(c3D) 265 132: 53(fvec3) Load 55(c3D) 266 133: 7(fvec4) ImageSampleExplicitLod 129 130 Grad 131 132 267 134: 7(fvec4) Load 9(v) 268 135: 7(fvec4) FAdd 134 133 269 Store 9(v) 135 270 140: 137 Load 139(s2DArrayShadow) 271 141: 7(fvec4) Load 26(c4D) 272 142: 15(fvec2) Load 17(c2D) 273 143: 15(fvec2) Load 17(c2D) 274 144: 6(float) CompositeExtract 141 3 275 145: 6(float) ImageSampleDrefExplicitLod 140 141 144 Grad ConstOffset 142 143 70 276 147: 34(ptr) AccessChain 9(v) 146 277 148: 6(float) Load 147 278 149: 6(float) FAdd 148 145 279 150: 34(ptr) AccessChain 9(v) 146 280 Store 150 149 281 151: 40 Load 42(s3D) 282 152: 7(fvec4) Load 26(c4D) 283 153: 53(fvec3) Load 55(c3D) 284 154: 53(fvec3) Load 55(c3D) 285 155: 7(fvec4) ImageSampleProjExplicitLod 151 152 Grad 153 154 286 156: 7(fvec4) Load 9(v) 287 157: 7(fvec4) FAdd 156 155 288 Store 9(v) 157 289 158: 11 Load 13(s2D) 290 159: 53(fvec3) Load 55(c3D) 291 160: 15(fvec2) Load 17(c2D) 292 161: 15(fvec2) Load 17(c2D) 293 162: 7(fvec4) ImageSampleProjExplicitLod 158 159 Grad ConstOffset 160 161 70 294 163: 7(fvec4) Load 9(v) 295 164: 7(fvec4) FAdd 163 162 296 Store 9(v) 164 297 172: 169 Load 171(is2D) 298 173: 15(fvec2) Load 17(c2D) 299 174: 165(ivec4) ImageSampleImplicitLod 172 173 300 Store 167(iv) 174 301 175: 165(ivec4) Load 167(iv) 302 176: 7(fvec4) ConvertSToF 175 303 177: 7(fvec4) Load 9(v) 304 178: 7(fvec4) FAdd 177 176 305 Store 9(v) 178 306 179: 169 Load 171(is2D) 307 180: 7(fvec4) Load 26(c4D) 308 181: 6(float) CompositeExtract 180 3 309 182: 7(fvec4) CompositeInsert 181 180 2 310 183: 165(ivec4) ImageSampleProjImplicitLod 179 182 ConstOffset 70 311 Store 167(iv) 183 312 184: 165(ivec4) Load 167(iv) 313 185: 7(fvec4) ConvertSToF 184 314 186: 7(fvec4) Load 9(v) 315 187: 7(fvec4) FAdd 186 185 316 Store 9(v) 187 317 188: 169 Load 171(is2D) 318 189: 53(fvec3) Load 55(c3D) 319 190: 6(float) Load 29(c1D) 320 191: 165(ivec4) ImageSampleProjExplicitLod 188 189 Lod 190 321 Store 167(iv) 191 322 192: 165(ivec4) Load 167(iv) 323 193: 7(fvec4) ConvertSToF 192 324 194: 7(fvec4) Load 9(v) 325 195: 7(fvec4) FAdd 194 193 326 Store 9(v) 195 327 196: 169 Load 171(is2D) 328 197: 53(fvec3) Load 55(c3D) 329 198: 15(fvec2) Load 17(c2D) 330 199: 15(fvec2) Load 17(c2D) 331 200: 165(ivec4) ImageSampleProjExplicitLod 196 197 Grad 198 199 332 Store 167(iv) 200 333 201: 165(ivec4) Load 167(iv) 334 202: 7(fvec4) ConvertSToF 201 335 203: 7(fvec4) Load 9(v) 336 204: 7(fvec4) FAdd 203 202 337 Store 9(v) 204 338 209: 206 Load 208(is3D) 339 210: 53(fvec3) Load 55(c3D) 340 212: 165(ivec4) ImageSampleImplicitLod 209 210 Bias 211 341 Store 167(iv) 212 342 213: 165(ivec4) Load 167(iv) 343 214: 7(fvec4) ConvertSToF 213 344 215: 7(fvec4) Load 9(v) 345 216: 7(fvec4) FAdd 215 214 346 Store 9(v) 216 347 221: 218 Load 220(isCube) 348 222: 53(fvec3) Load 55(c3D) 349 223: 6(float) Load 29(c1D) 350 224: 165(ivec4) ImageSampleExplicitLod 221 222 Lod 223 351 Store 167(iv) 224 352 225: 165(ivec4) Load 167(iv) 353 226: 7(fvec4) ConvertSToF 225 354 227: 7(fvec4) Load 9(v) 355 228: 7(fvec4) FAdd 227 226 356 Store 9(v) 228 357 233: 230 Load 232(is2DArray) 358 234: 79(ivec3) Load 81(ic3D) 359 235: 67(int) Load 84(ic1D) 360 236: 229 Image 233 361 237: 165(ivec4) ImageFetch 236 234 Lod 235 362 Store 167(iv) 237 363 238: 165(ivec4) Load 167(iv) 364 239: 7(fvec4) ConvertSToF 238 365 240: 7(fvec4) Load 9(v) 366 241: 7(fvec4) FAdd 240 239 367 Store 9(v) 241 368 248: 245 Load 247(sCubeShadow) 369 250: 244 Image 248 370 251: 68(ivec2) ImageQuerySizeLod 250 249 371 Store 243(iv2) 251 372 254: 7(fvec4) Load 9(v) 373 255: 68(ivec2) Load 243(iv2) 374 256: 15(fvec2) ConvertSToF 255 375 258: 6(float) CompositeExtract 256 0 376 259: 6(float) CompositeExtract 256 1 377 260: 7(fvec4) CompositeConstruct 258 259 257 257 378 261: 7(fvec4) FAdd 254 260 379 Store 253(FragData) 261 380 Return 381 FunctionEnd 382