blob: 0b8abf668a35085bdcb5402f9cdaf42cc92b1d35 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
|
spv.400.tese
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 96
Capability Tessellation
Capability TessellationPointSize
Capability ClipDistance
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint TessellationEvaluation 4 "main" 21 38 41 47 53 61 66 75 79 80 84 88 91 92 95
ExecutionMode 4 Triangles
ExecutionMode 4 SpacingFractionalOdd
ExecutionMode 4 VertexOrderCcw
ExecutionMode 4 PointMode
Source GLSL 400
SourceExtension "GL_ARB_separate_shader_objects"
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 64 "gl_PerVertex"
MemberName 64(gl_PerVertex) 0 "gl_Position"
MemberName 64(gl_PerVertex) 1 "gl_PointSize"
MemberName 64(gl_PerVertex) 2 "gl_ClipDistance"
Name 66 ""
Name 75 "patchIn"
Name 79 "inb"
Name 80 "ind"
Name 81 "testblb"
MemberName 81(testblb) 0 "f"
Name 84 "blb"
Name 85 "testbld"
MemberName 85(testbld) 0 "f"
Name 88 "bld"
Name 91 "ivla"
Name 92 "ivlb"
Name 95 "ovla"
MemberDecorate 17(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 17(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 17(gl_PerVertex) 2 BuiltIn ClipDistance
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 64(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 64(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 64(gl_PerVertex) 2 BuiltIn ClipDistance
Decorate 64(gl_PerVertex) Block
Decorate 75(patchIn) Patch
Decorate 75(patchIn) Location 0
Decorate 79(inb) Location 1
Decorate 80(ind) Location 2
Decorate 81(testblb) Block
Decorate 84(blb) Location 3
Decorate 85(testbld) Block
Decorate 88(bld) Location 4
Decorate 91(ivla) Location 23
Decorate 92(ivlb) Location 24
Decorate 95(ovla) Location 23
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 3
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(gl_PerVertex): TypeStruct 11(fvec4) 10(float) 16
65: TypePointer Output 64(gl_PerVertex)
66: 65(ptr) Variable Output
68: TypePointer Output 11(fvec4)
71: TypePointer Output 10(float)
75(patchIn): 24(ptr) Variable Input
76: TypeVector 10(float) 2
77: TypeArray 76(fvec2) 18
78: TypePointer Input 77
79(inb): 78(ptr) Variable Input
80(ind): 78(ptr) Variable Input
81(testblb): TypeStruct 6(int)
82: TypeArray 81(testblb) 18
83: TypePointer Input 82
84(blb): 83(ptr) Variable Input
85(testbld): TypeStruct 6(int)
86: TypeArray 85(testbld) 18
87: TypePointer Input 86
88(bld): 87(ptr) Variable Input
89: TypeArray 11(fvec4) 18
90: TypePointer Input 89
91(ivla): 90(ptr) Variable Input
92(ivlb): 90(ptr) Variable Input
93: TypeArray 11(fvec4) 58
94: TypePointer Output 93
95(ovla): 94(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
67: 11(fvec4) Load 13(p)
69: 68(ptr) AccessChain 66 23
Store 69 67
70: 10(float) Load 28(ps)
72: 71(ptr) AccessChain 66 22
Store 72 70
73: 10(float) Load 32(cd)
74: 71(ptr) AccessChain 66 33 33
Store 74 73
Return
FunctionEnd
|