708 lines
44 KiB
Text
708 lines
44 KiB
Text
spv.debuginfo.glsl.tesc
|
|
// Module Version 10000
|
|
// Generated by (magic number): 8000b
|
|
// Id's are bound by 537
|
|
|
|
Capability Tessellation
|
|
Extension "SPV_KHR_non_semantic_info"
|
|
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
|
|
3: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint TessellationControl 14 "main" 252 256 282 366 379 493 507 514 528
|
|
ExecutionMode 14 OutputVertices 4
|
|
1: String ""
|
|
8: String "uint"
|
|
17: String "float"
|
|
29: String "screenSpaceTessFactor"
|
|
32: String "// OpModuleProcessed auto-map-locations
|
|
// OpModuleProcessed auto-map-bindings
|
|
// OpModuleProcessed client vulkan100
|
|
// OpModuleProcessed target-env vulkan1.0
|
|
// OpModuleProcessed keep-uncalled
|
|
// OpModuleProcessed entry-point main
|
|
#line 1
|
|
"
|
|
40: String "p0"
|
|
44: String "p1"
|
|
47: String "bool"
|
|
53: String "frustumCheck"
|
|
56: String "main"
|
|
65: String "midPoint"
|
|
77: String "radius"
|
|
88: String "v0"
|
|
99: String "modelview"
|
|
104: String "lightPos"
|
|
107: String "frustumPlanes"
|
|
109: String "tessellatedEdgeSize"
|
|
114: String "viewportDim"
|
|
118: String "UBO"
|
|
122: String "ubo"
|
|
124: String "int"
|
|
136: String "clip0"
|
|
157: String "clip1"
|
|
232: String "pos"
|
|
238: String "gl_Position"
|
|
241: String "gl_PointSize"
|
|
244: String "gl_CullDistance"
|
|
248: String "gl_PerVertex"
|
|
254: String "gl_in"
|
|
258: String "gl_InvocationID"
|
|
267: String "type.2d.image"
|
|
268: String "@type.2d.image"
|
|
272: String "type.sampled.image"
|
|
273: String "@type.sampled.image"
|
|
277: String "samplerHeight"
|
|
284: String "inUV"
|
|
303: String "i"
|
|
368: String "gl_TessLevelInner"
|
|
381: String "gl_TessLevelOuter"
|
|
495: String "gl_out"
|
|
509: String "outNormal"
|
|
516: String "inNormal"
|
|
530: String "outUV"
|
|
Name 14 "main"
|
|
Name 27 "screenSpaceTessFactor(vf4;vf4;"
|
|
Name 25 "p0"
|
|
Name 26 "p1"
|
|
Name 51 "frustumCheck("
|
|
Name 63 "midPoint"
|
|
Name 75 "radius"
|
|
Name 86 "v0"
|
|
Name 97 "UBO"
|
|
MemberName 97(UBO) 0 "projection"
|
|
MemberName 97(UBO) 1 "modelview"
|
|
MemberName 97(UBO) 2 "lightPos"
|
|
MemberName 97(UBO) 3 "frustumPlanes"
|
|
MemberName 97(UBO) 4 "displacementFactor"
|
|
MemberName 97(UBO) 5 "tessellationFactor"
|
|
MemberName 97(UBO) 6 "viewportDim"
|
|
MemberName 97(UBO) 7 "tessellatedEdgeSize"
|
|
Name 120 "ubo"
|
|
Name 134 "clip0"
|
|
Name 155 "clip1"
|
|
Name 230 "pos"
|
|
Name 236 "gl_PerVertex"
|
|
MemberName 236(gl_PerVertex) 0 "gl_Position"
|
|
MemberName 236(gl_PerVertex) 1 "gl_PointSize"
|
|
MemberName 236(gl_PerVertex) 2 "gl_ClipDistance"
|
|
MemberName 236(gl_PerVertex) 3 "gl_CullDistance"
|
|
Name 252 "gl_in"
|
|
Name 256 "gl_InvocationID"
|
|
Name 275 "samplerHeight"
|
|
Name 282 "inUV"
|
|
Name 301 "i"
|
|
Name 366 "gl_TessLevelInner"
|
|
Name 379 "gl_TessLevelOuter"
|
|
Name 405 "param"
|
|
Name 408 "param"
|
|
Name 415 "param"
|
|
Name 418 "param"
|
|
Name 425 "param"
|
|
Name 428 "param"
|
|
Name 435 "param"
|
|
Name 438 "param"
|
|
Name 482 "gl_PerVertex"
|
|
MemberName 482(gl_PerVertex) 0 "gl_Position"
|
|
MemberName 482(gl_PerVertex) 1 "gl_PointSize"
|
|
MemberName 482(gl_PerVertex) 2 "gl_ClipDistance"
|
|
MemberName 482(gl_PerVertex) 3 "gl_CullDistance"
|
|
Name 493 "gl_out"
|
|
Name 507 "outNormal"
|
|
Name 514 "inNormal"
|
|
Name 528 "outUV"
|
|
Decorate 93 ArrayStride 16
|
|
MemberDecorate 97(UBO) 0 ColMajor
|
|
MemberDecorate 97(UBO) 0 Offset 0
|
|
MemberDecorate 97(UBO) 0 MatrixStride 16
|
|
MemberDecorate 97(UBO) 1 ColMajor
|
|
MemberDecorate 97(UBO) 1 Offset 64
|
|
MemberDecorate 97(UBO) 1 MatrixStride 16
|
|
MemberDecorate 97(UBO) 2 Offset 128
|
|
MemberDecorate 97(UBO) 3 Offset 144
|
|
MemberDecorate 97(UBO) 4 Offset 240
|
|
MemberDecorate 97(UBO) 5 Offset 244
|
|
MemberDecorate 97(UBO) 6 Offset 248
|
|
MemberDecorate 97(UBO) 7 Offset 256
|
|
Decorate 97(UBO) Block
|
|
Decorate 120(ubo) DescriptorSet 0
|
|
Decorate 120(ubo) Binding 0
|
|
MemberDecorate 236(gl_PerVertex) 0 BuiltIn Position
|
|
MemberDecorate 236(gl_PerVertex) 1 BuiltIn PointSize
|
|
MemberDecorate 236(gl_PerVertex) 2 BuiltIn ClipDistance
|
|
MemberDecorate 236(gl_PerVertex) 3 BuiltIn CullDistance
|
|
Decorate 236(gl_PerVertex) Block
|
|
Decorate 256(gl_InvocationID) BuiltIn InvocationId
|
|
Decorate 275(samplerHeight) DescriptorSet 0
|
|
Decorate 275(samplerHeight) Binding 1
|
|
Decorate 282(inUV) Location 1
|
|
Decorate 366(gl_TessLevelInner) Patch
|
|
Decorate 366(gl_TessLevelInner) BuiltIn TessLevelInner
|
|
Decorate 379(gl_TessLevelOuter) Patch
|
|
Decorate 379(gl_TessLevelOuter) BuiltIn TessLevelOuter
|
|
MemberDecorate 482(gl_PerVertex) 0 BuiltIn Position
|
|
MemberDecorate 482(gl_PerVertex) 1 BuiltIn PointSize
|
|
MemberDecorate 482(gl_PerVertex) 2 BuiltIn ClipDistance
|
|
MemberDecorate 482(gl_PerVertex) 3 BuiltIn CullDistance
|
|
Decorate 482(gl_PerVertex) Block
|
|
Decorate 507(outNormal) Location 0
|
|
Decorate 514(inNormal) Location 0
|
|
Decorate 528(outUV) Location 1
|
|
4: TypeVoid
|
|
5: TypeFunction 4
|
|
7: TypeInt 32 0
|
|
10: 7(int) Constant 32
|
|
11: 7(int) Constant 6
|
|
12: 7(int) Constant 0
|
|
9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12
|
|
13: 7(int) Constant 3
|
|
6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4
|
|
16: TypeFloat 32
|
|
18: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 17 10 13 12
|
|
19: TypeVector 16(float) 4
|
|
20: 7(int) Constant 4
|
|
21: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 20
|
|
22: TypePointer Function 19(fvec4)
|
|
23: TypeFunction 16(float) 22(ptr) 22(ptr)
|
|
24: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 18 21 21
|
|
31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 32
|
|
33: 7(int) Constant 51
|
|
35: 7(int) Constant 1
|
|
36: 7(int) Constant 2
|
|
34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 35 20 31 36
|
|
30: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 29 24 31 33 12 34 29 13 33
|
|
39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 40 21 31 33 12 30 20 35
|
|
42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
|
|
43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 44 21 31 33 12 30 20 36
|
|
46: TypeBool
|
|
48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12
|
|
49: TypeFunction 46(bool)
|
|
50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 48
|
|
55: 7(int) Constant 81
|
|
54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 53 50 31 55 12 34 53 13 55
|
|
58: 7(int) Constant 98
|
|
57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 56 6 31 58 12 34 56 13 58
|
|
62: 7(int) Constant 54
|
|
64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 65 21 31 62 12 30 20
|
|
67: 16(float) Constant 1056964608
|
|
73: 7(int) Constant 56
|
|
74: TypePointer Function 16(float)
|
|
76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 77 18 31 73 12 30 20
|
|
82: 16(float) Constant 1073741824
|
|
85: 7(int) Constant 59
|
|
87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 88 21 31 85 12 30 20
|
|
90: TypeMatrix 19(fvec4) 4
|
|
92: 46(bool) ConstantTrue
|
|
91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 21 20 92
|
|
93: TypeArray 19(fvec4) 11
|
|
94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 21 11
|
|
95: TypeVector 16(float) 2
|
|
96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 36
|
|
97(UBO): TypeStruct 90 90 19(fvec4) 93 16(float) 16(float) 95(fvec2) 16(float)
|
|
100: 7(int) Constant 30
|
|
101: 7(int) Constant 7
|
|
98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 99 91 31 100 101 12 12 13
|
|
102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 99 91 31 100 101 12 12 13
|
|
105: 7(int) Constant 31
|
|
103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 104 21 31 105 101 12 12 13
|
|
106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 107 94 31 10 101 12 12 13
|
|
110: 7(int) Constant 36
|
|
111: 7(int) Constant 8
|
|
108: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 109 18 31 110 111 12 12 13
|
|
112: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 109 18 31 110 111 12 12 13
|
|
115: 7(int) Constant 35
|
|
113: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 114 96 31 115 101 12 12 13
|
|
116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 109 18 31 110 111 12 12 13
|
|
117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 118 35 31 85 12 34 118 12 13 98 102 103 106 108 112 113 116
|
|
119: TypePointer Uniform 97(UBO)
|
|
120(ubo): 119(ptr) Variable Uniform
|
|
121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 122 117 31 85 12 34 122 120(ubo) 111
|
|
123: TypeInt 32 1
|
|
125: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 124 10 20 12
|
|
126: 123(int) Constant 1
|
|
127: TypePointer Uniform 90
|
|
133: 7(int) Constant 62
|
|
135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 136 21 31 133 12 30 20
|
|
138: 123(int) Constant 0
|
|
143: TypeVector 16(float) 3
|
|
144: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 13
|
|
145: 16(float) Constant 0
|
|
146: 143(fvec3) ConstantComposite 145 145 145
|
|
154: 7(int) Constant 63
|
|
156: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 157 21 31 154 12 30 20
|
|
170: 7(int) Constant 66
|
|
177: 7(int) Constant 67
|
|
184: 7(int) Constant 70
|
|
185: 123(int) Constant 6
|
|
186: TypePointer Uniform 95(fvec2)
|
|
197: 7(int) Constant 71
|
|
208: 7(int) Constant 76
|
|
212: 123(int) Constant 7
|
|
213: TypePointer Uniform 16(float)
|
|
217: 123(int) Constant 5
|
|
221: 16(float) Constant 1065353216
|
|
222: 16(float) Constant 1115684864
|
|
229: 7(int) Constant 85
|
|
231: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 232 21 31 229 12 54 20
|
|
234: TypeArray 16(float) 35
|
|
235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 35
|
|
236(gl_PerVertex): TypeStruct 19(fvec4) 16(float) 234 234
|
|
239: 7(int) Constant 1756
|
|
237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 238 21 31 35 239 12 12 13
|
|
242: 7(int) Constant 1774
|
|
240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 241 18 31 35 242 12 12 13
|
|
245: 7(int) Constant 1817
|
|
243: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 235 31 35 245 12 12 13
|
|
246: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 235 31 35 245 12 12 13
|
|
247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 248 35 31 229 12 34 248 12 13 237 240 243 246
|
|
249: TypeArray 236(gl_PerVertex) 10
|
|
250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 247 10
|
|
251: TypePointer Input 249
|
|
252(gl_in): 251(ptr) Variable Input
|
|
253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 254 250 31 229 12 34 254 252(gl_in) 111
|
|
255: TypePointer Input 123(int)
|
|
256(gl_InvocationID): 255(ptr) Variable Input
|
|
257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 258 125 31 229 12 34 258 256(gl_InvocationID) 111
|
|
260: TypePointer Input 19(fvec4)
|
|
264: 7(int) Constant 86
|
|
265: TypeImage 16(float) 2D sampled format:Unknown
|
|
269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone)
|
|
266: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 267 12 31 264 12 34 268 269 13
|
|
270: TypeSampledImage 265
|
|
271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 272 12 31 264 12 34 273 269 13
|
|
274: TypePointer UniformConstant 270
|
|
275(samplerHeight): 274(ptr) Variable UniformConstant
|
|
276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 277 271 31 264 12 34 277 275(samplerHeight) 111
|
|
279: TypeArray 95(fvec2) 10
|
|
280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 96 10
|
|
281: TypePointer Input 279
|
|
282(inUV): 281(ptr) Variable Input
|
|
283: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 284 280 31 264 12 34 284 282(inUV) 111
|
|
285: TypePointer Input 95(fvec2)
|
|
290: 123(int) Constant 4
|
|
299: 7(int) Constant 89
|
|
300: TypePointer Function 123(int)
|
|
302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 303 125 31 299 12 54 20
|
|
318: 7(int) Constant 90
|
|
320: 123(int) Constant 3
|
|
322: TypePointer Uniform 19(fvec4)
|
|
326: 16(float) Constant 1090519040
|
|
331: 46(bool) ConstantFalse
|
|
334: 7(int) Constant 92
|
|
342: 7(int) Constant 95
|
|
348: 7(int) Constant 100
|
|
355: 7(int) Constant 102
|
|
362: 7(int) Constant 104
|
|
363: TypeArray 16(float) 36
|
|
364: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 36
|
|
365: TypePointer Output 363
|
|
366(gl_TessLevelInner): 365(ptr) Variable Output
|
|
367: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 368 364 31 362 12 34 368 366(gl_TessLevelInner) 111
|
|
369: TypePointer Output 16(float)
|
|
372: 7(int) Constant 105
|
|
375: 7(int) Constant 106
|
|
376: TypeArray 16(float) 20
|
|
377: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 20
|
|
378: TypePointer Output 376
|
|
379(gl_TessLevelOuter): 378(ptr) Variable Output
|
|
380: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 381 377 31 375 12 34 381 379(gl_TessLevelOuter) 111
|
|
384: 7(int) Constant 107
|
|
387: 7(int) Constant 108
|
|
388: 123(int) Constant 2
|
|
391: 7(int) Constant 109
|
|
396: 7(int) Constant 113
|
|
404: 7(int) Constant 115
|
|
414: 7(int) Constant 116
|
|
424: 7(int) Constant 117
|
|
434: 7(int) Constant 118
|
|
444: 7(int) Constant 119
|
|
452: 7(int) Constant 120
|
|
462: 7(int) Constant 126
|
|
465: 7(int) Constant 127
|
|
468: 7(int) Constant 128
|
|
471: 7(int) Constant 129
|
|
474: 7(int) Constant 130
|
|
477: 7(int) Constant 131
|
|
481: 7(int) Constant 137
|
|
482(gl_PerVertex): TypeStruct 19(fvec4) 16(float) 234 234
|
|
484: 7(int) Constant 110
|
|
483: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 238 21 31 35 484 12 12 13
|
|
485: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 241 18 31 35 468 12 12 13
|
|
487: 7(int) Constant 171
|
|
486: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 235 31 35 487 12 12 13
|
|
488: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 235 31 35 487 12 12 13
|
|
489: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 248 35 31 481 12 34 248 12 13 483 485 486 488
|
|
490: TypeArray 482(gl_PerVertex) 20
|
|
491: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 489 20
|
|
492: TypePointer Output 490
|
|
493(gl_out): 492(ptr) Variable Output
|
|
494: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 495 491 31 481 12 34 495 493(gl_out) 111
|
|
500: TypePointer Output 19(fvec4)
|
|
503: 7(int) Constant 138
|
|
504: TypeArray 143(fvec3) 20
|
|
505: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 144 20
|
|
506: TypePointer Output 504
|
|
507(outNormal): 506(ptr) Variable Output
|
|
508: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 509 505 31 503 12 34 509 507(outNormal) 111
|
|
511: TypeArray 143(fvec3) 10
|
|
512: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 144 10
|
|
513: TypePointer Input 511
|
|
514(inNormal): 513(ptr) Variable Input
|
|
515: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 516 512 31 503 12 34 516 514(inNormal) 111
|
|
518: TypePointer Input 143(fvec3)
|
|
521: TypePointer Output 143(fvec3)
|
|
524: 7(int) Constant 139
|
|
525: TypeArray 95(fvec2) 20
|
|
526: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 96 20
|
|
527: TypePointer Output 525
|
|
528(outUV): 527(ptr) Variable Output
|
|
529: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 530 526 31 524 12 34 530 528(outUV) 111
|
|
535: TypePointer Output 95(fvec2)
|
|
Line 1 98 11
|
|
14(main): 4 Function None 5
|
|
15: Label
|
|
405(param): 22(ptr) Variable Function
|
|
408(param): 22(ptr) Variable Function
|
|
415(param): 22(ptr) Variable Function
|
|
418(param): 22(ptr) Variable Function
|
|
425(param): 22(ptr) Variable Function
|
|
428(param): 22(ptr) Variable Function
|
|
435(param): 22(ptr) Variable Function
|
|
438(param): 22(ptr) Variable Function
|
|
345: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 57 14(main)
|
|
346: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
|
|
347: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 348 348 12 12
|
|
349: 123(int) Load 256(gl_InvocationID)
|
|
350: 46(bool) IEqual 349 138
|
|
SelectionMerge 352 None
|
|
BranchConditional 350 351 352
|
|
351: Label
|
|
353: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
|
|
354: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 355 355 12 12
|
|
356: 46(bool) FunctionCall 51(frustumCheck()
|
|
357: 46(bool) LogicalNot 356
|
|
SelectionMerge 359 None
|
|
BranchConditional 357 358 393
|
|
358: Label
|
|
360: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
|
|
361: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 362 362 12 12
|
|
370: 369(ptr) AccessChain 366(gl_TessLevelInner) 138
|
|
Store 370 145
|
|
371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 372 372 12 12
|
|
373: 369(ptr) AccessChain 366(gl_TessLevelInner) 126
|
|
Store 373 145
|
|
374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 375 375 12 12
|
|
382: 369(ptr) AccessChain 379(gl_TessLevelOuter) 138
|
|
Store 382 145
|
|
383: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 384 384 12 12
|
|
385: 369(ptr) AccessChain 379(gl_TessLevelOuter) 126
|
|
Store 385 145
|
|
386: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 387 387 12 12
|
|
389: 369(ptr) AccessChain 379(gl_TessLevelOuter) 388
|
|
Store 389 145
|
|
390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 391 391 12 12
|
|
392: 369(ptr) AccessChain 379(gl_TessLevelOuter) 320
|
|
Store 392 145
|
|
Branch 359
|
|
393: Label
|
|
394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
|
|
395: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 396 396 12 12
|
|
397: 213(ptr) AccessChain 120(ubo) 217
|
|
398: 16(float) Load 397
|
|
399: 46(bool) FOrdGreaterThan 398 145
|
|
SelectionMerge 401 None
|
|
BranchConditional 399 400 459
|
|
400: Label
|
|
402: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
|
|
403: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 404 404 12 12
|
|
406: 260(ptr) AccessChain 252(gl_in) 320 138
|
|
407: 19(fvec4) Load 406
|
|
Store 405(param) 407
|
|
409: 260(ptr) AccessChain 252(gl_in) 138 138
|
|
410: 19(fvec4) Load 409
|
|
Store 408(param) 410
|
|
411: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 405(param) 408(param)
|
|
412: 369(ptr) AccessChain 379(gl_TessLevelOuter) 138
|
|
Store 412 411
|
|
413: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 414 414 12 12
|
|
416: 260(ptr) AccessChain 252(gl_in) 138 138
|
|
417: 19(fvec4) Load 416
|
|
Store 415(param) 417
|
|
419: 260(ptr) AccessChain 252(gl_in) 126 138
|
|
420: 19(fvec4) Load 419
|
|
Store 418(param) 420
|
|
421: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 415(param) 418(param)
|
|
422: 369(ptr) AccessChain 379(gl_TessLevelOuter) 126
|
|
Store 422 421
|
|
423: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 424 424 12 12
|
|
426: 260(ptr) AccessChain 252(gl_in) 126 138
|
|
427: 19(fvec4) Load 426
|
|
Store 425(param) 427
|
|
429: 260(ptr) AccessChain 252(gl_in) 388 138
|
|
430: 19(fvec4) Load 429
|
|
Store 428(param) 430
|
|
431: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 425(param) 428(param)
|
|
432: 369(ptr) AccessChain 379(gl_TessLevelOuter) 388
|
|
Store 432 431
|
|
433: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 434 434 12 12
|
|
436: 260(ptr) AccessChain 252(gl_in) 388 138
|
|
437: 19(fvec4) Load 436
|
|
Store 435(param) 437
|
|
439: 260(ptr) AccessChain 252(gl_in) 320 138
|
|
440: 19(fvec4) Load 439
|
|
Store 438(param) 440
|
|
441: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 435(param) 438(param)
|
|
442: 369(ptr) AccessChain 379(gl_TessLevelOuter) 320
|
|
Store 442 441
|
|
443: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 444 444 12 12
|
|
445: 369(ptr) AccessChain 379(gl_TessLevelOuter) 138
|
|
446: 16(float) Load 445
|
|
447: 369(ptr) AccessChain 379(gl_TessLevelOuter) 320
|
|
448: 16(float) Load 447
|
|
449: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 446 448 67
|
|
450: 369(ptr) AccessChain 366(gl_TessLevelInner) 138
|
|
Store 450 449
|
|
451: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 452 452 12 12
|
|
453: 369(ptr) AccessChain 379(gl_TessLevelOuter) 388
|
|
454: 16(float) Load 453
|
|
455: 369(ptr) AccessChain 379(gl_TessLevelOuter) 126
|
|
456: 16(float) Load 455
|
|
457: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 454 456 67
|
|
458: 369(ptr) AccessChain 366(gl_TessLevelInner) 126
|
|
Store 458 457
|
|
Branch 401
|
|
459: Label
|
|
460: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
|
|
461: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 462 462 12 12
|
|
463: 369(ptr) AccessChain 366(gl_TessLevelInner) 138
|
|
Store 463 221
|
|
464: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 465 465 12 12
|
|
466: 369(ptr) AccessChain 366(gl_TessLevelInner) 126
|
|
Store 466 221
|
|
467: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 468 468 12 12
|
|
469: 369(ptr) AccessChain 379(gl_TessLevelOuter) 138
|
|
Store 469 221
|
|
470: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 471 471 12 12
|
|
472: 369(ptr) AccessChain 379(gl_TessLevelOuter) 126
|
|
Store 472 221
|
|
473: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 474 474 12 12
|
|
475: 369(ptr) AccessChain 379(gl_TessLevelOuter) 388
|
|
Store 475 221
|
|
476: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 477 477 12 12
|
|
478: 369(ptr) AccessChain 379(gl_TessLevelOuter) 320
|
|
Store 478 221
|
|
Branch 401
|
|
401: Label
|
|
Branch 359
|
|
359: Label
|
|
Branch 352
|
|
352: Label
|
|
479: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
|
|
480: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 481 481 12 12
|
|
496: 123(int) Load 256(gl_InvocationID)
|
|
497: 123(int) Load 256(gl_InvocationID)
|
|
498: 260(ptr) AccessChain 252(gl_in) 497 138
|
|
499: 19(fvec4) Load 498
|
|
501: 500(ptr) AccessChain 493(gl_out) 496 138
|
|
Store 501 499
|
|
502: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 503 503 12 12
|
|
510: 123(int) Load 256(gl_InvocationID)
|
|
517: 123(int) Load 256(gl_InvocationID)
|
|
519: 518(ptr) AccessChain 514(inNormal) 517
|
|
520: 143(fvec3) Load 519
|
|
522: 521(ptr) AccessChain 507(outNormal) 510
|
|
Store 522 520
|
|
523: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 524 524 12 12
|
|
531: 123(int) Load 256(gl_InvocationID)
|
|
532: 123(int) Load 256(gl_InvocationID)
|
|
533: 285(ptr) AccessChain 282(inUV) 532
|
|
534: 95(fvec2) Load 533
|
|
536: 535(ptr) AccessChain 528(outUV) 531
|
|
Store 536 534
|
|
Return
|
|
FunctionEnd
|
|
Line 1 51 45
|
|
27(screenSpaceTessFactor(vf4;vf4;): 16(float) Function None 23
|
|
25(p0): 22(ptr) FunctionParameter
|
|
26(p1): 22(ptr) FunctionParameter
|
|
28: Label
|
|
63(midPoint): 22(ptr) Variable Function
|
|
75(radius): 74(ptr) Variable Function
|
|
86(v0): 22(ptr) Variable Function
|
|
134(clip0): 22(ptr) Variable Function
|
|
155(clip1): 22(ptr) Variable Function
|
|
37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 30
|
|
38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 33 33 12 12
|
|
41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 39 25(p0) 42
|
|
45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 43 26(p1) 42
|
|
59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 30 27(screenSpaceTessFactor(vf4;vf4;)
|
|
60: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 30
|
|
61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 62 62 12 12
|
|
66: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 64 63(midPoint) 42
|
|
68: 19(fvec4) Load 25(p0)
|
|
69: 19(fvec4) Load 26(p1)
|
|
70: 19(fvec4) FAdd 68 69
|
|
71: 19(fvec4) VectorTimesScalar 70 67
|
|
Store 63(midPoint) 71
|
|
72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 73 73 12 12
|
|
78: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 76 75(radius) 42
|
|
79: 19(fvec4) Load 25(p0)
|
|
80: 19(fvec4) Load 26(p1)
|
|
81: 16(float) ExtInst 3(GLSL.std.450) 67(Distance) 79 80
|
|
83: 16(float) FDiv 81 82
|
|
Store 75(radius) 83
|
|
84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 85 85 12 12
|
|
89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 87 86(v0) 42
|
|
128: 127(ptr) AccessChain 120(ubo) 126
|
|
129: 90 Load 128
|
|
130: 19(fvec4) Load 63(midPoint)
|
|
131: 19(fvec4) MatrixTimesVector 129 130
|
|
Store 86(v0) 131
|
|
132: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 133 133 12 12
|
|
137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 135 134(clip0) 42
|
|
139: 127(ptr) AccessChain 120(ubo) 138
|
|
140: 90 Load 139
|
|
141: 19(fvec4) Load 86(v0)
|
|
142: 16(float) Load 75(radius)
|
|
147: 16(float) CompositeExtract 146 0
|
|
148: 16(float) CompositeExtract 146 1
|
|
149: 16(float) CompositeExtract 146 2
|
|
150: 19(fvec4) CompositeConstruct 142 147 148 149
|
|
151: 19(fvec4) FSub 141 150
|
|
152: 19(fvec4) MatrixTimesVector 140 151
|
|
Store 134(clip0) 152
|
|
153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 154 154 12 12
|
|
158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 156 155(clip1) 42
|
|
159: 127(ptr) AccessChain 120(ubo) 138
|
|
160: 90 Load 159
|
|
161: 19(fvec4) Load 86(v0)
|
|
162: 16(float) Load 75(radius)
|
|
163: 16(float) CompositeExtract 146 0
|
|
164: 16(float) CompositeExtract 146 1
|
|
165: 16(float) CompositeExtract 146 2
|
|
166: 19(fvec4) CompositeConstruct 162 163 164 165
|
|
167: 19(fvec4) FAdd 161 166
|
|
168: 19(fvec4) MatrixTimesVector 160 167
|
|
Store 155(clip1) 168
|
|
169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 170 170 12 12
|
|
171: 74(ptr) AccessChain 134(clip0) 13
|
|
172: 16(float) Load 171
|
|
173: 19(fvec4) Load 134(clip0)
|
|
174: 19(fvec4) CompositeConstruct 172 172 172 172
|
|
175: 19(fvec4) FDiv 173 174
|
|
Store 134(clip0) 175
|
|
176: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 177 177 12 12
|
|
178: 74(ptr) AccessChain 155(clip1) 13
|
|
179: 16(float) Load 178
|
|
180: 19(fvec4) Load 155(clip1)
|
|
181: 19(fvec4) CompositeConstruct 179 179 179 179
|
|
182: 19(fvec4) FDiv 180 181
|
|
Store 155(clip1) 182
|
|
183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 184 184 12 12
|
|
187: 186(ptr) AccessChain 120(ubo) 185
|
|
188: 95(fvec2) Load 187
|
|
189: 19(fvec4) Load 134(clip0)
|
|
190: 95(fvec2) VectorShuffle 189 189 0 1
|
|
191: 95(fvec2) FMul 190 188
|
|
192: 74(ptr) AccessChain 134(clip0) 12
|
|
193: 16(float) CompositeExtract 191 0
|
|
Store 192 193
|
|
194: 74(ptr) AccessChain 134(clip0) 35
|
|
195: 16(float) CompositeExtract 191 1
|
|
Store 194 195
|
|
196: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 197 197 12 12
|
|
198: 186(ptr) AccessChain 120(ubo) 185
|
|
199: 95(fvec2) Load 198
|
|
200: 19(fvec4) Load 155(clip1)
|
|
201: 95(fvec2) VectorShuffle 200 200 0 1
|
|
202: 95(fvec2) FMul 201 199
|
|
203: 74(ptr) AccessChain 155(clip1) 12
|
|
204: 16(float) CompositeExtract 202 0
|
|
Store 203 204
|
|
205: 74(ptr) AccessChain 155(clip1) 35
|
|
206: 16(float) CompositeExtract 202 1
|
|
Store 205 206
|
|
207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 208 208 12 12
|
|
209: 19(fvec4) Load 134(clip0)
|
|
210: 19(fvec4) Load 155(clip1)
|
|
211: 16(float) ExtInst 3(GLSL.std.450) 67(Distance) 209 210
|
|
214: 213(ptr) AccessChain 120(ubo) 212
|
|
215: 16(float) Load 214
|
|
216: 16(float) FDiv 211 215
|
|
218: 213(ptr) AccessChain 120(ubo) 217
|
|
219: 16(float) Load 218
|
|
220: 16(float) FMul 216 219
|
|
223: 16(float) ExtInst 3(GLSL.std.450) 43(FClamp) 220 221 222
|
|
ReturnValue 223
|
|
FunctionEnd
|
|
Line 1 81 19
|
|
51(frustumCheck(): 46(bool) Function None 49
|
|
52: Label
|
|
230(pos): 22(ptr) Variable Function
|
|
301(i): 300(ptr) Variable Function
|
|
226: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 54 51(frustumCheck()
|
|
227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
|
|
228: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 229 229 12 12
|
|
233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 231 230(pos) 42
|
|
259: 123(int) Load 256(gl_InvocationID)
|
|
261: 260(ptr) AccessChain 252(gl_in) 259 138
|
|
262: 19(fvec4) Load 261
|
|
Store 230(pos) 262
|
|
263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 264 264 12 12
|
|
278: 270 Load 275(samplerHeight)
|
|
286: 285(ptr) AccessChain 282(inUV) 138
|
|
287: 95(fvec2) Load 286
|
|
288: 19(fvec4) ImageSampleExplicitLod 278 287 Lod 145
|
|
289: 16(float) CompositeExtract 288 0
|
|
291: 213(ptr) AccessChain 120(ubo) 290
|
|
292: 16(float) Load 291
|
|
293: 16(float) FMul 289 292
|
|
294: 74(ptr) AccessChain 230(pos) 35
|
|
295: 16(float) Load 294
|
|
296: 16(float) FSub 295 293
|
|
297: 74(ptr) AccessChain 230(pos) 35
|
|
Store 297 296
|
|
298: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 299 299 12 12
|
|
304: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 302 301(i) 42
|
|
Store 301(i) 138
|
|
Branch 305
|
|
305: Label
|
|
309: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
|
|
310: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 299 299 12 12
|
|
LoopMerge 307 308 None
|
|
Branch 311
|
|
311: Label
|
|
312: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
|
|
313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 299 299 12 12
|
|
314: 123(int) Load 301(i)
|
|
315: 46(bool) SLessThan 314 185
|
|
BranchConditional 315 306 307
|
|
306: Label
|
|
316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
|
|
317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 318 318 12 12
|
|
319: 19(fvec4) Load 230(pos)
|
|
321: 123(int) Load 301(i)
|
|
323: 322(ptr) AccessChain 120(ubo) 320 321
|
|
324: 19(fvec4) Load 323
|
|
325: 16(float) Dot 319 324
|
|
327: 16(float) FAdd 325 326
|
|
328: 46(bool) FOrdLessThan 327 145
|
|
SelectionMerge 330 None
|
|
BranchConditional 328 329 330
|
|
329: Label
|
|
332: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
|
|
333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 334 334 12 12
|
|
ReturnValue 331
|
|
330: Label
|
|
Branch 308
|
|
308: Label
|
|
336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
|
|
337: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 299 299 12 12
|
|
338: 123(int) Load 301(i)
|
|
339: 123(int) IAdd 338 126
|
|
Store 301(i) 339
|
|
Branch 305
|
|
307: Label
|
|
340: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
|
|
341: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 342 342 12 12
|
|
ReturnValue 92
|
|
FunctionEnd
|