• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.400.tesc
2// Module Version 10000
3// Generated by (magic number): 8000a
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 78(patchOut) Location 0
63                              Decorate 82(inb) Location 0
64                              Decorate 83(ind) Location 1
65                              Decorate 86(ivla) Location 3
66                              Decorate 87(ivlb) Location 4
67                              Decorate 90(ovla) Location 3
68                              Decorate 91(ovlb) Location 4
69               2:             TypeVoid
70               3:             TypeFunction 2
71               6:             TypeInt 32 0
72               7:      6(int) Constant 2
73               8:      6(int) Constant 4
74               9:      6(int) Constant 0
75              10:             TypeInt 32 1
76              11:             TypePointer Function 10(int)
77              13:     10(int) Constant 5392
78              14:             TypeFloat 32
79              15:             TypeVector 14(float) 4
80              16:             TypePointer Function 15(fvec4)
81              18:      6(int) Constant 3
82              19:             TypeArray 14(float) 18
8320(gl_PerVertex):             TypeStruct 15(fvec4) 14(float) 19
84              21:      6(int) Constant 32
85              22:             TypeArray 20(gl_PerVertex) 21
86              23:             TypePointer Input 22
87       24(gl_in):     23(ptr) Variable Input
88              25:     10(int) Constant 1
89              26:     10(int) Constant 0
90              27:             TypePointer Input 15(fvec4)
91              30:             TypePointer Function 14(float)
92              32:             TypePointer Input 14(float)
93              36:     10(int) Constant 2
94              40:             TypePointer Input 10(int)
9541(gl_PatchVerticesIn):     40(ptr) Variable Input
9644(gl_PrimitiveID):     40(ptr) Variable Input
9747(gl_InvocationID):     40(ptr) Variable Input
98              49:             TypeArray 14(float) 7
9950(gl_PerVertex):             TypeStruct 15(fvec4) 14(float) 49
100              51:             TypeArray 50(gl_PerVertex) 8
101              52:             TypePointer Output 51
102      53(gl_out):     52(ptr) Variable Output
103              56:             TypePointer Output 15(fvec4)
104              60:             TypePointer Output 14(float)
105              65:             TypeArray 14(float) 8
106              66:             TypePointer Output 65
10767(gl_TessLevelOuter):     66(ptr) Variable Output
108              68:     10(int) Constant 3
109              69:   14(float) Constant 1078774989
110              71:             TypePointer Output 49
11172(gl_TessLevelInner):     71(ptr) Variable Output
112              73:   14(float) Constant 1067869798
113              75:             TypeArray 10(int) 8
114              76:             TypePointer Private 75
115        77(outa):     76(ptr) Variable Private
116    78(patchOut):     56(ptr) Variable Output
117              79:             TypeVector 14(float) 2
118              80:             TypeArray 79(fvec2) 21
119              81:             TypePointer Input 80
120         82(inb):     81(ptr) Variable Input
121         83(ind):     81(ptr) Variable Input
122              84:             TypeArray 15(fvec4) 21
123              85:             TypePointer Input 84
124        86(ivla):     85(ptr) Variable Input
125        87(ivlb):     85(ptr) Variable Input
126              88:             TypeArray 15(fvec4) 8
127              89:             TypePointer Output 88
128        90(ovla):     89(ptr) Variable Output
129        91(ovlb):     89(ptr) Variable Output
130         4(main):           2 Function None 3
131               5:             Label
132           12(a):     11(ptr) Variable Function
133           17(p):     16(ptr) Variable Function
134          31(ps):     30(ptr) Variable Function
135          35(cd):     30(ptr) Variable Function
136         39(pvi):     11(ptr) Variable Function
137         43(pid):     11(ptr) Variable Function
138         46(iid):     11(ptr) Variable Function
139                              ControlBarrier 7 8 9
140                              Store 12(a) 13
141              28:     27(ptr) AccessChain 24(gl_in) 25 26
142              29:   15(fvec4) Load 28
143                              Store 17(p) 29
144              33:     32(ptr) AccessChain 24(gl_in) 25 25
145              34:   14(float) Load 33
146                              Store 31(ps) 34
147              37:     32(ptr) AccessChain 24(gl_in) 25 36 36
148              38:   14(float) Load 37
149                              Store 35(cd) 38
150              42:     10(int) Load 41(gl_PatchVerticesIn)
151                              Store 39(pvi) 42
152              45:     10(int) Load 44(gl_PrimitiveID)
153                              Store 43(pid) 45
154              48:     10(int) Load 47(gl_InvocationID)
155                              Store 46(iid) 48
156              54:     10(int) Load 47(gl_InvocationID)
157              55:   15(fvec4) Load 17(p)
158              57:     56(ptr) AccessChain 53(gl_out) 54 26
159                              Store 57 55
160              58:     10(int) Load 47(gl_InvocationID)
161              59:   14(float) Load 31(ps)
162              61:     60(ptr) AccessChain 53(gl_out) 58 25
163                              Store 61 59
164              62:     10(int) Load 47(gl_InvocationID)
165              63:   14(float) Load 35(cd)
166              64:     60(ptr) AccessChain 53(gl_out) 62 36 25
167                              Store 64 63
168              70:     60(ptr) AccessChain 67(gl_TessLevelOuter) 68
169                              Store 70 69
170              74:     60(ptr) AccessChain 72(gl_TessLevelInner) 25
171                              Store 74 73
172                              Return
173                              FunctionEnd
174