spv.400.tese | |
Warning, version 400 is not yet complete; most version-specific features are present, but some are missing. | |
Linked tessellation evaluation stage: | |
// Module Version 99 | |
// Generated by (magic number): 51a00bb | |
// Id's are bound by 98 | |
Source GLSL 400 | |
SourceExtension "GL_ARB_separate_shader_objects" | |
Capability Tessellation | |
1: ExtInstImport "GLSL.std.450" | |
MemoryModel Logical GLSL450 | |
EntryPoint TessellationEvaluation 4 "main" | |
ExecutionMode 4 InputTriangles | |
Name 4 "main" | |
Name 8 "a" | |
Name 13 "p" | |
Name 17 "gl_PerVertex" | |
MemberName 17(gl_PerVertex) 0 "gl_Position" | |
MemberName 17(gl_PerVertex) 1 "gl_PointSize" | |
MemberName 17(gl_PerVertex) 2 "gl_ClipDistance" | |
Name 21 "gl_in" | |
Name 28 "ps" | |
Name 32 "cd" | |
Name 36 "pvi" | |
Name 38 "gl_PatchVerticesIn" | |
Name 40 "pid" | |
Name 41 "gl_PrimitiveID" | |
Name 45 "tc" | |
Name 47 "gl_TessCoord" | |
Name 49 "tlo" | |
Name 53 "gl_TessLevelOuter" | |
Name 57 "tli" | |
Name 61 "gl_TessLevelInner" | |
Name 66 "gl_PerVertex" | |
MemberName 66(gl_PerVertex) 0 "gl_Position" | |
MemberName 66(gl_PerVertex) 1 "gl_PointSize" | |
MemberName 66(gl_PerVertex) 2 "gl_ClipDistance" | |
Name 68 "" | |
Name 77 "patchIn" | |
Name 81 "inb" | |
Name 82 "ind" | |
Name 83 "testblb" | |
MemberName 83(testblb) 0 "f" | |
Name 86 "blb" | |
Name 87 "testbld" | |
MemberName 87(testbld) 0 "f" | |
Name 90 "bld" | |
Name 93 "ivla" | |
Name 94 "ivlb" | |
Name 97 "ovla" | |
Decorate 17(gl_PerVertex) Block | |
Decorate 38(gl_PatchVerticesIn) BuiltIn PatchVertices | |
Decorate 41(gl_PrimitiveID) BuiltIn PrimitiveId | |
Decorate 47(gl_TessCoord) BuiltIn TessCoord | |
Decorate 53(gl_TessLevelOuter) Patch | |
Decorate 53(gl_TessLevelOuter) BuiltIn TessLevelOuter | |
Decorate 61(gl_TessLevelInner) Patch | |
Decorate 61(gl_TessLevelInner) BuiltIn TessLevelInner | |
MemberDecorate 66(gl_PerVertex) 0 BuiltIn Position | |
MemberDecorate 66(gl_PerVertex) 1 BuiltIn PointSize | |
MemberDecorate 66(gl_PerVertex) 2 BuiltIn ClipDistance | |
Decorate 66(gl_PerVertex) Block | |
Decorate 77(patchIn) Patch | |
Decorate 77(patchIn) NoStaticUse | |
Decorate 81(inb) NoStaticUse | |
Decorate 82(ind) NoStaticUse | |
Decorate 83(testblb) Block | |
Decorate 86(blb) NoStaticUse | |
Decorate 87(testbld) Block | |
Decorate 90(bld) NoStaticUse | |
Decorate 93(ivla) Location 23 | |
Decorate 93(ivla) NoStaticUse | |
Decorate 94(ivlb) Location 24 | |
Decorate 94(ivlb) NoStaticUse | |
Decorate 97(ovla) Location 23 | |
Decorate 97(ovla) NoStaticUse | |
2: TypeVoid | |
3: TypeFunction 2 | |
6: TypeInt 32 1 | |
7: TypePointer Function 6(int) | |
9: 6(int) Constant 1512 | |
10: TypeFloat 32 | |
11: TypeVector 10(float) 4 | |
12: TypePointer Function 11(fvec4) | |
14: TypeInt 32 0 | |
15: 14(int) Constant 1 | |
16: TypeArray 10(float) 15 | |
17(gl_PerVertex): TypeStruct 11(fvec4) 10(float) 16 | |
18: 14(int) Constant 32 | |
19: TypeArray 17(gl_PerVertex) 18 | |
20: TypePointer Input 19 | |
21(gl_in): 20(ptr) Variable Input | |
22: 6(int) Constant 1 | |
23: 6(int) Constant 0 | |
24: TypePointer Input 11(fvec4) | |
27: TypePointer Function 10(float) | |
29: TypePointer Input 10(float) | |
33: 6(int) Constant 2 | |
37: TypePointer Input 6(int) | |
38(gl_PatchVerticesIn): 37(ptr) Variable Input | |
41(gl_PrimitiveID): 37(ptr) Variable Input | |
43: TypeVector 10(float) 3 | |
44: TypePointer Function 43(fvec3) | |
46: TypePointer Input 43(fvec3) | |
47(gl_TessCoord): 46(ptr) Variable Input | |
50: 14(int) Constant 4 | |
51: TypeArray 10(float) 50 | |
52: TypePointer Input 51 | |
53(gl_TessLevelOuter): 52(ptr) Variable Input | |
54: 6(int) Constant 3 | |
58: 14(int) Constant 2 | |
59: TypeArray 10(float) 58 | |
60: TypePointer Input 59 | |
61(gl_TessLevelInner): 60(ptr) Variable Input | |
64: 14(int) Constant 3 | |
65: TypeArray 10(float) 64 | |
66(gl_PerVertex): TypeStruct 11(fvec4) 10(float) 65 | |
67: TypePointer Output 66(gl_PerVertex) | |
68: 67(ptr) Variable Output | |
70: TypePointer Output 11(fvec4) | |
73: TypePointer Output 10(float) | |
77(patchIn): 24(ptr) Variable Input | |
78: TypeVector 10(float) 2 | |
79: TypeArray 78(fvec2) 18 | |
80: TypePointer Input 79 | |
81(inb): 80(ptr) Variable Input | |
82(ind): 80(ptr) Variable Input | |
83(testblb): TypeStruct 6(int) | |
84: TypeArray 83(testblb) 18 | |
85: TypePointer Input 84 | |
86(blb): 85(ptr) Variable Input | |
87(testbld): TypeStruct 6(int) | |
88: TypeArray 87(testbld) 18 | |
89: TypePointer Input 88 | |
90(bld): 89(ptr) Variable Input | |
91: TypeArray 11(fvec4) 18 | |
92: TypePointer Input 91 | |
93(ivla): 92(ptr) Variable Input | |
94(ivlb): 92(ptr) Variable Input | |
95: TypeArray 11(fvec4) 58 | |
96: TypePointer Output 95 | |
97(ovla): 96(ptr) Variable Output | |
4(main): 2 Function None 3 | |
5: Label | |
8(a): 7(ptr) Variable Function | |
13(p): 12(ptr) Variable Function | |
28(ps): 27(ptr) Variable Function | |
32(cd): 27(ptr) Variable Function | |
36(pvi): 7(ptr) Variable Function | |
40(pid): 7(ptr) Variable Function | |
45(tc): 44(ptr) Variable Function | |
49(tlo): 27(ptr) Variable Function | |
57(tli): 27(ptr) Variable Function | |
Store 8(a) 9 | |
25: 24(ptr) AccessChain 21(gl_in) 22 23 | |
26: 11(fvec4) Load 25 | |
Store 13(p) 26 | |
30: 29(ptr) AccessChain 21(gl_in) 22 22 | |
31: 10(float) Load 30 | |
Store 28(ps) 31 | |
34: 29(ptr) AccessChain 21(gl_in) 22 33 33 | |
35: 10(float) Load 34 | |
Store 32(cd) 35 | |
39: 6(int) Load 38(gl_PatchVerticesIn) | |
Store 36(pvi) 39 | |
42: 6(int) Load 41(gl_PrimitiveID) | |
Store 40(pid) 42 | |
48: 43(fvec3) Load 47(gl_TessCoord) | |
Store 45(tc) 48 | |
55: 29(ptr) AccessChain 53(gl_TessLevelOuter) 54 | |
56: 10(float) Load 55 | |
Store 49(tlo) 56 | |
62: 29(ptr) AccessChain 61(gl_TessLevelInner) 22 | |
63: 10(float) Load 62 | |
Store 57(tli) 63 | |
69: 11(fvec4) Load 13(p) | |
71: 70(ptr) AccessChain 68 23 | |
Store 71 69 | |
72: 10(float) Load 28(ps) | |
74: 73(ptr) AccessChain 68 22 | |
Store 74 72 | |
75: 10(float) Load 32(cd) | |
76: 73(ptr) AccessChain 68 33 33 | |
Store 76 75 | |
Return | |
FunctionEnd |