1spv.400.tesc
2// Module Version 10000
3// Generated by (magic number): 80007
4// Id's are bound by 92
5
6                              Capability Tessellation
7                              Capability TessellationPointSize
8                              Capability ClipDistance
9               1:             ExtInstImport  "GLSL.std.450"
10                              MemoryModel Logical GLSL450
11                              EntryPoint TessellationControl 4  "main" 24 41 44 47 53 67 72 78 82 83 86 87 90 91
12                              ExecutionMode 4 OutputVertices 4
13                              Source GLSL 400
14                              SourceExtension  "GL_ARB_separate_shader_objects"
15                              Name 4  "main"
16                              Name 12  "a"
17                              Name 17  "p"
18                              Name 20  "gl_PerVertex"
19                              MemberName 20(gl_PerVertex) 0  "gl_Position"
20                              MemberName 20(gl_PerVertex) 1  "gl_PointSize"
21                              MemberName 20(gl_PerVertex) 2  "gl_ClipDistance"
22                              Name 24  "gl_in"
23                              Name 31  "ps"
24                              Name 35  "cd"
25                              Name 39  "pvi"
26                              Name 41  "gl_PatchVerticesIn"
27                              Name 43  "pid"
28                              Name 44  "gl_PrimitiveID"
29                              Name 46  "iid"
30                              Name 47  "gl_InvocationID"
31                              Name 50  "gl_PerVertex"
32                              MemberName 50(gl_PerVertex) 0  "gl_Position"
33                              MemberName 50(gl_PerVertex) 1  "gl_PointSize"
34                              MemberName 50(gl_PerVertex) 2  "gl_ClipDistance"
35                              Name 53  "gl_out"
36                              Name 67  "gl_TessLevelOuter"
37                              Name 72  "gl_TessLevelInner"
38                              Name 77  "outa"
39                              Name 78  "patchOut"
40                              Name 82  "inb"
41                              Name 83  "ind"
42                              Name 86  "ivla"
43                              Name 87  "ivlb"
44                              Name 90  "ovla"
45                              Name 91  "ovlb"
46                              MemberDecorate 20(gl_PerVertex) 0 BuiltIn Position
47                              MemberDecorate 20(gl_PerVertex) 1 BuiltIn PointSize
48                              MemberDecorate 20(gl_PerVertex) 2 BuiltIn ClipDistance
49                              Decorate 20(gl_PerVertex) Block
50                              Decorate 41(gl_PatchVerticesIn) BuiltIn PatchVertices
51                              Decorate 44(gl_PrimitiveID) BuiltIn PrimitiveId
52                              Decorate 47(gl_InvocationID) BuiltIn InvocationId
53                              MemberDecorate 50(gl_PerVertex) 0 BuiltIn Position
54                              MemberDecorate 50(gl_PerVertex) 1 BuiltIn PointSize
55                              MemberDecorate 50(gl_PerVertex) 2 BuiltIn ClipDistance
56                              Decorate 50(gl_PerVertex) Block
57                              Decorate 67(gl_TessLevelOuter) Patch
58                              Decorate 67(gl_TessLevelOuter) BuiltIn TessLevelOuter
59                              Decorate 72(gl_TessLevelInner) Patch
60                              Decorate 72(gl_TessLevelInner) BuiltIn TessLevelInner
61                              Decorate 78(patchOut) Patch
62                              Decorate 86(ivla) Location 3
63                              Decorate 87(ivlb) Location 4
64                              Decorate 90(ovla) Location 3
65                              Decorate 91(ovlb) Location 4
66               2:             TypeVoid
67               3:             TypeFunction 2
68               6:             TypeInt 32 0
69               7:      6(int) Constant 2
70               8:      6(int) Constant 4
71               9:      6(int) Constant 0
72              10:             TypeInt 32 1
73              11:             TypePointer Function 10(int)
74              13:     10(int) Constant 5392
75              14:             TypeFloat 32
76              15:             TypeVector 14(float) 4
77              16:             TypePointer Function 15(fvec4)
78              18:      6(int) Constant 3
79              19:             TypeArray 14(float) 18
8020(gl_PerVertex):             TypeStruct 15(fvec4) 14(float) 19
81              21:      6(int) Constant 32
82              22:             TypeArray 20(gl_PerVertex) 21
83              23:             TypePointer Input 22
84       24(gl_in):     23(ptr) Variable Input
85              25:     10(int) Constant 1
86              26:     10(int) Constant 0
87              27:             TypePointer Input 15(fvec4)
88              30:             TypePointer Function 14(float)
89              32:             TypePointer Input 14(float)
90              36:     10(int) Constant 2
91              40:             TypePointer Input 10(int)
9241(gl_PatchVerticesIn):     40(ptr) Variable Input
9344(gl_PrimitiveID):     40(ptr) Variable Input
9447(gl_InvocationID):     40(ptr) Variable Input
95              49:             TypeArray 14(float) 7
9650(gl_PerVertex):             TypeStruct 15(fvec4) 14(float) 49
97              51:             TypeArray 50(gl_PerVertex) 8
98              52:             TypePointer Output 51
99      53(gl_out):     52(ptr) Variable Output
100              56:             TypePointer Output 15(fvec4)
101              60:             TypePointer Output 14(float)
102              65:             TypeArray 14(float) 8
103              66:             TypePointer Output 65
10467(gl_TessLevelOuter):     66(ptr) Variable Output
105              68:     10(int) Constant 3
106              69:   14(float) Constant 1078774989
107              71:             TypePointer Output 49
10872(gl_TessLevelInner):     71(ptr) Variable Output
109              73:   14(float) Constant 1067869798
110              75:             TypeArray 10(int) 8
111              76:             TypePointer Private 75
112        77(outa):     76(ptr) Variable Private
113    78(patchOut):     56(ptr) Variable Output
114              79:             TypeVector 14(float) 2
115              80:             TypeArray 79(fvec2) 21
116              81:             TypePointer Input 80
117         82(inb):     81(ptr) Variable Input
118         83(ind):     81(ptr) Variable Input
119              84:             TypeArray 15(fvec4) 21
120              85:             TypePointer Input 84
121        86(ivla):     85(ptr) Variable Input
122        87(ivlb):     85(ptr) Variable Input
123              88:             TypeArray 15(fvec4) 8
124              89:             TypePointer Output 88
125        90(ovla):     89(ptr) Variable Output
126        91(ovlb):     89(ptr) Variable Output
127         4(main):           2 Function None 3
128               5:             Label
129           12(a):     11(ptr) Variable Function
130           17(p):     16(ptr) Variable Function
131          31(ps):     30(ptr) Variable Function
132          35(cd):     30(ptr) Variable Function
133         39(pvi):     11(ptr) Variable Function
134         43(pid):     11(ptr) Variable Function
135         46(iid):     11(ptr) Variable Function
136                              ControlBarrier 7 8 9
137                              Store 12(a) 13
138              28:     27(ptr) AccessChain 24(gl_in) 25 26
139              29:   15(fvec4) Load 28
140                              Store 17(p) 29
141              33:     32(ptr) AccessChain 24(gl_in) 25 25
142              34:   14(float) Load 33
143                              Store 31(ps) 34
144              37:     32(ptr) AccessChain 24(gl_in) 25 36 36
145              38:   14(float) Load 37
146                              Store 35(cd) 38
147              42:     10(int) Load 41(gl_PatchVerticesIn)
148                              Store 39(pvi) 42
149              45:     10(int) Load 44(gl_PrimitiveID)
150                              Store 43(pid) 45
151              48:     10(int) Load 47(gl_InvocationID)
152                              Store 46(iid) 48
153              54:     10(int) Load 47(gl_InvocationID)
154              55:   15(fvec4) Load 17(p)
155              57:     56(ptr) AccessChain 53(gl_out) 54 26
156                              Store 57 55
157              58:     10(int) Load 47(gl_InvocationID)
158              59:   14(float) Load 31(ps)
159              61:     60(ptr) AccessChain 53(gl_out) 58 25
160                              Store 61 59
161              62:     10(int) Load 47(gl_InvocationID)
162              63:   14(float) Load 35(cd)
163              64:     60(ptr) AccessChain 53(gl_out) 62 36 25
164                              Store 64 63
165              70:     60(ptr) AccessChain 67(gl_TessLevelOuter) 68
166                              Store 70 69
167              74:     60(ptr) AccessChain 72(gl_TessLevelInner) 25
168                              Store 74 73
169                              Return
170                              FunctionEnd
171