1. Pull OpDebugFunction, OpDebugScope and OpDebugVariable for params out of makeFunctionEntry. 2. Put above in a separate function called setupDebugFunctionEntry, which also accept line number and set it correctly in builder. 3. Call setupDebugFunctionEntry in makeFunction. Also special case handle entry function since it's created ealier elsewhere.
1147 lines
73 KiB
Text
1147 lines
73 KiB
Text
spv.debuginfo.hlsl.frag
|
|
// Module Version 10000
|
|
// Generated by (magic number): 8000b
|
|
// Id's are bound by 890
|
|
|
|
Capability Shader
|
|
Capability ImageQuery
|
|
Extension "SPV_KHR_non_semantic_info"
|
|
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
|
|
3: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Fragment 6 "main" 883 886
|
|
ExecutionMode 6 OriginUpperLeft
|
|
1: String ""
|
|
9: String "float"
|
|
12: String "uint"
|
|
34: String "textureProj"
|
|
37: String "// OpModuleProcessed auto-map-locations
|
|
// OpModuleProcessed auto-map-bindings
|
|
// OpModuleProcessed entry-point main
|
|
// OpModuleProcessed client vulkan100
|
|
// OpModuleProcessed target-env vulkan1.0
|
|
// OpModuleProcessed keep-uncalled
|
|
// OpModuleProcessed hlsl-offsets
|
|
#line 1
|
|
"
|
|
45: String "P"
|
|
49: String "layer"
|
|
52: String "offset"
|
|
60: String "filterPCF"
|
|
66: String "sc"
|
|
79: String "shadow"
|
|
85: String "fragcolor"
|
|
88: String "fragPos"
|
|
95: String "@main"
|
|
101: String "inUV"
|
|
115: String "shadowCoord"
|
|
140: String "bool"
|
|
156: String "dist"
|
|
160: String "type.2d.image"
|
|
161: String "@type.2d.image"
|
|
166: String "textureShadowMap"
|
|
171: String "type.sampler"
|
|
172: String "@type.sampler"
|
|
176: String "samplerShadowMap"
|
|
180: String "type.sampled.image"
|
|
181: String "@type.sampled.image"
|
|
228: String "sizeQueryTemp"
|
|
233: String "int"
|
|
240: String "texDim"
|
|
254: String "elements"
|
|
261: String "levels"
|
|
270: String "scale"
|
|
277: String "dx"
|
|
289: String "dy"
|
|
301: String "shadowFactor"
|
|
307: String "count"
|
|
314: String "range"
|
|
321: String "x"
|
|
343: String "y"
|
|
407: String "i"
|
|
427: String "shadowClip"
|
|
439: String "color"
|
|
445: String "viewMatrix"
|
|
449: String "Light"
|
|
455: String "lights"
|
|
458: String "displayDebugTarget"
|
|
463: String "UBO"
|
|
466: String "ubo"
|
|
516: String "textureposition"
|
|
521: String "samplerposition"
|
|
533: String "normal"
|
|
537: String "textureNormal"
|
|
542: String "samplerNormal"
|
|
552: String "albedo"
|
|
556: String "textureAlbedo"
|
|
561: String "samplerAlbedo"
|
|
651: String "N"
|
|
677: String "L"
|
|
701: String "V"
|
|
716: String "lightCosInnerAngle"
|
|
723: String "lightCosOuterAngle"
|
|
730: String "lightRange"
|
|
737: String "dir"
|
|
753: String "cosDir"
|
|
762: String "spotEffect"
|
|
772: String "heightAttenuation"
|
|
781: String "NdotL"
|
|
791: String "diff"
|
|
799: String "R"
|
|
809: String "NdotR"
|
|
819: String "spec"
|
|
Name 6 "main"
|
|
Name 32 "textureProj(vf4;f1;vf2;"
|
|
Name 29 "P"
|
|
Name 30 "layer"
|
|
Name 31 "offset"
|
|
Name 58 "filterPCF(vf4;f1;"
|
|
Name 56 "sc"
|
|
Name 57 "layer"
|
|
Name 77 "shadow(vf3;vf3;"
|
|
Name 75 "fragcolor"
|
|
Name 76 "fragPos"
|
|
Name 93 "@main(vf2;"
|
|
Name 92 "inUV"
|
|
Name 107 "shadow"
|
|
Name 113 "shadowCoord"
|
|
Name 154 "dist"
|
|
Name 164 "textureShadowMap"
|
|
Name 174 "samplerShadowMap"
|
|
Name 226 "sizeQueryTemp"
|
|
Name 238 "texDim"
|
|
Name 252 "elements"
|
|
Name 259 "levels"
|
|
Name 268 "scale"
|
|
Name 275 "dx"
|
|
Name 287 "dy"
|
|
Name 299 "shadowFactor"
|
|
Name 305 "count"
|
|
Name 312 "range"
|
|
Name 319 "x"
|
|
Name 341 "y"
|
|
Name 372 "param"
|
|
Name 374 "param"
|
|
Name 376 "param"
|
|
Name 405 "i"
|
|
Name 425 "shadowClip"
|
|
Name 437 "Light"
|
|
MemberName 437(Light) 0 "position"
|
|
MemberName 437(Light) 1 "target"
|
|
MemberName 437(Light) 2 "color"
|
|
MemberName 437(Light) 3 "viewMatrix"
|
|
Name 452 "UBO"
|
|
MemberName 452(UBO) 0 "viewPos"
|
|
MemberName 452(UBO) 1 "lights"
|
|
MemberName 452(UBO) 2 "useShadows"
|
|
MemberName 452(UBO) 3 "displayDebugTarget"
|
|
Name 464 "ubo"
|
|
MemberName 464(ubo) 0 "ubo"
|
|
Name 471 ""
|
|
Name 480 "shadowFactor"
|
|
Name 485 "param"
|
|
Name 487 "param"
|
|
Name 508 "fragPos"
|
|
Name 514 "textureposition"
|
|
Name 519 "samplerposition"
|
|
Name 531 "normal"
|
|
Name 535 "textureNormal"
|
|
Name 540 "samplerNormal"
|
|
Name 550 "albedo"
|
|
Name 554 "textureAlbedo"
|
|
Name 559 "samplerAlbedo"
|
|
Name 589 "fragcolor"
|
|
Name 593 "param"
|
|
Name 594 "param"
|
|
Name 649 "N"
|
|
Name 657 "i"
|
|
Name 675 "L"
|
|
Name 688 "dist"
|
|
Name 699 "V"
|
|
Name 714 "lightCosInnerAngle"
|
|
Name 721 "lightCosOuterAngle"
|
|
Name 728 "lightRange"
|
|
Name 735 "dir"
|
|
Name 751 "cosDir"
|
|
Name 760 "spotEffect"
|
|
Name 770 "heightAttenuation"
|
|
Name 779 "NdotL"
|
|
Name 789 "diff"
|
|
Name 797 "R"
|
|
Name 807 "NdotR"
|
|
Name 817 "spec"
|
|
Name 866 "param"
|
|
Name 868 "param"
|
|
Name 881 "inUV"
|
|
Name 883 "inUV"
|
|
Name 886 "@entryPointOutput"
|
|
Name 887 "param"
|
|
Decorate 164(textureShadowMap) DescriptorSet 0
|
|
Decorate 164(textureShadowMap) Binding 5
|
|
Decorate 174(samplerShadowMap) DescriptorSet 0
|
|
Decorate 174(samplerShadowMap) Binding 5
|
|
MemberDecorate 437(Light) 0 Offset 0
|
|
MemberDecorate 437(Light) 1 Offset 16
|
|
MemberDecorate 437(Light) 2 Offset 32
|
|
MemberDecorate 437(Light) 3 RowMajor
|
|
MemberDecorate 437(Light) 3 Offset 48
|
|
MemberDecorate 437(Light) 3 MatrixStride 16
|
|
Decorate 450 ArrayStride 112
|
|
MemberDecorate 452(UBO) 0 Offset 0
|
|
MemberDecorate 452(UBO) 1 Offset 16
|
|
MemberDecorate 452(UBO) 2 Offset 352
|
|
MemberDecorate 452(UBO) 3 Offset 356
|
|
MemberDecorate 464(ubo) 0 Offset 0
|
|
Decorate 464(ubo) Block
|
|
Decorate 471 DescriptorSet 0
|
|
Decorate 471 Binding 4
|
|
Decorate 514(textureposition) DescriptorSet 0
|
|
Decorate 514(textureposition) Binding 1
|
|
Decorate 519(samplerposition) DescriptorSet 0
|
|
Decorate 519(samplerposition) Binding 1
|
|
Decorate 535(textureNormal) DescriptorSet 0
|
|
Decorate 535(textureNormal) Binding 2
|
|
Decorate 540(samplerNormal) DescriptorSet 0
|
|
Decorate 540(samplerNormal) Binding 2
|
|
Decorate 554(textureAlbedo) DescriptorSet 0
|
|
Decorate 554(textureAlbedo) Binding 3
|
|
Decorate 559(samplerAlbedo) DescriptorSet 0
|
|
Decorate 559(samplerAlbedo) Binding 3
|
|
Decorate 883(inUV) Location 0
|
|
Decorate 886(@entryPointOutput) Location 0
|
|
4: TypeVoid
|
|
5: TypeFunction 4
|
|
8: TypeFloat 32
|
|
11: TypeInt 32 0
|
|
14: 11(int) Constant 32
|
|
15: 11(int) Constant 6
|
|
16: 11(int) Constant 0
|
|
13: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 12 14 15 16
|
|
17: 11(int) Constant 3
|
|
10: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 9 14 17 16
|
|
18: TypeVector 8(float) 4
|
|
19: 11(int) Constant 4
|
|
20: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 19
|
|
21: TypePointer Function 18(fvec4)
|
|
22: TypePointer Function 8(float)
|
|
23: TypeVector 8(float) 2
|
|
24: 11(int) Constant 2
|
|
25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 24
|
|
26: TypePointer Function 23(fvec2)
|
|
27: TypeFunction 8(float) 21(ptr) 22(ptr) 26(ptr)
|
|
28: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 10 20 10 25
|
|
36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 37
|
|
38: 11(int) Constant 61
|
|
40: 11(int) Constant 1
|
|
41: 11(int) Constant 5
|
|
39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 40 19 36 41
|
|
35: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 34 28 36 38 16 39 34 17 38
|
|
44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 45 20 36 38 16 35 19 40
|
|
47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
|
|
48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 49 10 36 38 16 35 19 24
|
|
51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 52 25 36 38 16 35 19 17
|
|
54: TypeFunction 8(float) 21(ptr) 22(ptr)
|
|
55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 10 20 10
|
|
62: 11(int) Constant 78
|
|
61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 60 55 36 62 16 39 60 17 62
|
|
65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 66 20 36 62 16 61 19 40
|
|
68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 49 10 36 62 16 61 19 24
|
|
70: TypeVector 8(float) 3
|
|
71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 17
|
|
72: TypePointer Function 70(fvec3)
|
|
73: TypeFunction 70(fvec3) 72(ptr) 72(ptr)
|
|
74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 71 71 71
|
|
81: 11(int) Constant 101
|
|
80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 79 74 36 81 16 39 79 17 81
|
|
84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 85 71 36 81 16 80 19 40
|
|
87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 88 71 36 81 16 80 19 24
|
|
90: TypeFunction 18(fvec4) 26(ptr)
|
|
91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 20 25
|
|
97: 11(int) Constant 119
|
|
96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 95 91 36 97 16 39 95 17 97
|
|
100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 101 25 36 97 16 96 19 40
|
|
106: 11(int) Constant 62
|
|
108: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 79 10 36 106 16 35 19
|
|
110: 8(float) Constant 1065353216
|
|
112: 11(int) Constant 63
|
|
114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 115 20 36 112 16 35 19
|
|
123: 11(int) Constant 64
|
|
126: 8(float) Constant 1056964608
|
|
135: 11(int) Constant 66
|
|
138: 8(float) Constant 3212836864
|
|
139: TypeBool
|
|
141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16
|
|
145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16
|
|
147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16
|
|
153: 11(int) Constant 68
|
|
155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 156 10 36 153 16 35 19
|
|
158: TypeImage 8(float) 2D array sampled format:Unknown
|
|
162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone)
|
|
159: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 160 16 36 153 16 39 161 162 17
|
|
163: TypePointer UniformConstant 158
|
|
164(textureShadowMap): 163(ptr) Variable UniformConstant
|
|
167: 11(int) Constant 8
|
|
165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 166 159 36 153 16 39 166 164(textureShadowMap) 167
|
|
169: TypeSampler
|
|
170: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 171 40 36 153 16 39 172 162 17
|
|
173: TypePointer UniformConstant 169
|
|
174(samplerShadowMap): 173(ptr) Variable UniformConstant
|
|
175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 176 170 36 153 16 39 176 174(samplerShadowMap) 167
|
|
178: TypeSampledImage 158
|
|
179: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 180 16 36 153 16 39 181 162 17
|
|
194: 11(int) Constant 69
|
|
197: 8(float) Constant 0
|
|
198: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16
|
|
203: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16
|
|
205: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16
|
|
211: 11(int) Constant 71
|
|
212: 8(float) Constant 1048576000
|
|
215: 11(int) Constant 74
|
|
222: 11(int) Constant 80
|
|
223: TypeVector 11(int) 3
|
|
224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 13 17
|
|
225: TypePointer Function 223(ivec3)
|
|
227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 228 224 36 222 16 61 19
|
|
232: TypeInt 32 1
|
|
234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 233 14 19 16
|
|
235: TypeVector 232(int) 2
|
|
236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 234 24
|
|
237: TypePointer Function 235(ivec2)
|
|
239: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 240 236 36 222 16 61 19
|
|
242: TypePointer Function 11(int)
|
|
246: TypePointer Function 232(int)
|
|
253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 254 234 36 222 16 61 19
|
|
260: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 261 234 36 222 16 61 19
|
|
267: 11(int) Constant 81
|
|
269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 270 10 36 267 16 61 19
|
|
272: 8(float) Constant 1069547520
|
|
274: 11(int) Constant 82
|
|
276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 277 10 36 274 16 61 19
|
|
286: 11(int) Constant 83
|
|
288: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 289 10 36 286 16 61 19
|
|
298: 11(int) Constant 85
|
|
300: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 301 10 36 298 16 61 19
|
|
304: 11(int) Constant 86
|
|
306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 307 234 36 304 16 61 19
|
|
309: 232(int) Constant 0
|
|
311: 11(int) Constant 87
|
|
313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 314 234 36 311 16 61 19
|
|
316: 232(int) Constant 1
|
|
318: 11(int) Constant 89
|
|
320: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 321 234 36 318 16 61 19
|
|
336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16
|
|
340: 11(int) Constant 91
|
|
342: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 343 234 36 340 16 61 19
|
|
358: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16
|
|
362: 11(int) Constant 93
|
|
381: 11(int) Constant 94
|
|
394: 11(int) Constant 98
|
|
404: 11(int) Constant 102
|
|
406: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 407 234 36 404 16 80 19
|
|
419: 232(int) Constant 3
|
|
420: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16
|
|
424: 11(int) Constant 104
|
|
426: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 427 20 36 424 16 80 19
|
|
434: TypeMatrix 18(fvec4) 4
|
|
436: 139(bool) ConstantTrue
|
|
435: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 436
|
|
437(Light): TypeStruct 18(fvec4) 18(fvec4) 18(fvec4) 434
|
|
440: 11(int) Constant 46
|
|
441: 11(int) Constant 14
|
|
438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 439 20 36 440 441 16 16 17
|
|
442: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 439 20 36 440 441 16 16 17
|
|
443: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 439 20 36 440 441 16 16 17
|
|
446: 11(int) Constant 47
|
|
447: 11(int) Constant 21
|
|
444: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 445 435 36 446 447 16 16 17
|
|
448: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 449 40 36 424 16 39 449 16 17 438 442 443 444
|
|
450: TypeArray 437(Light) 17
|
|
451: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 448 17
|
|
452(UBO): TypeStruct 18(fvec4) 450 232(int) 232(int)
|
|
453: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 439 20 36 440 441 16 16 17
|
|
456: 11(int) Constant 53
|
|
454: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 455 451 36 456 441 16 16 17
|
|
459: 11(int) Constant 55
|
|
460: 11(int) Constant 24
|
|
457: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 458 234 36 459 460 16 16 17
|
|
461: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 458 234 36 459 460 16 16 17
|
|
462: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 463 40 36 424 16 39 463 16 17 453 454 457 461
|
|
464(ubo): TypeStruct 452(UBO)
|
|
467: 11(int) Constant 58
|
|
468: 11(int) Constant 37
|
|
465: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 466 462 36 467 468 16 16 17
|
|
469: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 466 40 36 424 16 39 466 16 17 465
|
|
470: TypePointer Uniform 464(ubo)
|
|
471: 470(ptr) Variable Uniform
|
|
472: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 469 36 424 16 39 1 471 167
|
|
474: TypePointer Uniform 434
|
|
479: 11(int) Constant 108
|
|
481: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 301 10 36 479 16 80 19
|
|
490: 11(int) Constant 113
|
|
500: 11(int) Constant 115
|
|
507: 11(int) Constant 121
|
|
509: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 88 71 36 507 16 96 19
|
|
511: TypeImage 8(float) 2D sampled format:Unknown
|
|
512: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 160 16 36 507 16 39 161 162 17
|
|
513: TypePointer UniformConstant 511
|
|
514(textureposition): 513(ptr) Variable UniformConstant
|
|
515: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 516 512 36 507 16 39 516 514(textureposition) 167
|
|
518: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 171 40 36 507 16 39 172 162 17
|
|
519(samplerposition): 173(ptr) Variable UniformConstant
|
|
520: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 521 518 36 507 16 39 521 519(samplerposition) 167
|
|
523: TypeSampledImage 511
|
|
524: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 180 16 36 507 16 39 181 162 17
|
|
530: 11(int) Constant 122
|
|
532: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 533 71 36 530 16 96 19
|
|
535(textureNormal): 513(ptr) Variable UniformConstant
|
|
536: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 537 512 36 530 16 39 537 535(textureNormal) 167
|
|
539: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 171 40 36 530 16 39 172 162 17
|
|
540(samplerNormal): 173(ptr) Variable UniformConstant
|
|
541: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 542 539 36 530 16 39 542 540(samplerNormal) 167
|
|
549: 11(int) Constant 123
|
|
551: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 552 20 36 549 16 96 19
|
|
554(textureAlbedo): 513(ptr) Variable UniformConstant
|
|
555: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 556 512 36 549 16 39 556 554(textureAlbedo) 167
|
|
558: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 171 40 36 549 16 39 172 162 17
|
|
559(samplerAlbedo): 173(ptr) Variable UniformConstant
|
|
560: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 561 558 36 549 16 39 561 559(samplerAlbedo) 167
|
|
567: 11(int) Constant 128
|
|
568: TypePointer Uniform 232(int)
|
|
571: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16
|
|
577: 11(int) Constant 129
|
|
588: 11(int) Constant 131
|
|
590: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 85 71 36 588 16 96 19
|
|
592: 70(fvec3) ConstantComposite 110 110 110
|
|
598: 11(int) Constant 132
|
|
602: 11(int) Constant 134
|
|
605: 11(int) Constant 135
|
|
609: 11(int) Constant 137
|
|
612: 11(int) Constant 138
|
|
616: 11(int) Constant 140
|
|
620: 11(int) Constant 141
|
|
624: 11(int) Constant 143
|
|
628: 11(int) Constant 144
|
|
633: 11(int) Constant 146
|
|
642: 11(int) Constant 150
|
|
645: 8(float) Constant 1036831949
|
|
648: 11(int) Constant 152
|
|
650: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 651 71 36 648 16 96 19
|
|
656: 11(int) Constant 154
|
|
658: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 407 234 36 656 16 96 19
|
|
670: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16
|
|
674: 11(int) Constant 157
|
|
676: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 677 71 36 674 16 96 19
|
|
680: TypePointer Uniform 18(fvec4)
|
|
687: 11(int) Constant 159
|
|
689: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 156 10 36 687 16 96 19
|
|
694: 11(int) Constant 160
|
|
698: 11(int) Constant 163
|
|
700: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 701 71 36 698 16 96 19
|
|
709: 11(int) Constant 164
|
|
713: 11(int) Constant 166
|
|
715: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 716 10 36 713 16 96 19
|
|
718: 8(float) Constant 1064781546
|
|
720: 11(int) Constant 167
|
|
722: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 723 10 36 720 16 96 19
|
|
725: 8(float) Constant 1063781322
|
|
727: 11(int) Constant 168
|
|
729: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 730 10 36 727 16 96 19
|
|
732: 8(float) Constant 1120403456
|
|
734: 11(int) Constant 171
|
|
736: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 737 71 36 734 16 96 19
|
|
750: 11(int) Constant 174
|
|
752: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 753 10 36 750 16 96 19
|
|
759: 11(int) Constant 175
|
|
761: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 762 10 36 759 16 96 19
|
|
769: 11(int) Constant 176
|
|
771: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 772 10 36 769 16 96 19
|
|
778: 11(int) Constant 179
|
|
780: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 781 10 36 778 16 96 19
|
|
788: 11(int) Constant 180
|
|
790: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 791 71 36 788 16 96 19
|
|
796: 11(int) Constant 183
|
|
798: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 799 71 36 796 16 96 19
|
|
806: 11(int) Constant 184
|
|
808: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 809 10 36 806 16 96 19
|
|
816: 11(int) Constant 185
|
|
818: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 819 71 36 816 16 96 19
|
|
822: 8(float) Constant 1098907648
|
|
827: 8(float) Constant 1075838976
|
|
831: 11(int) Constant 187
|
|
840: 232(int) Constant 2
|
|
856: 11(int) Constant 191
|
|
859: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16
|
|
865: 11(int) Constant 193
|
|
873: 11(int) Constant 196
|
|
882: TypePointer Input 23(fvec2)
|
|
883(inUV): 882(ptr) Variable Input
|
|
885: TypePointer Output 18(fvec4)
|
|
886(@entryPointOutput): 885(ptr) Variable Output
|
|
Line 1 119 1
|
|
6(main): 4 Function None 5
|
|
7: Label
|
|
881(inUV): 26(ptr) Variable Function
|
|
887(param): 26(ptr) Variable Function
|
|
Line 1 119 0
|
|
884: 23(fvec2) Load 883(inUV)
|
|
Store 881(inUV) 884
|
|
888: 23(fvec2) Load 881(inUV)
|
|
Store 887(param) 888
|
|
889: 18(fvec4) FunctionCall 93(@main(vf2;) 887(param)
|
|
Store 886(@entryPointOutput) 889
|
|
Return
|
|
FunctionEnd
|
|
Line 1 61 1
|
|
32(textureProj(vf4;f1;vf2;): 8(float) Function None 27
|
|
29(P): 21(ptr) FunctionParameter
|
|
30(layer): 22(ptr) FunctionParameter
|
|
31(offset): 26(ptr) FunctionParameter
|
|
33: Label
|
|
107(shadow): 22(ptr) Variable Function
|
|
113(shadowCoord): 21(ptr) Variable Function
|
|
154(dist): 22(ptr) Variable Function
|
|
42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 35
|
|
43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 38 38 16 16
|
|
46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 44 29(P) 47
|
|
50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 48 30(layer) 47
|
|
53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 51 31(offset) 47
|
|
103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 35 32(textureProj(vf4;f1;vf2;)
|
|
104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 35
|
|
105: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 106 106 16 16
|
|
109: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 108 107(shadow) 47
|
|
Store 107(shadow) 110
|
|
111: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 112 112 16 16
|
|
116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 114 113(shadowCoord) 47
|
|
117: 18(fvec4) Load 29(P)
|
|
118: 22(ptr) AccessChain 29(P) 17
|
|
119: 8(float) Load 118
|
|
120: 18(fvec4) CompositeConstruct 119 119 119 119
|
|
121: 18(fvec4) FDiv 117 120
|
|
Store 113(shadowCoord) 121
|
|
122: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 123 123 16 16
|
|
124: 18(fvec4) Load 113(shadowCoord)
|
|
125: 23(fvec2) VectorShuffle 124 124 0 1
|
|
127: 23(fvec2) VectorTimesScalar 125 126
|
|
128: 23(fvec2) CompositeConstruct 126 126
|
|
129: 23(fvec2) FAdd 127 128
|
|
130: 22(ptr) AccessChain 113(shadowCoord) 16
|
|
131: 8(float) CompositeExtract 129 0
|
|
Store 130 131
|
|
132: 22(ptr) AccessChain 113(shadowCoord) 40
|
|
133: 8(float) CompositeExtract 129 1
|
|
Store 132 133
|
|
134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 135 135 16 16
|
|
136: 22(ptr) AccessChain 113(shadowCoord) 24
|
|
137: 8(float) Load 136
|
|
142: 139(bool) FOrdGreaterThan 137 138
|
|
143: 22(ptr) AccessChain 113(shadowCoord) 24
|
|
144: 8(float) Load 143
|
|
146: 139(bool) FOrdLessThan 144 110
|
|
148: 139(bool) LogicalAnd 142 146
|
|
SelectionMerge 150 None
|
|
BranchConditional 148 149 150
|
|
149: Label
|
|
151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 35
|
|
152: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 153 153 16 16
|
|
157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 155 154(dist) 47
|
|
168: 158 Load 164(textureShadowMap)
|
|
177: 169 Load 174(samplerShadowMap)
|
|
182: 178 SampledImage 168 177
|
|
183: 18(fvec4) Load 113(shadowCoord)
|
|
184: 23(fvec2) VectorShuffle 183 183 0 1
|
|
185: 23(fvec2) Load 31(offset)
|
|
186: 23(fvec2) FAdd 184 185
|
|
187: 8(float) Load 30(layer)
|
|
188: 8(float) CompositeExtract 186 0
|
|
189: 8(float) CompositeExtract 186 1
|
|
190: 70(fvec3) CompositeConstruct 188 189 187
|
|
191: 18(fvec4) ImageSampleImplicitLod 182 190
|
|
192: 8(float) CompositeExtract 191 0
|
|
Store 154(dist) 192
|
|
193: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 194 194 16 16
|
|
195: 22(ptr) AccessChain 113(shadowCoord) 17
|
|
196: 8(float) Load 195
|
|
199: 139(bool) FOrdGreaterThan 196 197
|
|
200: 8(float) Load 154(dist)
|
|
201: 22(ptr) AccessChain 113(shadowCoord) 24
|
|
202: 8(float) Load 201
|
|
204: 139(bool) FOrdLessThan 200 202
|
|
206: 139(bool) LogicalAnd 199 204
|
|
SelectionMerge 208 None
|
|
BranchConditional 206 207 208
|
|
207: Label
|
|
209: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 35
|
|
210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 211 211 16 16
|
|
Store 107(shadow) 212
|
|
Branch 208
|
|
208: Label
|
|
Branch 150
|
|
150: Label
|
|
213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 35
|
|
214: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 215 215 16 16
|
|
216: 8(float) Load 107(shadow)
|
|
ReturnValue 216
|
|
FunctionEnd
|
|
Line 1 78 1
|
|
58(filterPCF(vf4;f1;): 8(float) Function None 54
|
|
56(sc): 21(ptr) FunctionParameter
|
|
57(layer): 22(ptr) FunctionParameter
|
|
59: Label
|
|
226(sizeQueryTemp): 225(ptr) Variable Function
|
|
238(texDim): 237(ptr) Variable Function
|
|
252(elements): 246(ptr) Variable Function
|
|
259(levels): 246(ptr) Variable Function
|
|
268(scale): 22(ptr) Variable Function
|
|
275(dx): 22(ptr) Variable Function
|
|
287(dy): 22(ptr) Variable Function
|
|
299(shadowFactor): 22(ptr) Variable Function
|
|
305(count): 246(ptr) Variable Function
|
|
312(range): 246(ptr) Variable Function
|
|
319(x): 246(ptr) Variable Function
|
|
341(y): 246(ptr) Variable Function
|
|
372(param): 21(ptr) Variable Function
|
|
374(param): 22(ptr) Variable Function
|
|
376(param): 26(ptr) Variable Function
|
|
63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
|
|
64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 62 62 16 16
|
|
67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 65 56(sc) 47
|
|
69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 68 57(layer) 47
|
|
219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 61 58(filterPCF(vf4;f1;)
|
|
220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
|
|
221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 222 222 16 16
|
|
229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 227 226(sizeQueryTemp) 47
|
|
230: 158 Load 164(textureShadowMap)
|
|
231: 223(ivec3) ImageQuerySizeLod 230 16
|
|
Store 226(sizeQueryTemp) 231
|
|
241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 239 238(texDim) 47
|
|
243: 242(ptr) AccessChain 226(sizeQueryTemp) 16
|
|
244: 11(int) Load 243
|
|
245: 232(int) Bitcast 244
|
|
247: 246(ptr) AccessChain 238(texDim) 16
|
|
Store 247 245
|
|
248: 242(ptr) AccessChain 226(sizeQueryTemp) 40
|
|
249: 11(int) Load 248
|
|
250: 232(int) Bitcast 249
|
|
251: 246(ptr) AccessChain 238(texDim) 40
|
|
Store 251 250
|
|
255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 253 252(elements) 47
|
|
256: 242(ptr) AccessChain 226(sizeQueryTemp) 24
|
|
257: 11(int) Load 256
|
|
258: 232(int) Bitcast 257
|
|
Store 252(elements) 258
|
|
262: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 260 259(levels) 47
|
|
263: 158 Load 164(textureShadowMap)
|
|
264: 11(int) ImageQueryLevels 263
|
|
265: 232(int) Bitcast 264
|
|
Store 259(levels) 265
|
|
266: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 267 267 16 16
|
|
271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 269 268(scale) 47
|
|
Store 268(scale) 272
|
|
273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 274 274 16 16
|
|
278: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 276 275(dx) 47
|
|
279: 8(float) Load 268(scale)
|
|
280: 8(float) FMul 279 110
|
|
281: 246(ptr) AccessChain 238(texDim) 16
|
|
282: 232(int) Load 281
|
|
283: 8(float) ConvertSToF 282
|
|
284: 8(float) FDiv 280 283
|
|
Store 275(dx) 284
|
|
285: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 286 286 16 16
|
|
290: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 288 287(dy) 47
|
|
291: 8(float) Load 268(scale)
|
|
292: 8(float) FMul 291 110
|
|
293: 246(ptr) AccessChain 238(texDim) 40
|
|
294: 232(int) Load 293
|
|
295: 8(float) ConvertSToF 294
|
|
296: 8(float) FDiv 292 295
|
|
Store 287(dy) 296
|
|
297: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 298 298 16 16
|
|
302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 300 299(shadowFactor) 47
|
|
Store 299(shadowFactor) 197
|
|
303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 304 304 16 16
|
|
308: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 306 305(count) 47
|
|
Store 305(count) 309
|
|
310: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 311 311 16 16
|
|
315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 313 312(range) 47
|
|
Store 312(range) 316
|
|
317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 318 318 16 16
|
|
322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 320 319(x) 47
|
|
323: 232(int) Load 312(range)
|
|
324: 232(int) SNegate 323
|
|
Store 319(x) 324
|
|
Branch 325
|
|
325: Label
|
|
329: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
|
|
330: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 318 318 16 16
|
|
LoopMerge 327 328 None
|
|
Branch 331
|
|
331: Label
|
|
332: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
|
|
333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 318 318 16 16
|
|
334: 232(int) Load 319(x)
|
|
335: 232(int) Load 312(range)
|
|
337: 139(bool) SLessThanEqual 334 335
|
|
BranchConditional 337 326 327
|
|
326: Label
|
|
338: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
|
|
339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 340 340 16 16
|
|
344: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 342 341(y) 47
|
|
345: 232(int) Load 312(range)
|
|
346: 232(int) SNegate 345
|
|
Store 341(y) 346
|
|
Branch 347
|
|
347: Label
|
|
351: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
|
|
352: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 340 340 16 16
|
|
LoopMerge 349 350 None
|
|
Branch 353
|
|
353: Label
|
|
354: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
|
|
355: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 340 340 16 16
|
|
356: 232(int) Load 341(y)
|
|
357: 232(int) Load 312(range)
|
|
359: 139(bool) SLessThanEqual 356 357
|
|
BranchConditional 359 348 349
|
|
348: Label
|
|
360: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
|
|
361: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 362 362 16 16
|
|
363: 8(float) Load 275(dx)
|
|
364: 232(int) Load 319(x)
|
|
365: 8(float) ConvertSToF 364
|
|
366: 8(float) FMul 363 365
|
|
367: 8(float) Load 287(dy)
|
|
368: 232(int) Load 341(y)
|
|
369: 8(float) ConvertSToF 368
|
|
370: 8(float) FMul 367 369
|
|
371: 23(fvec2) CompositeConstruct 366 370
|
|
373: 18(fvec4) Load 56(sc)
|
|
Store 372(param) 373
|
|
375: 8(float) Load 57(layer)
|
|
Store 374(param) 375
|
|
Store 376(param) 371
|
|
377: 8(float) FunctionCall 32(textureProj(vf4;f1;vf2;) 372(param) 374(param) 376(param)
|
|
378: 8(float) Load 299(shadowFactor)
|
|
379: 8(float) FAdd 378 377
|
|
Store 299(shadowFactor) 379
|
|
380: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 381 381 16 16
|
|
382: 232(int) Load 305(count)
|
|
383: 232(int) IAdd 382 316
|
|
Store 305(count) 383
|
|
Branch 350
|
|
350: Label
|
|
384: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
|
|
385: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 340 340 16 16
|
|
386: 232(int) Load 341(y)
|
|
387: 232(int) IAdd 386 316
|
|
Store 341(y) 387
|
|
Branch 347
|
|
349: Label
|
|
Branch 328
|
|
328: Label
|
|
388: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
|
|
389: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 318 318 16 16
|
|
390: 232(int) Load 319(x)
|
|
391: 232(int) IAdd 390 316
|
|
Store 319(x) 391
|
|
Branch 325
|
|
327: Label
|
|
392: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
|
|
393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 394 394 16 16
|
|
395: 8(float) Load 299(shadowFactor)
|
|
396: 232(int) Load 305(count)
|
|
397: 8(float) ConvertSToF 396
|
|
398: 8(float) FDiv 395 397
|
|
ReturnValue 398
|
|
FunctionEnd
|
|
Line 1 101 49
|
|
77(shadow(vf3;vf3;): 70(fvec3) Function None 73
|
|
75(fragcolor): 72(ptr) FunctionParameter
|
|
76(fragPos): 72(ptr) FunctionParameter
|
|
78: Label
|
|
405(i): 246(ptr) Variable Function
|
|
425(shadowClip): 21(ptr) Variable Function
|
|
480(shadowFactor): 22(ptr) Variable Function
|
|
485(param): 21(ptr) Variable Function
|
|
487(param): 22(ptr) Variable Function
|
|
82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
|
|
83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 81 81 16 16
|
|
86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 84 75(fragcolor) 47
|
|
89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 87 76(fragPos) 47
|
|
401: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 80 77(shadow(vf3;vf3;)
|
|
402: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
|
|
403: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 404 404 16 16
|
|
408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 406 405(i) 47
|
|
Store 405(i) 309
|
|
Branch 409
|
|
409: Label
|
|
413: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
|
|
414: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 404 404 16 16
|
|
LoopMerge 411 412 None
|
|
Branch 415
|
|
415: Label
|
|
416: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
|
|
417: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 404 404 16 16
|
|
418: 232(int) Load 405(i)
|
|
421: 139(bool) SLessThan 418 419
|
|
BranchConditional 421 410 411
|
|
410: Label
|
|
422: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
|
|
423: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 424 424 16 16
|
|
428: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 426 425(shadowClip) 47
|
|
429: 70(fvec3) Load 76(fragPos)
|
|
430: 8(float) CompositeExtract 429 0
|
|
431: 8(float) CompositeExtract 429 1
|
|
432: 8(float) CompositeExtract 429 2
|
|
433: 18(fvec4) CompositeConstruct 430 431 432 110
|
|
473: 232(int) Load 405(i)
|
|
475: 474(ptr) AccessChain 471 309 316 473 419
|
|
476: 434 Load 475
|
|
477: 18(fvec4) VectorTimesMatrix 433 476
|
|
Store 425(shadowClip) 477
|
|
478: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 479 479 16 16
|
|
482: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 481 480(shadowFactor) 47
|
|
483: 232(int) Load 405(i)
|
|
484: 8(float) ConvertSToF 483
|
|
486: 18(fvec4) Load 425(shadowClip)
|
|
Store 485(param) 486
|
|
Store 487(param) 484
|
|
488: 8(float) FunctionCall 58(filterPCF(vf4;f1;) 485(param) 487(param)
|
|
Store 480(shadowFactor) 488
|
|
489: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 490 490 16 16
|
|
491: 8(float) Load 480(shadowFactor)
|
|
492: 70(fvec3) Load 75(fragcolor)
|
|
493: 70(fvec3) VectorTimesScalar 492 491
|
|
Store 75(fragcolor) 493
|
|
Branch 412
|
|
412: Label
|
|
494: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
|
|
495: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 404 404 16 16
|
|
496: 232(int) Load 405(i)
|
|
497: 232(int) IAdd 496 316
|
|
Store 405(i) 497
|
|
Branch 409
|
|
411: Label
|
|
498: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
|
|
499: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 500 500 16 16
|
|
501: 70(fvec3) Load 75(fragcolor)
|
|
ReturnValue 501
|
|
FunctionEnd
|
|
Line 1 119 1
|
|
93(@main(vf2;): 18(fvec4) Function None 90
|
|
92(inUV): 26(ptr) FunctionParameter
|
|
94: Label
|
|
508(fragPos): 72(ptr) Variable Function
|
|
531(normal): 72(ptr) Variable Function
|
|
550(albedo): 21(ptr) Variable Function
|
|
589(fragcolor): 72(ptr) Variable Function
|
|
593(param): 72(ptr) Variable Function
|
|
594(param): 72(ptr) Variable Function
|
|
649(N): 72(ptr) Variable Function
|
|
657(i): 246(ptr) Variable Function
|
|
675(L): 72(ptr) Variable Function
|
|
688(dist): 22(ptr) Variable Function
|
|
699(V): 72(ptr) Variable Function
|
|
714(lightCosInnerAngle): 22(ptr) Variable Function
|
|
721(lightCosOuterAngle): 22(ptr) Variable Function
|
|
728(lightRange): 22(ptr) Variable Function
|
|
735(dir): 72(ptr) Variable Function
|
|
751(cosDir): 22(ptr) Variable Function
|
|
760(spotEffect): 22(ptr) Variable Function
|
|
770(heightAttenuation): 22(ptr) Variable Function
|
|
779(NdotL): 22(ptr) Variable Function
|
|
789(diff): 72(ptr) Variable Function
|
|
797(R): 72(ptr) Variable Function
|
|
807(NdotR): 22(ptr) Variable Function
|
|
817(spec): 72(ptr) Variable Function
|
|
866(param): 72(ptr) Variable Function
|
|
868(param): 72(ptr) Variable Function
|
|
98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
|
|
99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 97 97 16 16
|
|
102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 100 92(inUV) 47
|
|
504: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 96 93(@main(vf2;)
|
|
505: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
|
|
506: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 507 507 16 16
|
|
510: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 509 508(fragPos) 47
|
|
517: 511 Load 514(textureposition)
|
|
522: 169 Load 519(samplerposition)
|
|
525: 523 SampledImage 517 522
|
|
526: 23(fvec2) Load 92(inUV)
|
|
527: 18(fvec4) ImageSampleImplicitLod 525 526
|
|
528: 70(fvec3) VectorShuffle 527 527 0 1 2
|
|
Store 508(fragPos) 528
|
|
529: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 530 530 16 16
|
|
534: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 532 531(normal) 47
|
|
538: 511 Load 535(textureNormal)
|
|
543: 169 Load 540(samplerNormal)
|
|
544: 523 SampledImage 538 543
|
|
545: 23(fvec2) Load 92(inUV)
|
|
546: 18(fvec4) ImageSampleImplicitLod 544 545
|
|
547: 70(fvec3) VectorShuffle 546 546 0 1 2
|
|
Store 531(normal) 547
|
|
548: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 549 549 16 16
|
|
553: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 551 550(albedo) 47
|
|
557: 511 Load 554(textureAlbedo)
|
|
562: 169 Load 559(samplerAlbedo)
|
|
563: 523 SampledImage 557 562
|
|
564: 23(fvec2) Load 92(inUV)
|
|
565: 18(fvec4) ImageSampleImplicitLod 563 564
|
|
Store 550(albedo) 565
|
|
566: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 567 567 16 16
|
|
569: 568(ptr) AccessChain 471 309 419
|
|
570: 232(int) Load 569
|
|
572: 139(bool) SGreaterThan 570 309
|
|
SelectionMerge 574 None
|
|
BranchConditional 572 573 574
|
|
573: Label
|
|
575: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
|
|
576: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 577 577 16 16
|
|
578: 568(ptr) AccessChain 471 309 419
|
|
579: 232(int) Load 578
|
|
SelectionMerge 585 None
|
|
Switch 579 585
|
|
case 1: 580
|
|
case 2: 581
|
|
case 3: 582
|
|
case 4: 583
|
|
case 5: 584
|
|
580: Label
|
|
586: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
|
|
587: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 588 588 16 16
|
|
591: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 590 589(fragcolor) 47
|
|
Store 593(param) 592
|
|
595: 70(fvec3) Load 508(fragPos)
|
|
Store 594(param) 595
|
|
596: 70(fvec3) FunctionCall 77(shadow(vf3;vf3;) 593(param) 594(param)
|
|
Store 589(fragcolor) 596
|
|
597: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 598 598 16 16
|
|
Branch 585
|
|
581: Label
|
|
600: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
|
|
601: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 602 602 16 16
|
|
603: 70(fvec3) Load 508(fragPos)
|
|
Store 589(fragcolor) 603
|
|
604: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 605 605 16 16
|
|
Branch 585
|
|
582: Label
|
|
607: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
|
|
608: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 609 609 16 16
|
|
610: 70(fvec3) Load 531(normal)
|
|
Store 589(fragcolor) 610
|
|
611: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 612 612 16 16
|
|
Branch 585
|
|
583: Label
|
|
614: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
|
|
615: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 616 616 16 16
|
|
617: 18(fvec4) Load 550(albedo)
|
|
618: 70(fvec3) VectorShuffle 617 617 0 1 2
|
|
Store 589(fragcolor) 618
|
|
619: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 620 620 16 16
|
|
Branch 585
|
|
584: Label
|
|
622: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
|
|
623: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 624 624 16 16
|
|
625: 18(fvec4) Load 550(albedo)
|
|
626: 70(fvec3) VectorShuffle 625 625 3 3 3
|
|
Store 589(fragcolor) 626
|
|
627: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 628 628 16 16
|
|
Branch 585
|
|
585: Label
|
|
631: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
|
|
632: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 633 633 16 16
|
|
634: 70(fvec3) Load 589(fragcolor)
|
|
635: 8(float) CompositeExtract 634 0
|
|
636: 8(float) CompositeExtract 634 1
|
|
637: 8(float) CompositeExtract 634 2
|
|
638: 18(fvec4) CompositeConstruct 635 636 637 110
|
|
ReturnValue 638
|
|
574: Label
|
|
640: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
|
|
641: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 642 642 16 16
|
|
643: 18(fvec4) Load 550(albedo)
|
|
644: 70(fvec3) VectorShuffle 643 643 0 1 2
|
|
646: 70(fvec3) VectorTimesScalar 644 645
|
|
Store 589(fragcolor) 646
|
|
647: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 648 648 16 16
|
|
652: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 650 649(N) 47
|
|
653: 70(fvec3) Load 531(normal)
|
|
654: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 653
|
|
Store 649(N) 654
|
|
655: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 656 656 16 16
|
|
659: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 658 657(i) 47
|
|
Store 657(i) 309
|
|
Branch 660
|
|
660: Label
|
|
664: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
|
|
665: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 656 656 16 16
|
|
LoopMerge 662 663 None
|
|
Branch 666
|
|
666: Label
|
|
667: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
|
|
668: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 656 656 16 16
|
|
669: 232(int) Load 657(i)
|
|
671: 139(bool) SLessThan 669 419
|
|
BranchConditional 671 661 662
|
|
661: Label
|
|
672: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
|
|
673: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 674 674 16 16
|
|
678: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 676 675(L) 47
|
|
679: 232(int) Load 657(i)
|
|
681: 680(ptr) AccessChain 471 309 316 679 309
|
|
682: 18(fvec4) Load 681
|
|
683: 70(fvec3) VectorShuffle 682 682 0 1 2
|
|
684: 70(fvec3) Load 508(fragPos)
|
|
685: 70(fvec3) FSub 683 684
|
|
Store 675(L) 685
|
|
686: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 687 687 16 16
|
|
690: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 689 688(dist) 47
|
|
691: 70(fvec3) Load 675(L)
|
|
692: 8(float) ExtInst 3(GLSL.std.450) 66(Length) 691
|
|
Store 688(dist) 692
|
|
693: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 694 694 16 16
|
|
695: 70(fvec3) Load 675(L)
|
|
696: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 695
|
|
Store 675(L) 696
|
|
697: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 698 698 16 16
|
|
702: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 700 699(V) 47
|
|
703: 680(ptr) AccessChain 471 309 309
|
|
704: 18(fvec4) Load 703
|
|
705: 70(fvec3) VectorShuffle 704 704 0 1 2
|
|
706: 70(fvec3) Load 508(fragPos)
|
|
707: 70(fvec3) FSub 705 706
|
|
Store 699(V) 707
|
|
708: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 709 709 16 16
|
|
710: 70(fvec3) Load 699(V)
|
|
711: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 710
|
|
Store 699(V) 711
|
|
712: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 713 713 16 16
|
|
717: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 715 714(lightCosInnerAngle) 47
|
|
Store 714(lightCosInnerAngle) 718
|
|
719: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 720 720 16 16
|
|
724: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 722 721(lightCosOuterAngle) 47
|
|
Store 721(lightCosOuterAngle) 725
|
|
726: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 727 727 16 16
|
|
731: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 729 728(lightRange) 47
|
|
Store 728(lightRange) 732
|
|
733: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 734 734 16 16
|
|
738: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 736 735(dir) 47
|
|
739: 232(int) Load 657(i)
|
|
740: 680(ptr) AccessChain 471 309 316 739 309
|
|
741: 18(fvec4) Load 740
|
|
742: 70(fvec3) VectorShuffle 741 741 0 1 2
|
|
743: 232(int) Load 657(i)
|
|
744: 680(ptr) AccessChain 471 309 316 743 316
|
|
745: 18(fvec4) Load 744
|
|
746: 70(fvec3) VectorShuffle 745 745 0 1 2
|
|
747: 70(fvec3) FSub 742 746
|
|
748: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 747
|
|
Store 735(dir) 748
|
|
749: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 750 750 16 16
|
|
754: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 752 751(cosDir) 47
|
|
755: 70(fvec3) Load 675(L)
|
|
756: 70(fvec3) Load 735(dir)
|
|
757: 8(float) Dot 755 756
|
|
Store 751(cosDir) 757
|
|
758: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 759 759 16 16
|
|
763: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 761 760(spotEffect) 47
|
|
764: 8(float) Load 721(lightCosOuterAngle)
|
|
765: 8(float) Load 714(lightCosInnerAngle)
|
|
766: 8(float) Load 751(cosDir)
|
|
767: 8(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 764 765 766
|
|
Store 760(spotEffect) 767
|
|
768: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 769 769 16 16
|
|
773: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 771 770(heightAttenuation) 47
|
|
774: 8(float) Load 728(lightRange)
|
|
775: 8(float) Load 688(dist)
|
|
776: 8(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 774 197 775
|
|
Store 770(heightAttenuation) 776
|
|
777: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 778 778 16 16
|
|
782: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 780 779(NdotL) 47
|
|
783: 70(fvec3) Load 649(N)
|
|
784: 70(fvec3) Load 675(L)
|
|
785: 8(float) Dot 783 784
|
|
786: 8(float) ExtInst 3(GLSL.std.450) 40(FMax) 197 785
|
|
Store 779(NdotL) 786
|
|
787: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 788 788 16 16
|
|
792: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 790 789(diff) 47
|
|
793: 8(float) Load 779(NdotL)
|
|
794: 70(fvec3) CompositeConstruct 793 793 793
|
|
Store 789(diff) 794
|
|
795: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 796 796 16 16
|
|
800: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 798 797(R) 47
|
|
801: 70(fvec3) Load 675(L)
|
|
802: 70(fvec3) FNegate 801
|
|
803: 70(fvec3) Load 649(N)
|
|
804: 70(fvec3) ExtInst 3(GLSL.std.450) 71(Reflect) 802 803
|
|
Store 797(R) 804
|
|
805: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 806 806 16 16
|
|
810: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 808 807(NdotR) 47
|
|
811: 70(fvec3) Load 797(R)
|
|
812: 70(fvec3) Load 699(V)
|
|
813: 8(float) Dot 811 812
|
|
814: 8(float) ExtInst 3(GLSL.std.450) 40(FMax) 197 813
|
|
Store 807(NdotR) 814
|
|
815: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 816 816 16 16
|
|
820: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 818 817(spec) 47
|
|
821: 8(float) Load 807(NdotR)
|
|
823: 8(float) ExtInst 3(GLSL.std.450) 26(Pow) 821 822
|
|
824: 22(ptr) AccessChain 550(albedo) 17
|
|
825: 8(float) Load 824
|
|
826: 8(float) FMul 823 825
|
|
828: 8(float) FMul 826 827
|
|
829: 70(fvec3) CompositeConstruct 828 828 828
|
|
Store 817(spec) 829
|
|
830: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 831 831 16 16
|
|
832: 70(fvec3) Load 789(diff)
|
|
833: 70(fvec3) Load 817(spec)
|
|
834: 70(fvec3) FAdd 832 833
|
|
835: 8(float) Load 760(spotEffect)
|
|
836: 70(fvec3) VectorTimesScalar 834 835
|
|
837: 8(float) Load 770(heightAttenuation)
|
|
838: 70(fvec3) VectorTimesScalar 836 837
|
|
839: 232(int) Load 657(i)
|
|
841: 680(ptr) AccessChain 471 309 316 839 840
|
|
842: 18(fvec4) Load 841
|
|
843: 70(fvec3) VectorShuffle 842 842 0 1 2
|
|
844: 70(fvec3) FMul 838 843
|
|
845: 18(fvec4) Load 550(albedo)
|
|
846: 70(fvec3) VectorShuffle 845 845 0 1 2
|
|
847: 70(fvec3) FMul 844 846
|
|
848: 70(fvec3) Load 589(fragcolor)
|
|
849: 70(fvec3) FAdd 848 847
|
|
Store 589(fragcolor) 849
|
|
Branch 663
|
|
663: Label
|
|
850: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
|
|
851: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 656 656 16 16
|
|
852: 232(int) Load 657(i)
|
|
853: 232(int) IAdd 852 316
|
|
Store 657(i) 853
|
|
Branch 660
|
|
662: Label
|
|
854: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
|
|
855: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 856 856 16 16
|
|
857: 568(ptr) AccessChain 471 309 840
|
|
858: 232(int) Load 857
|
|
860: 139(bool) SGreaterThan 858 309
|
|
SelectionMerge 862 None
|
|
BranchConditional 860 861 862
|
|
861: Label
|
|
863: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
|
|
864: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 865 865 16 16
|
|
867: 70(fvec3) Load 589(fragcolor)
|
|
Store 866(param) 867
|
|
869: 70(fvec3) Load 508(fragPos)
|
|
Store 868(param) 869
|
|
870: 70(fvec3) FunctionCall 77(shadow(vf3;vf3;) 866(param) 868(param)
|
|
Store 589(fragcolor) 870
|
|
Branch 862
|
|
862: Label
|
|
871: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96
|
|
872: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 873 873 16 16
|
|
874: 70(fvec3) Load 589(fragcolor)
|
|
875: 8(float) CompositeExtract 874 0
|
|
876: 8(float) CompositeExtract 874 1
|
|
877: 8(float) CompositeExtract 874 2
|
|
878: 18(fvec4) CompositeConstruct 875 876 877 110
|
|
ReturnValue 878
|
|
FunctionEnd
|