1004 lines
59 KiB
Plaintext
1004 lines
59 KiB
Plaintext
spv.debuginfo.hlsl.frag
|
|
Validation failed
|
|
// Module Version 10000
|
|
// Generated by (magic number): 8000a
|
|
// Id's are bound by 759
|
|
|
|
Capability Shader
|
|
Capability ImageQuery
|
|
Extension "SPV_KHR_non_semantic_info"
|
|
1: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
|
|
2: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Fragment 5 "main" 752 755
|
|
ExecutionMode 5 OriginUpperLeft
|
|
9: String "float"
|
|
12: String "uint"
|
|
32: String "textureProj"
|
|
35: String ""
|
|
43: String "P"
|
|
47: String "layer"
|
|
50: String "offset"
|
|
57: String "filterPCF"
|
|
63: String "sc"
|
|
75: String "shadow"
|
|
81: String "fragcolor"
|
|
84: String "fragPos"
|
|
90: String "@main"
|
|
96: String "inUV"
|
|
106: String "shadowCoord"
|
|
128: String "bool"
|
|
141: String "dist"
|
|
145: String "type.2d.image"
|
|
146: String "@type.2d.image"
|
|
151: String "textureShadowMap"
|
|
156: String "type.sampler"
|
|
157: String "@type.sampler"
|
|
161: String "samplerShadowMap"
|
|
165: String "type.sampled.image"
|
|
166: String "@type.sampled.image"
|
|
204: String "sizeQueryTemp"
|
|
210: String "int"
|
|
217: String "texDim"
|
|
230: String "elements"
|
|
237: String "levels"
|
|
244: String "scale"
|
|
250: String "dx"
|
|
261: String "dy"
|
|
272: String "shadowFactor"
|
|
277: String "count"
|
|
283: String "range"
|
|
289: String "x"
|
|
305: String "y"
|
|
355: String "i"
|
|
369: String "shadowClip"
|
|
381: String "color"
|
|
387: String "viewMatrix"
|
|
391: String "Light"
|
|
397: String "lights"
|
|
400: String "displayDebugTarget"
|
|
405: String "UBO"
|
|
408: String "ubo"
|
|
450: String "textureposition"
|
|
455: String "samplerposition"
|
|
466: String "normal"
|
|
470: String "textureNormal"
|
|
475: String "samplerNormal"
|
|
484: String "albedo"
|
|
488: String "textureAlbedo"
|
|
493: String "samplerAlbedo"
|
|
552: String "N"
|
|
571: String "L"
|
|
592: String "V"
|
|
605: String "lightCosInnerAngle"
|
|
611: String "lightCosOuterAngle"
|
|
617: String "lightRange"
|
|
623: String "dir"
|
|
638: String "cosDir"
|
|
646: String "spotEffect"
|
|
655: String "heightAttenuation"
|
|
663: String "NdotL"
|
|
672: String "diff"
|
|
679: String "R"
|
|
688: String "NdotR"
|
|
697: String "spec"
|
|
Name 5 "main"
|
|
Name 31 "textureProj(vf4;f1;vf2;"
|
|
Name 28 "P"
|
|
Name 29 "layer"
|
|
Name 30 "offset"
|
|
Name 56 "filterPCF(vf4;f1;"
|
|
Name 54 "sc"
|
|
Name 55 "layer"
|
|
Name 74 "shadow(vf3;vf3;"
|
|
Name 72 "fragcolor"
|
|
Name 73 "fragPos"
|
|
Name 89 "@main(vf2;"
|
|
Name 88 "inUV"
|
|
Name 99 "shadow"
|
|
Name 104 "shadowCoord"
|
|
Name 139 "dist"
|
|
Name 149 "textureShadowMap"
|
|
Name 159 "samplerShadowMap"
|
|
Name 202 "sizeQueryTemp"
|
|
Name 215 "texDim"
|
|
Name 228 "elements"
|
|
Name 235 "levels"
|
|
Name 242 "scale"
|
|
Name 248 "dx"
|
|
Name 259 "dy"
|
|
Name 270 "shadowFactor"
|
|
Name 275 "count"
|
|
Name 281 "range"
|
|
Name 287 "x"
|
|
Name 303 "y"
|
|
Name 328 "param"
|
|
Name 330 "param"
|
|
Name 332 "param"
|
|
Name 353 "i"
|
|
Name 367 "shadowClip"
|
|
Name 379 "Light"
|
|
MemberName 379(Light) 0 "position"
|
|
MemberName 379(Light) 1 "target"
|
|
MemberName 379(Light) 2 "color"
|
|
MemberName 379(Light) 3 "viewMatrix"
|
|
Name 394 "UBO"
|
|
MemberName 394(UBO) 0 "viewPos"
|
|
MemberName 394(UBO) 1 "lights"
|
|
MemberName 394(UBO) 2 "useShadows"
|
|
MemberName 394(UBO) 3 "displayDebugTarget"
|
|
Name 406 "ubo"
|
|
MemberName 406(ubo) 0 "ubo"
|
|
Name 413 ""
|
|
Name 421 "shadowFactor"
|
|
Name 426 "param"
|
|
Name 428 "param"
|
|
Name 442 "fragPos"
|
|
Name 448 "textureposition"
|
|
Name 453 "samplerposition"
|
|
Name 464 "normal"
|
|
Name 468 "textureNormal"
|
|
Name 473 "samplerNormal"
|
|
Name 482 "albedo"
|
|
Name 486 "textureAlbedo"
|
|
Name 491 "samplerAlbedo"
|
|
Name 514 "fragcolor"
|
|
Name 518 "param"
|
|
Name 519 "param"
|
|
Name 550 "N"
|
|
Name 557 "i"
|
|
Name 569 "L"
|
|
Name 581 "dist"
|
|
Name 590 "V"
|
|
Name 603 "lightCosInnerAngle"
|
|
Name 609 "lightCosOuterAngle"
|
|
Name 615 "lightRange"
|
|
Name 621 "dir"
|
|
Name 636 "cosDir"
|
|
Name 644 "spotEffect"
|
|
Name 653 "heightAttenuation"
|
|
Name 661 "NdotL"
|
|
Name 670 "diff"
|
|
Name 677 "R"
|
|
Name 686 "NdotR"
|
|
Name 695 "spec"
|
|
Name 737 "param"
|
|
Name 739 "param"
|
|
Name 750 "inUV"
|
|
Name 752 "inUV"
|
|
Name 755 "@entryPointOutput"
|
|
Name 756 "param"
|
|
Decorate 149(textureShadowMap) DescriptorSet 0
|
|
Decorate 149(textureShadowMap) Binding 5
|
|
Decorate 159(samplerShadowMap) DescriptorSet 0
|
|
Decorate 159(samplerShadowMap) Binding 5
|
|
MemberDecorate 379(Light) 0 Offset 0
|
|
MemberDecorate 379(Light) 1 Offset 16
|
|
MemberDecorate 379(Light) 2 Offset 32
|
|
MemberDecorate 379(Light) 3 RowMajor
|
|
MemberDecorate 379(Light) 3 Offset 48
|
|
MemberDecorate 379(Light) 3 MatrixStride 16
|
|
Decorate 392 ArrayStride 112
|
|
MemberDecorate 394(UBO) 0 Offset 0
|
|
MemberDecorate 394(UBO) 1 Offset 16
|
|
MemberDecorate 394(UBO) 2 Offset 352
|
|
MemberDecorate 394(UBO) 3 Offset 356
|
|
MemberDecorate 406(ubo) 0 Offset 0
|
|
Decorate 406(ubo) Block
|
|
Decorate 413 DescriptorSet 0
|
|
Decorate 413 Binding 4
|
|
Decorate 448(textureposition) DescriptorSet 0
|
|
Decorate 448(textureposition) Binding 1
|
|
Decorate 453(samplerposition) DescriptorSet 0
|
|
Decorate 453(samplerposition) Binding 1
|
|
Decorate 468(textureNormal) DescriptorSet 0
|
|
Decorate 468(textureNormal) Binding 2
|
|
Decorate 473(samplerNormal) DescriptorSet 0
|
|
Decorate 473(samplerNormal) Binding 2
|
|
Decorate 486(textureAlbedo) DescriptorSet 0
|
|
Decorate 486(textureAlbedo) Binding 3
|
|
Decorate 491(samplerAlbedo) DescriptorSet 0
|
|
Decorate 491(samplerAlbedo) Binding 3
|
|
Decorate 752(inUV) Location 0
|
|
Decorate 755(@entryPointOutput) Location 0
|
|
3: TypeVoid
|
|
4: TypeFunction 3
|
|
7: TypeFloat 32
|
|
10: TypeInt 32 0
|
|
13: 10(int) Constant 32
|
|
14: 10(int) Constant 6
|
|
15: 10(int) Constant 0
|
|
11: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 12 13 14 15
|
|
16: 10(int) Constant 3
|
|
8: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 9 13 16 15
|
|
17: TypeVector 7(float) 4
|
|
18: 10(int) Constant 4
|
|
19: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 8 18
|
|
20: TypePointer Function 17(fvec4)
|
|
21: TypePointer Function 7(float)
|
|
22: TypeVector 7(float) 2
|
|
23: 10(int) Constant 2
|
|
24: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 8 23
|
|
25: TypePointer Function 22(fvec2)
|
|
26: TypeFunction 7(float) 20(ptr) 21(ptr) 25(ptr)
|
|
27: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(Floor) 16 8 19 8 24
|
|
34: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(Modf) 0 35
|
|
37: 10(int) Constant 1
|
|
38: 10(int) Constant 5
|
|
36: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(Round) 37 18 34 38
|
|
33: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(Cosh) 32 27 34 15 15 36 32 16 15
|
|
42: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 43 19 34 15 15 33 18 37
|
|
45: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(Sqrt)
|
|
46: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 47 8 34 15 15 33 18 23
|
|
49: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 50 24 34 15 15 33 18 16
|
|
52: TypeFunction 7(float) 20(ptr) 21(ptr)
|
|
53: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(Floor) 16 8 19 8
|
|
58: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(Cosh) 57 53 34 15 15 36 57 16 15
|
|
62: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 63 19 34 15 15 58 18 37
|
|
65: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 47 8 34 15 15 58 18 23
|
|
67: TypeVector 7(float) 3
|
|
68: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 8 16
|
|
69: TypePointer Function 67(fvec3)
|
|
70: TypeFunction 67(fvec3) 69(ptr) 69(ptr)
|
|
71: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(Floor) 16 68 68 68
|
|
76: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(Cosh) 75 71 34 15 15 36 75 16 15
|
|
80: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 81 68 34 15 15 76 18 37
|
|
83: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 84 68 34 15 15 76 18 23
|
|
86: TypeFunction 17(fvec4) 25(ptr)
|
|
87: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(Floor) 16 19 24
|
|
91: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(Cosh) 90 87 34 15 15 36 90 16 15
|
|
95: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 96 24 34 15 15 91 18 37
|
|
101: 10(int) Constant 62
|
|
100: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 75 8 34 101 15 33 18
|
|
102: 7(float) Constant 1065353216
|
|
107: 10(int) Constant 63
|
|
105: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 106 19 34 107 15 33 18
|
|
116: 7(float) Constant 1056964608
|
|
126: 7(float) Constant 3212836864
|
|
127: TypeBool
|
|
129: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 128 13 23 15
|
|
133: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 128 13 23 15
|
|
135: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 128 13 23 15
|
|
142: 10(int) Constant 68
|
|
140: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 141 8 34 142 15 33 18
|
|
143: TypeImage 7(float) 2D array sampled format:Unknown
|
|
147: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 0(Unknown)
|
|
144: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 145 15 34 142 15 36 146 147 16
|
|
148: TypePointer UniformConstant 143
|
|
149(textureShadowMap): 148(ptr) Variable UniformConstant
|
|
152: 10(int) Constant 8
|
|
150: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 151 144 34 142 15 36 151 149(textureShadowMap) 152
|
|
154: TypeSampler
|
|
155: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 156 37 34 142 15 36 157 147 16
|
|
158: TypePointer UniformConstant 154
|
|
159(samplerShadowMap): 158(ptr) Variable UniformConstant
|
|
160: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 161 155 34 142 15 36 161 159(samplerShadowMap) 152
|
|
163: TypeSampledImage 143
|
|
164: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 165 15 34 142 15 36 166 147 16
|
|
181: 7(float) Constant 0
|
|
182: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 128 13 23 15
|
|
187: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 128 13 23 15
|
|
189: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 128 13 23 15
|
|
193: 7(float) Constant 1048576000
|
|
199: TypeVector 10(int) 3
|
|
200: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 11 16
|
|
201: TypePointer Function 199(ivec3)
|
|
205: 10(int) Constant 80
|
|
203: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 204 200 34 205 15 58 18
|
|
209: TypeInt 32 1
|
|
211: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 210 13 18 15
|
|
212: TypeVector 209(int) 2
|
|
213: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 211 23
|
|
214: TypePointer Function 212(ivec2)
|
|
216: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 217 213 34 205 15 58 18
|
|
218: TypePointer Function 10(int)
|
|
222: TypePointer Function 209(int)
|
|
229: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 230 211 34 205 15 58 18
|
|
236: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 237 211 34 205 15 58 18
|
|
245: 10(int) Constant 81
|
|
243: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 244 8 34 245 15 58 18
|
|
246: 7(float) Constant 1069547520
|
|
251: 10(int) Constant 82
|
|
249: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 250 8 34 251 15 58 18
|
|
262: 10(int) Constant 83
|
|
260: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 261 8 34 262 15 58 18
|
|
273: 10(int) Constant 85
|
|
271: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 272 8 34 273 15 58 18
|
|
278: 10(int) Constant 86
|
|
276: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 277 211 34 278 15 58 18
|
|
279: 209(int) Constant 0
|
|
284: 10(int) Constant 87
|
|
282: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 283 211 34 284 15 58 18
|
|
285: 209(int) Constant 1
|
|
290: 10(int) Constant 89
|
|
288: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 289 211 34 290 15 58 18
|
|
301: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 128 13 23 15
|
|
306: 10(int) Constant 91
|
|
304: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 305 211 34 306 15 58 18
|
|
317: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 128 13 23 15
|
|
356: 10(int) Constant 102
|
|
354: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 355 211 34 356 15 76 18
|
|
364: 209(int) Constant 3
|
|
365: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 128 13 23 15
|
|
370: 10(int) Constant 104
|
|
368: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 369 19 34 370 15 76 18
|
|
376: TypeMatrix 17(fvec4) 4
|
|
378: 127(bool) ConstantTrue
|
|
377: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108 19 18 378
|
|
379(Light): TypeStruct 17(fvec4) 17(fvec4) 17(fvec4) 376
|
|
382: 10(int) Constant 46
|
|
383: 10(int) Constant 14
|
|
380: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 381 19 34 382 383 15 15 16
|
|
384: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 381 19 34 382 383 15 15 16
|
|
385: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 381 19 34 382 383 15 15 16
|
|
388: 10(int) Constant 47
|
|
389: 10(int) Constant 21
|
|
386: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 387 377 34 388 389 15 15 16
|
|
390: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 391 37 34 370 15 36 391 15 16 380 384 385 386
|
|
392: TypeArray 379(Light) 16
|
|
393: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(SAbs) 390 16
|
|
394(UBO): TypeStruct 17(fvec4) 392 209(int) 209(int)
|
|
395: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 381 19 34 382 383 15 15 16
|
|
398: 10(int) Constant 53
|
|
396: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 397 393 34 398 383 15 15 16
|
|
401: 10(int) Constant 55
|
|
402: 10(int) Constant 24
|
|
399: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 400 211 34 401 402 15 15 16
|
|
403: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 400 211 34 401 402 15 15 16
|
|
404: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 405 37 34 370 15 36 405 15 16 395 396 399 403
|
|
406(ubo): TypeStruct 394(UBO)
|
|
409: 10(int) Constant 58
|
|
410: 10(int) Constant 37
|
|
407: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 408 404 34 409 410 15 15 16
|
|
411: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 408 37 34 370 15 36 408 15 16 407
|
|
412: TypePointer Uniform 406(ubo)
|
|
413: 412(ptr) Variable Uniform
|
|
414: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 35 411 34 370 15 36 35 413 152
|
|
416: TypePointer Uniform 376
|
|
423: 10(int) Constant 108
|
|
422: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 272 8 34 423 15 76 18
|
|
444: 10(int) Constant 121
|
|
443: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 84 68 34 444 15 91 18
|
|
445: TypeImage 7(float) 2D sampled format:Unknown
|
|
446: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 145 15 34 444 15 36 146 147 16
|
|
447: TypePointer UniformConstant 445
|
|
448(textureposition): 447(ptr) Variable UniformConstant
|
|
449: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 450 446 34 444 15 36 450 448(textureposition) 152
|
|
452: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 156 37 34 444 15 36 157 147 16
|
|
453(samplerposition): 158(ptr) Variable UniformConstant
|
|
454: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 455 452 34 444 15 36 455 453(samplerposition) 152
|
|
457: TypeSampledImage 445
|
|
458: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 165 15 34 444 15 36 166 147 16
|
|
467: 10(int) Constant 122
|
|
465: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 466 68 34 467 15 91 18
|
|
468(textureNormal): 447(ptr) Variable UniformConstant
|
|
469: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 470 446 34 467 15 36 470 468(textureNormal) 152
|
|
472: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 156 37 34 467 15 36 157 147 16
|
|
473(samplerNormal): 158(ptr) Variable UniformConstant
|
|
474: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 475 472 34 467 15 36 475 473(samplerNormal) 152
|
|
485: 10(int) Constant 123
|
|
483: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 484 19 34 485 15 91 18
|
|
486(textureAlbedo): 447(ptr) Variable UniformConstant
|
|
487: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 488 446 34 485 15 36 488 486(textureAlbedo) 152
|
|
490: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 156 37 34 485 15 36 157 147 16
|
|
491(samplerAlbedo): 158(ptr) Variable UniformConstant
|
|
492: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 493 490 34 485 15 36 493 491(samplerAlbedo) 152
|
|
499: TypePointer Uniform 209(int)
|
|
502: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 128 13 23 15
|
|
516: 10(int) Constant 131
|
|
515: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 81 68 34 516 15 91 18
|
|
517: 67(fvec3) ConstantComposite 102 102 102
|
|
547: 7(float) Constant 1036831949
|
|
553: 10(int) Constant 152
|
|
551: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 552 68 34 553 15 91 18
|
|
559: 10(int) Constant 154
|
|
558: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 355 211 34 559 15 91 18
|
|
567: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 128 13 23 15
|
|
572: 10(int) Constant 157
|
|
570: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 571 68 34 572 15 91 18
|
|
574: TypePointer Uniform 17(fvec4)
|
|
583: 10(int) Constant 159
|
|
582: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 141 8 34 583 15 91 18
|
|
593: 10(int) Constant 163
|
|
591: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 592 68 34 593 15 91 18
|
|
606: 10(int) Constant 166
|
|
604: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 605 8 34 606 15 91 18
|
|
607: 7(float) Constant 1064781546
|
|
612: 10(int) Constant 167
|
|
610: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 611 8 34 612 15 91 18
|
|
613: 7(float) Constant 1063781322
|
|
618: 10(int) Constant 168
|
|
616: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 617 8 34 618 15 91 18
|
|
619: 7(float) Constant 1120403456
|
|
624: 10(int) Constant 171
|
|
622: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 623 68 34 624 15 91 18
|
|
639: 10(int) Constant 174
|
|
637: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 638 8 34 639 15 91 18
|
|
647: 10(int) Constant 175
|
|
645: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 646 8 34 647 15 91 18
|
|
656: 10(int) Constant 176
|
|
654: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 655 8 34 656 15 91 18
|
|
664: 10(int) Constant 179
|
|
662: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 663 8 34 664 15 91 18
|
|
673: 10(int) Constant 180
|
|
671: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 672 68 34 673 15 91 18
|
|
680: 10(int) Constant 183
|
|
678: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 679 68 34 680 15 91 18
|
|
689: 10(int) Constant 184
|
|
687: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 688 8 34 689 15 91 18
|
|
698: 10(int) Constant 185
|
|
696: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 697 68 34 698 15 91 18
|
|
700: 7(float) Constant 1098907648
|
|
705: 7(float) Constant 1075838976
|
|
717: 209(int) Constant 2
|
|
733: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 128 13 23 15
|
|
751: TypePointer Input 22(fvec2)
|
|
752(inUV): 751(ptr) Variable Input
|
|
754: TypePointer Output 17(fvec4)
|
|
755(@entryPointOutput): 754(ptr) Variable Output
|
|
5(main): 3 Function None 4
|
|
6: Label
|
|
750(inUV): 25(ptr) Variable Function
|
|
756(param): 25(ptr) Variable Function
|
|
753: 22(fvec2) Load 752(inUV)
|
|
Store 750(inUV) 753
|
|
757: 22(fvec2) Load 750(inUV)
|
|
Store 756(param) 757
|
|
758: 17(fvec4) FunctionCall 89(@main(vf2;) 756(param)
|
|
Store 755(@entryPointOutput) 758
|
|
Return
|
|
FunctionEnd
|
|
31(textureProj(vf4;f1;vf2;): 7(float) Function None 26
|
|
28(P): 20(ptr) FunctionParameter
|
|
29(layer): 21(ptr) FunctionParameter
|
|
30(offset): 25(ptr) FunctionParameter
|
|
39: Label
|
|
99(shadow): 21(ptr) Variable Function
|
|
104(shadowCoord): 20(ptr) Variable Function
|
|
139(dist): 21(ptr) Variable Function
|
|
40: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(Acosh) 33
|
|
41: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103 34 15 15 15 15
|
|
44: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 42 28(P) 45
|
|
48: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 46 29(layer) 45
|
|
51: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 49 30(offset) 45
|
|
98: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101 33 31(textureProj(vf4;f1;vf2;)
|
|
Store 99(shadow) 102
|
|
103: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 100 102 45
|
|
108: 17(fvec4) Load 28(P)
|
|
109: 21(ptr) AccessChain 28(P) 16
|
|
110: 7(float) Load 109
|
|
111: 17(fvec4) CompositeConstruct 110 110 110 110
|
|
112: 17(fvec4) FDiv 108 111
|
|
Store 104(shadowCoord) 112
|
|
113: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 105 112 45
|
|
114: 17(fvec4) Load 104(shadowCoord)
|
|
115: 22(fvec2) VectorShuffle 114 114 0 1
|
|
117: 22(fvec2) VectorTimesScalar 115 116
|
|
118: 22(fvec2) CompositeConstruct 116 116
|
|
119: 22(fvec2) FAdd 117 118
|
|
120: 21(ptr) AccessChain 104(shadowCoord) 15
|
|
121: 7(float) CompositeExtract 119 0
|
|
Store 120 121
|
|
122: 21(ptr) AccessChain 104(shadowCoord) 37
|
|
123: 7(float) CompositeExtract 119 1
|
|
Store 122 123
|
|
124: 21(ptr) AccessChain 104(shadowCoord) 23
|
|
125: 7(float) Load 124
|
|
130: 127(bool) FOrdGreaterThan 125 126
|
|
131: 21(ptr) AccessChain 104(shadowCoord) 23
|
|
132: 7(float) Load 131
|
|
134: 127(bool) FOrdLessThan 132 102
|
|
136: 127(bool) LogicalAnd 130 134
|
|
SelectionMerge 138 None
|
|
BranchConditional 136 137 138
|
|
137: Label
|
|
153: 143 Load 149(textureShadowMap)
|
|
162: 154 Load 159(samplerShadowMap)
|
|
167: 163 SampledImage 153 162
|
|
168: 17(fvec4) Load 104(shadowCoord)
|
|
169: 22(fvec2) VectorShuffle 168 168 0 1
|
|
170: 22(fvec2) Load 30(offset)
|
|
171: 22(fvec2) FAdd 169 170
|
|
172: 7(float) Load 29(layer)
|
|
173: 7(float) CompositeExtract 171 0
|
|
174: 7(float) CompositeExtract 171 1
|
|
175: 67(fvec3) CompositeConstruct 173 174 172
|
|
176: 17(fvec4) ImageSampleImplicitLod 167 175
|
|
177: 7(float) CompositeExtract 176 0
|
|
Store 139(dist) 177
|
|
178: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 140 177 45
|
|
179: 21(ptr) AccessChain 104(shadowCoord) 16
|
|
180: 7(float) Load 179
|
|
183: 127(bool) FOrdGreaterThan 180 181
|
|
184: 7(float) Load 139(dist)
|
|
185: 21(ptr) AccessChain 104(shadowCoord) 23
|
|
186: 7(float) Load 185
|
|
188: 127(bool) FOrdLessThan 184 186
|
|
190: 127(bool) LogicalAnd 183 188
|
|
SelectionMerge 192 None
|
|
BranchConditional 190 191 192
|
|
191: Label
|
|
Store 99(shadow) 193
|
|
194: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 100 193 45
|
|
Branch 192
|
|
192: Label
|
|
Branch 138
|
|
138: Label
|
|
195: 7(float) Load 99(shadow)
|
|
ReturnValue 195
|
|
FunctionEnd
|
|
56(filterPCF(vf4;f1;): 7(float) Function None 52
|
|
54(sc): 20(ptr) FunctionParameter
|
|
55(layer): 21(ptr) FunctionParameter
|
|
59: Label
|
|
202(sizeQueryTemp): 201(ptr) Variable Function
|
|
215(texDim): 214(ptr) Variable Function
|
|
228(elements): 222(ptr) Variable Function
|
|
235(levels): 222(ptr) Variable Function
|
|
242(scale): 21(ptr) Variable Function
|
|
248(dx): 21(ptr) Variable Function
|
|
259(dy): 21(ptr) Variable Function
|
|
270(shadowFactor): 21(ptr) Variable Function
|
|
275(count): 222(ptr) Variable Function
|
|
281(range): 222(ptr) Variable Function
|
|
287(x): 222(ptr) Variable Function
|
|
303(y): 222(ptr) Variable Function
|
|
328(param): 20(ptr) Variable Function
|
|
330(param): 21(ptr) Variable Function
|
|
332(param): 25(ptr) Variable Function
|
|
60: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(Acosh) 58
|
|
61: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103 34 15 15 15 15
|
|
64: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 62 54(sc) 45
|
|
66: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 65 55(layer) 45
|
|
198: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101 58 56(filterPCF(vf4;f1;)
|
|
206: 143 Load 149(textureShadowMap)
|
|
207: 199(ivec3) ImageQuerySizeLod 206 15
|
|
Store 202(sizeQueryTemp) 207
|
|
208: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 203 207 45
|
|
219: 218(ptr) AccessChain 202(sizeQueryTemp) 15
|
|
220: 10(int) Load 219
|
|
221: 209(int) Bitcast 220
|
|
223: 222(ptr) AccessChain 215(texDim) 15
|
|
Store 223 221
|
|
224: 218(ptr) AccessChain 202(sizeQueryTemp) 37
|
|
225: 10(int) Load 224
|
|
226: 209(int) Bitcast 225
|
|
227: 222(ptr) AccessChain 215(texDim) 37
|
|
Store 227 226
|
|
231: 218(ptr) AccessChain 202(sizeQueryTemp) 23
|
|
232: 10(int) Load 231
|
|
233: 209(int) Bitcast 232
|
|
Store 228(elements) 233
|
|
234: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 229 233 45
|
|
238: 143 Load 149(textureShadowMap)
|
|
239: 10(int) ImageQueryLevels 238
|
|
240: 209(int) Bitcast 239
|
|
Store 235(levels) 240
|
|
241: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 236 240 45
|
|
Store 242(scale) 246
|
|
247: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 243 246 45
|
|
252: 7(float) Load 242(scale)
|
|
253: 7(float) FMul 252 102
|
|
254: 222(ptr) AccessChain 215(texDim) 15
|
|
255: 209(int) Load 254
|
|
256: 7(float) ConvertSToF 255
|
|
257: 7(float) FDiv 253 256
|
|
Store 248(dx) 257
|
|
258: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 249 257 45
|
|
263: 7(float) Load 242(scale)
|
|
264: 7(float) FMul 263 102
|
|
265: 222(ptr) AccessChain 215(texDim) 37
|
|
266: 209(int) Load 265
|
|
267: 7(float) ConvertSToF 266
|
|
268: 7(float) FDiv 264 267
|
|
Store 259(dy) 268
|
|
269: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 260 268 45
|
|
Store 270(shadowFactor) 181
|
|
274: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 271 181 45
|
|
Store 275(count) 279
|
|
280: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 276 279 45
|
|
Store 281(range) 285
|
|
286: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 282 285 45
|
|
291: 209(int) Load 281(range)
|
|
292: 209(int) SNegate 291
|
|
Store 287(x) 292
|
|
293: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 288 292 45
|
|
Branch 294
|
|
294: Label
|
|
LoopMerge 296 297 None
|
|
Branch 298
|
|
298: Label
|
|
299: 209(int) Load 287(x)
|
|
300: 209(int) Load 281(range)
|
|
302: 127(bool) SLessThanEqual 299 300
|
|
BranchConditional 302 295 296
|
|
295: Label
|
|
307: 209(int) Load 281(range)
|
|
308: 209(int) SNegate 307
|
|
Store 303(y) 308
|
|
309: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 304 308 45
|
|
Branch 310
|
|
310: Label
|
|
LoopMerge 312 313 None
|
|
Branch 314
|
|
314: Label
|
|
315: 209(int) Load 303(y)
|
|
316: 209(int) Load 281(range)
|
|
318: 127(bool) SLessThanEqual 315 316
|
|
BranchConditional 318 311 312
|
|
311: Label
|
|
319: 7(float) Load 248(dx)
|
|
320: 209(int) Load 287(x)
|
|
321: 7(float) ConvertSToF 320
|
|
322: 7(float) FMul 319 321
|
|
323: 7(float) Load 259(dy)
|
|
324: 209(int) Load 303(y)
|
|
325: 7(float) ConvertSToF 324
|
|
326: 7(float) FMul 323 325
|
|
327: 22(fvec2) CompositeConstruct 322 326
|
|
329: 17(fvec4) Load 54(sc)
|
|
Store 328(param) 329
|
|
331: 7(float) Load 55(layer)
|
|
Store 330(param) 331
|
|
Store 332(param) 327
|
|
333: 7(float) FunctionCall 31(textureProj(vf4;f1;vf2;) 328(param) 330(param) 332(param)
|
|
334: 7(float) Load 270(shadowFactor)
|
|
335: 7(float) FAdd 334 333
|
|
Store 270(shadowFactor) 335
|
|
336: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 271 335 45
|
|
337: 209(int) Load 275(count)
|
|
338: 209(int) IAdd 337 285
|
|
Store 275(count) 338
|
|
339: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 276 338 45
|
|
Branch 313
|
|
313: Label
|
|
340: 209(int) Load 303(y)
|
|
341: 209(int) IAdd 340 285
|
|
Store 303(y) 341
|
|
342: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 304 341 45
|
|
Branch 310
|
|
312: Label
|
|
Branch 297
|
|
297: Label
|
|
343: 209(int) Load 287(x)
|
|
344: 209(int) IAdd 343 285
|
|
Store 287(x) 344
|
|
345: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 288 344 45
|
|
Branch 294
|
|
296: Label
|
|
346: 7(float) Load 270(shadowFactor)
|
|
347: 209(int) Load 275(count)
|
|
348: 7(float) ConvertSToF 347
|
|
349: 7(float) FDiv 346 348
|
|
ReturnValue 349
|
|
FunctionEnd
|
|
74(shadow(vf3;vf3;): 67(fvec3) Function None 70
|
|
72(fragcolor): 69(ptr) FunctionParameter
|
|
73(fragPos): 69(ptr) FunctionParameter
|
|
77: Label
|
|
353(i): 222(ptr) Variable Function
|
|
367(shadowClip): 20(ptr) Variable Function
|
|
421(shadowFactor): 21(ptr) Variable Function
|
|
426(param): 20(ptr) Variable Function
|
|
428(param): 21(ptr) Variable Function
|
|
78: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(Acosh) 76
|
|
79: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103 34 15 15 15 15
|
|
82: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 80 72(fragcolor) 45
|
|
85: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 83 73(fragPos) 45
|
|
352: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101 76 74(shadow(vf3;vf3;)
|
|
Store 353(i) 279
|
|
357: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 354 279 45
|
|
Branch 358
|
|
358: Label
|
|
LoopMerge 360 361 None
|
|
Branch 362
|
|
362: Label
|
|
363: 209(int) Load 353(i)
|
|
366: 127(bool) SLessThan 363 364
|
|
BranchConditional 366 359 360
|
|
359: Label
|
|
371: 67(fvec3) Load 73(fragPos)
|
|
372: 7(float) CompositeExtract 371 0
|
|
373: 7(float) CompositeExtract 371 1
|
|
374: 7(float) CompositeExtract 371 2
|
|
375: 17(fvec4) CompositeConstruct 372 373 374 102
|
|
415: 209(int) Load 353(i)
|
|
417: 416(ptr) AccessChain 413 279 285 415 364
|
|
418: 376 Load 417
|
|
419: 17(fvec4) VectorTimesMatrix 375 418
|
|
Store 367(shadowClip) 419
|
|
420: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 368 419 45
|
|
424: 209(int) Load 353(i)
|
|
425: 7(float) ConvertSToF 424
|
|
427: 17(fvec4) Load 367(shadowClip)
|
|
Store 426(param) 427
|
|
Store 428(param) 425
|
|
429: 7(float) FunctionCall 56(filterPCF(vf4;f1;) 426(param) 428(param)
|
|
Store 421(shadowFactor) 429
|
|
430: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 422 429 45
|
|
431: 7(float) Load 421(shadowFactor)
|
|
432: 67(fvec3) Load 72(fragcolor)
|
|
433: 67(fvec3) VectorTimesScalar 432 431
|
|
Store 72(fragcolor) 433
|
|
434: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 80 433 45
|
|
Branch 361
|
|
361: Label
|
|
435: 209(int) Load 353(i)
|
|
436: 209(int) IAdd 435 285
|
|
Store 353(i) 436
|
|
437: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 354 436 45
|
|
Branch 358
|
|
360: Label
|
|
438: 67(fvec3) Load 72(fragcolor)
|
|
ReturnValue 438
|
|
FunctionEnd
|
|
89(@main(vf2;): 17(fvec4) Function None 86
|
|
88(inUV): 25(ptr) FunctionParameter
|
|
92: Label
|
|
442(fragPos): 69(ptr) Variable Function
|
|
464(normal): 69(ptr) Variable Function
|
|
482(albedo): 20(ptr) Variable Function
|
|
514(fragcolor): 69(ptr) Variable Function
|
|
518(param): 69(ptr) Variable Function
|
|
519(param): 69(ptr) Variable Function
|
|
550(N): 69(ptr) Variable Function
|
|
557(i): 222(ptr) Variable Function
|
|
569(L): 69(ptr) Variable Function
|
|
581(dist): 21(ptr) Variable Function
|
|
590(V): 69(ptr) Variable Function
|
|
603(lightCosInnerAngle): 21(ptr) Variable Function
|
|
609(lightCosOuterAngle): 21(ptr) Variable Function
|
|
615(lightRange): 21(ptr) Variable Function
|
|
621(dir): 69(ptr) Variable Function
|
|
636(cosDir): 21(ptr) Variable Function
|
|
644(spotEffect): 21(ptr) Variable Function
|
|
653(heightAttenuation): 21(ptr) Variable Function
|
|
661(NdotL): 21(ptr) Variable Function
|
|
670(diff): 69(ptr) Variable Function
|
|
677(R): 69(ptr) Variable Function
|
|
686(NdotR): 21(ptr) Variable Function
|
|
695(spec): 69(ptr) Variable Function
|
|
737(param): 69(ptr) Variable Function
|
|
739(param): 69(ptr) Variable Function
|
|
93: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(Acosh) 91
|
|
94: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103 34 15 15 15 15
|
|
97: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 95 88(inUV) 45
|
|
441: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101 91 89(@main(vf2;)
|
|
451: 445 Load 448(textureposition)
|
|
456: 154 Load 453(samplerposition)
|
|
459: 457 SampledImage 451 456
|
|
460: 22(fvec2) Load 88(inUV)
|
|
461: 17(fvec4) ImageSampleImplicitLod 459 460
|
|
462: 67(fvec3) VectorShuffle 461 461 0 1 2
|
|
Store 442(fragPos) 462
|
|
463: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 443 462 45
|
|
471: 445 Load 468(textureNormal)
|
|
476: 154 Load 473(samplerNormal)
|
|
477: 457 SampledImage 471 476
|
|
478: 22(fvec2) Load 88(inUV)
|
|
479: 17(fvec4) ImageSampleImplicitLod 477 478
|
|
480: 67(fvec3) VectorShuffle 479 479 0 1 2
|
|
Store 464(normal) 480
|
|
481: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 465 480 45
|
|
489: 445 Load 486(textureAlbedo)
|
|
494: 154 Load 491(samplerAlbedo)
|
|
495: 457 SampledImage 489 494
|
|
496: 22(fvec2) Load 88(inUV)
|
|
497: 17(fvec4) ImageSampleImplicitLod 495 496
|
|
Store 482(albedo) 497
|
|
498: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 483 497 45
|
|
500: 499(ptr) AccessChain 413 279 364
|
|
501: 209(int) Load 500
|
|
503: 127(bool) SGreaterThan 501 279
|
|
SelectionMerge 505 None
|
|
BranchConditional 503 504 505
|
|
504: Label
|
|
506: 499(ptr) AccessChain 413 279 364
|
|
507: 209(int) Load 506
|
|
SelectionMerge 513 None
|
|
Switch 507 513
|
|
case 1: 508
|
|
case 2: 509
|
|
case 3: 510
|
|
case 4: 511
|
|
case 5: 512
|
|
508: Label
|
|
Store 518(param) 517
|
|
520: 67(fvec3) Load 442(fragPos)
|
|
Store 519(param) 520
|
|
521: 67(fvec3) FunctionCall 74(shadow(vf3;vf3;) 518(param) 519(param)
|
|
Store 514(fragcolor) 521
|
|
522: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 515 521 45
|
|
Branch 513
|
|
509: Label
|
|
524: 67(fvec3) Load 442(fragPos)
|
|
Store 514(fragcolor) 524
|
|
525: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 515 524 45
|
|
Branch 513
|
|
510: Label
|
|
527: 67(fvec3) Load 464(normal)
|
|
Store 514(fragcolor) 527
|
|
528: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 515 527 45
|
|
Branch 513
|
|
511: Label
|
|
530: 17(fvec4) Load 482(albedo)
|
|
531: 67(fvec3) VectorShuffle 530 530 0 1 2
|
|
Store 514(fragcolor) 531
|
|
532: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 515 531 45
|
|
Branch 513
|
|
512: Label
|
|
534: 17(fvec4) Load 482(albedo)
|
|
535: 67(fvec3) VectorShuffle 534 534 3 3 3
|
|
Store 514(fragcolor) 535
|
|
536: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 515 535 45
|
|
Branch 513
|
|
513: Label
|
|
539: 67(fvec3) Load 514(fragcolor)
|
|
540: 7(float) CompositeExtract 539 0
|
|
541: 7(float) CompositeExtract 539 1
|
|
542: 7(float) CompositeExtract 539 2
|
|
543: 17(fvec4) CompositeConstruct 540 541 542 102
|
|
ReturnValue 543
|
|
505: Label
|
|
545: 17(fvec4) Load 482(albedo)
|
|
546: 67(fvec3) VectorShuffle 545 545 0 1 2
|
|
548: 67(fvec3) VectorTimesScalar 546 547
|
|
Store 514(fragcolor) 548
|
|
549: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 515 548 45
|
|
554: 67(fvec3) Load 464(normal)
|
|
555: 67(fvec3) ExtInst 2(GLSL.std.450) 69(Normalize) 554
|
|
Store 550(N) 555
|
|
556: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 551 555 45
|
|
Store 557(i) 279
|
|
560: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 558 279 45
|
|
Branch 561
|
|
561: Label
|
|
LoopMerge 563 564 None
|
|
Branch 565
|
|
565: Label
|
|
566: 209(int) Load 557(i)
|
|
568: 127(bool) SLessThan 566 364
|
|
BranchConditional 568 562 563
|
|
562: Label
|
|
573: 209(int) Load 557(i)
|
|
575: 574(ptr) AccessChain 413 279 285 573 279
|
|
576: 17(fvec4) Load 575
|
|
577: 67(fvec3) VectorShuffle 576 576 0 1 2
|
|
578: 67(fvec3) Load 442(fragPos)
|
|
579: 67(fvec3) FSub 577 578
|
|
Store 569(L) 579
|
|
580: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 570 579 45
|
|
584: 67(fvec3) Load 569(L)
|
|
585: 7(float) ExtInst 2(GLSL.std.450) 66(Length) 584
|
|
Store 581(dist) 585
|
|
586: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 582 585 45
|
|
587: 67(fvec3) Load 569(L)
|
|
588: 67(fvec3) ExtInst 2(GLSL.std.450) 69(Normalize) 587
|
|
Store 569(L) 588
|
|
589: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 570 588 45
|
|
594: 574(ptr) AccessChain 413 279 279
|
|
595: 17(fvec4) Load 594
|
|
596: 67(fvec3) VectorShuffle 595 595 0 1 2
|
|
597: 67(fvec3) Load 442(fragPos)
|
|
598: 67(fvec3) FSub 596 597
|
|
Store 590(V) 598
|
|
599: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 591 598 45
|
|
600: 67(fvec3) Load 590(V)
|
|
601: 67(fvec3) ExtInst 2(GLSL.std.450) 69(Normalize) 600
|
|
Store 590(V) 601
|
|
602: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 591 601 45
|
|
Store 603(lightCosInnerAngle) 607
|
|
608: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 604 607 45
|
|
Store 609(lightCosOuterAngle) 613
|
|
614: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 610 613 45
|
|
Store 615(lightRange) 619
|
|
620: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 616 619 45
|
|
625: 209(int) Load 557(i)
|
|
626: 574(ptr) AccessChain 413 279 285 625 279
|
|
627: 17(fvec4) Load 626
|
|
628: 67(fvec3) VectorShuffle 627 627 0 1 2
|
|
629: 209(int) Load 557(i)
|
|
630: 574(ptr) AccessChain 413 279 285 629 285
|
|
631: 17(fvec4) Load 630
|
|
632: 67(fvec3) VectorShuffle 631 631 0 1 2
|
|
633: 67(fvec3) FSub 628 632
|
|
634: 67(fvec3) ExtInst 2(GLSL.std.450) 69(Normalize) 633
|
|
Store 621(dir) 634
|
|
635: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 622 634 45
|
|
640: 67(fvec3) Load 569(L)
|
|
641: 67(fvec3) Load 621(dir)
|
|
642: 7(float) Dot 640 641
|
|
Store 636(cosDir) 642
|
|
643: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 637 642 45
|
|
648: 7(float) Load 609(lightCosOuterAngle)
|
|
649: 7(float) Load 603(lightCosInnerAngle)
|
|
650: 7(float) Load 636(cosDir)
|
|
651: 7(float) ExtInst 2(GLSL.std.450) 49(SmoothStep) 648 649 650
|
|
Store 644(spotEffect) 651
|
|
652: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 645 651 45
|
|
657: 7(float) Load 615(lightRange)
|
|
658: 7(float) Load 581(dist)
|
|
659: 7(float) ExtInst 2(GLSL.std.450) 49(SmoothStep) 657 181 658
|
|
Store 653(heightAttenuation) 659
|
|
660: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 654 659 45
|
|
665: 67(fvec3) Load 550(N)
|
|
666: 67(fvec3) Load 569(L)
|
|
667: 7(float) Dot 665 666
|
|
668: 7(float) ExtInst 2(GLSL.std.450) 40(FMax) 181 667
|
|
Store 661(NdotL) 668
|
|
669: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 662 668 45
|
|
674: 7(float) Load 661(NdotL)
|
|
675: 67(fvec3) CompositeConstruct 674 674 674
|
|
Store 670(diff) 675
|
|
676: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 671 675 45
|
|
681: 67(fvec3) Load 569(L)
|
|
682: 67(fvec3) FNegate 681
|
|
683: 67(fvec3) Load 550(N)
|
|
684: 67(fvec3) ExtInst 2(GLSL.std.450) 71(Reflect) 682 683
|
|
Store 677(R) 684
|
|
685: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 678 684 45
|
|
690: 67(fvec3) Load 677(R)
|
|
691: 67(fvec3) Load 590(V)
|
|
692: 7(float) Dot 690 691
|
|
693: 7(float) ExtInst 2(GLSL.std.450) 40(FMax) 181 692
|
|
Store 686(NdotR) 693
|
|
694: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 687 693 45
|
|
699: 7(float) Load 686(NdotR)
|
|
701: 7(float) ExtInst 2(GLSL.std.450) 26(Pow) 699 700
|
|
702: 21(ptr) AccessChain 482(albedo) 16
|
|
703: 7(float) Load 702
|
|
704: 7(float) FMul 701 703
|
|
706: 7(float) FMul 704 705
|
|
707: 67(fvec3) CompositeConstruct 706 706 706
|
|
Store 695(spec) 707
|
|
708: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 696 707 45
|
|
709: 67(fvec3) Load 670(diff)
|
|
710: 67(fvec3) Load 695(spec)
|
|
711: 67(fvec3) FAdd 709 710
|
|
712: 7(float) Load 644(spotEffect)
|
|
713: 67(fvec3) VectorTimesScalar 711 712
|
|
714: 7(float) Load 653(heightAttenuation)
|
|
715: 67(fvec3) VectorTimesScalar 713 714
|
|
716: 209(int) Load 557(i)
|
|
718: 574(ptr) AccessChain 413 279 285 716 717
|
|
719: 17(fvec4) Load 718
|
|
720: 67(fvec3) VectorShuffle 719 719 0 1 2
|
|
721: 67(fvec3) FMul 715 720
|
|
722: 17(fvec4) Load 482(albedo)
|
|
723: 67(fvec3) VectorShuffle 722 722 0 1 2
|
|
724: 67(fvec3) FMul 721 723
|
|
725: 67(fvec3) Load 514(fragcolor)
|
|
726: 67(fvec3) FAdd 725 724
|
|
Store 514(fragcolor) 726
|
|
727: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 515 726 45
|
|
Branch 564
|
|
564: Label
|
|
728: 209(int) Load 557(i)
|
|
729: 209(int) IAdd 728 285
|
|
Store 557(i) 729
|
|
730: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 558 729 45
|
|
Branch 561
|
|
563: Label
|
|
731: 499(ptr) AccessChain 413 279 717
|
|
732: 209(int) Load 731
|
|
734: 127(bool) SGreaterThan 732 279
|
|
SelectionMerge 736 None
|
|
BranchConditional 734 735 736
|
|
735: Label
|
|
738: 67(fvec3) Load 514(fragcolor)
|
|
Store 737(param) 738
|
|
740: 67(fvec3) Load 442(fragPos)
|
|
Store 739(param) 740
|
|
741: 67(fvec3) FunctionCall 74(shadow(vf3;vf3;) 737(param) 739(param)
|
|
Store 514(fragcolor) 741
|
|
742: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 515 741 45
|
|
Branch 736
|
|
736: Label
|
|
743: 67(fvec3) Load 514(fragcolor)
|
|
744: 7(float) CompositeExtract 743 0
|
|
745: 7(float) CompositeExtract 743 1
|
|
746: 7(float) CompositeExtract 743 2
|
|
747: 17(fvec4) CompositeConstruct 744 745 746 102
|
|
ReturnValue 747
|
|
FunctionEnd
|