• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.150.geom
2// Module Version 10000
3// Generated by (magic number): 8000a
4// Id's are bound by 71
5
6                              Capability Geometry
7                              Capability GeometryPointSize
8                              Capability GeometryStreams
9               1:             ExtInstImport  "GLSL.std.450"
10                              MemoryModel Logical GLSL450
11                              EntryPoint Geometry 4  "main" 10 18 29 33 47 49 51 70
12                              ExecutionMode 4 InputTrianglesAdjacency
13                              ExecutionMode 4 Invocations 1
14                              ExecutionMode 4 OutputTriangleStrip
15                              ExecutionMode 4 OutputVertices 30
16                              Source GLSL 150
17                              Name 4  "main"
18                              Name 8  "fromVertex"
19                              MemberName 8(fromVertex) 0  "color"
20                              Name 10  ""
21                              Name 13  "fromVertex"
22                              MemberName 13(fromVertex) 0  "color"
23                              Name 18  "fromV"
24                              Name 27  "gl_PerVertex"
25                              MemberName 27(gl_PerVertex) 0  "gl_Position"
26                              MemberName 27(gl_PerVertex) 1  "gl_PointSize"
27                              MemberName 27(gl_PerVertex) 2  "gl_ClipDistance"
28                              Name 29  ""
29                              Name 30  "gl_PerVertex"
30                              MemberName 30(gl_PerVertex) 0  "gl_Position"
31                              MemberName 30(gl_PerVertex) 1  "gl_PointSize"
32                              MemberName 30(gl_PerVertex) 2  "gl_ClipDistance"
33                              Name 33  "gl_in"
34                              Name 47  "gl_PrimitiveID"
35                              Name 49  "gl_PrimitiveIDIn"
36                              Name 51  "gl_Layer"
37                              Name 68  "toFragment"
38                              MemberName 68(toFragment) 0  "color"
39                              Name 70  "toF"
40                              Decorate 8(fromVertex) Block
41                              Decorate 10 Location 1
42                              Decorate 10 Stream 3
43                              Decorate 13(fromVertex) Block
44                              Decorate 18(fromV) Location 0
45                              MemberDecorate 27(gl_PerVertex) 0 BuiltIn Position
46                              MemberDecorate 27(gl_PerVertex) 1 BuiltIn PointSize
47                              MemberDecorate 27(gl_PerVertex) 2 BuiltIn ClipDistance
48                              Decorate 27(gl_PerVertex) Block
49                              Decorate 29 Stream 0
50                              MemberDecorate 30(gl_PerVertex) 0 BuiltIn Position
51                              MemberDecorate 30(gl_PerVertex) 1 BuiltIn PointSize
52                              MemberDecorate 30(gl_PerVertex) 2 BuiltIn ClipDistance
53                              Decorate 30(gl_PerVertex) Block
54                              Decorate 47(gl_PrimitiveID) Stream 0
55                              Decorate 47(gl_PrimitiveID) BuiltIn PrimitiveId
56                              Decorate 49(gl_PrimitiveIDIn) BuiltIn PrimitiveId
57                              Decorate 51(gl_Layer) Stream 0
58                              Decorate 51(gl_Layer) BuiltIn Layer
59                              Decorate 68(toFragment) Block
60                              Decorate 70(toF) Location 0
61                              Decorate 70(toF) Stream 3
62               2:             TypeVoid
63               3:             TypeFunction 2
64               6:             TypeFloat 32
65               7:             TypeVector 6(float) 3
66   8(fromVertex):             TypeStruct 7(fvec3)
67               9:             TypePointer Output 8(fromVertex)
68              10:      9(ptr) Variable Output
69              11:             TypeInt 32 1
70              12:     11(int) Constant 0
71  13(fromVertex):             TypeStruct 7(fvec3)
72              14:             TypeInt 32 0
73              15:     14(int) Constant 6
74              16:             TypeArray 13(fromVertex) 15
75              17:             TypePointer Input 16
76       18(fromV):     17(ptr) Variable Input
77              19:             TypePointer Input 7(fvec3)
78              22:             TypePointer Output 7(fvec3)
79              24:             TypeVector 6(float) 4
80              25:     14(int) Constant 1
81              26:             TypeArray 6(float) 25
8227(gl_PerVertex):             TypeStruct 24(fvec4) 6(float) 26
83              28:             TypePointer Output 27(gl_PerVertex)
84              29:     28(ptr) Variable Output
8530(gl_PerVertex):             TypeStruct 24(fvec4) 6(float) 26
86              31:             TypeArray 30(gl_PerVertex) 15
87              32:             TypePointer Input 31
88       33(gl_in):     32(ptr) Variable Input
89              34:             TypePointer Input 24(fvec4)
90              37:             TypePointer Output 24(fvec4)
91              39:     11(int) Constant 1
92              40:     11(int) Constant 3
93              41:             TypePointer Input 6(float)
94              44:             TypePointer Output 6(float)
95              46:             TypePointer Output 11(int)
9647(gl_PrimitiveID):     46(ptr) Variable Output
97              48:             TypePointer Input 11(int)
9849(gl_PrimitiveIDIn):     48(ptr) Variable Input
99    51(gl_Layer):     46(ptr) Variable Output
100              52:     11(int) Constant 2
101              53:    6(float) Constant 1073741824
102  68(toFragment):             TypeStruct 7(fvec3)
103              69:             TypePointer Output 68(toFragment)
104         70(toF):     69(ptr) Variable Output
105         4(main):           2 Function None 3
106               5:             Label
107              20:     19(ptr) AccessChain 18(fromV) 12 12
108              21:    7(fvec3) Load 20
109              23:     22(ptr) AccessChain 10 12
110                              Store 23 21
111              35:     34(ptr) AccessChain 33(gl_in) 12 12
112              36:   24(fvec4) Load 35
113              38:     37(ptr) AccessChain 29 12
114                              Store 38 36
115              42:     41(ptr) AccessChain 33(gl_in) 40 39
116              43:    6(float) Load 42
117              45:     44(ptr) AccessChain 29 39
118                              Store 45 43
119              50:     11(int) Load 49(gl_PrimitiveIDIn)
120                              Store 47(gl_PrimitiveID) 50
121                              Store 51(gl_Layer) 52
122                              EmitVertex
123              54:     19(ptr) AccessChain 18(fromV) 12 12
124              55:    7(fvec3) Load 54
125              56:    7(fvec3) VectorTimesScalar 55 53
126              57:     22(ptr) AccessChain 10 12
127                              Store 57 56
128              58:     34(ptr) AccessChain 33(gl_in) 12 12
129              59:   24(fvec4) Load 58
130              60:   24(fvec4) VectorTimesScalar 59 53
131              61:     37(ptr) AccessChain 29 12
132                              Store 61 60
133              62:     41(ptr) AccessChain 33(gl_in) 40 39
134              63:    6(float) Load 62
135              64:    6(float) FMul 53 63
136              65:     44(ptr) AccessChain 29 39
137                              Store 65 64
138              66:     11(int) Load 49(gl_PrimitiveIDIn)
139              67:     11(int) IAdd 66 39
140                              Store 47(gl_PrimitiveID) 67
141                              Store 51(gl_Layer) 40
142                              EmitVertex
143                              EndPrimitive
144                              Return
145                              FunctionEnd
146