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