• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.150.geom
2// Module Version 10000
3// Generated by (magic number): 80007
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 Stream 3
42                              Decorate 13(fromVertex) Block
43                              MemberDecorate 27(gl_PerVertex) 0 BuiltIn Position
44                              MemberDecorate 27(gl_PerVertex) 1 BuiltIn PointSize
45                              MemberDecorate 27(gl_PerVertex) 2 BuiltIn ClipDistance
46                              Decorate 27(gl_PerVertex) Block
47                              Decorate 29 Stream 0
48                              MemberDecorate 30(gl_PerVertex) 0 BuiltIn Position
49                              MemberDecorate 30(gl_PerVertex) 1 BuiltIn PointSize
50                              MemberDecorate 30(gl_PerVertex) 2 BuiltIn ClipDistance
51                              Decorate 30(gl_PerVertex) Block
52                              Decorate 47(gl_PrimitiveID) Stream 0
53                              Decorate 47(gl_PrimitiveID) BuiltIn PrimitiveId
54                              Decorate 49(gl_PrimitiveIDIn) BuiltIn PrimitiveId
55                              Decorate 51(gl_Layer) Stream 0
56                              Decorate 51(gl_Layer) BuiltIn Layer
57                              Decorate 68(toFragment) Block
58                              Decorate 70(toF) Stream 3
59               2:             TypeVoid
60               3:             TypeFunction 2
61               6:             TypeFloat 32
62               7:             TypeVector 6(float) 3
63   8(fromVertex):             TypeStruct 7(fvec3)
64               9:             TypePointer Output 8(fromVertex)
65              10:      9(ptr) Variable Output
66              11:             TypeInt 32 1
67              12:     11(int) Constant 0
68  13(fromVertex):             TypeStruct 7(fvec3)
69              14:             TypeInt 32 0
70              15:     14(int) Constant 6
71              16:             TypeArray 13(fromVertex) 15
72              17:             TypePointer Input 16
73       18(fromV):     17(ptr) Variable Input
74              19:             TypePointer Input 7(fvec3)
75              22:             TypePointer Output 7(fvec3)
76              24:             TypeVector 6(float) 4
77              25:     14(int) Constant 1
78              26:             TypeArray 6(float) 25
7927(gl_PerVertex):             TypeStruct 24(fvec4) 6(float) 26
80              28:             TypePointer Output 27(gl_PerVertex)
81              29:     28(ptr) Variable Output
8230(gl_PerVertex):             TypeStruct 24(fvec4) 6(float) 26
83              31:             TypeArray 30(gl_PerVertex) 15
84              32:             TypePointer Input 31
85       33(gl_in):     32(ptr) Variable Input
86              34:             TypePointer Input 24(fvec4)
87              37:             TypePointer Output 24(fvec4)
88              39:     11(int) Constant 1
89              40:     11(int) Constant 3
90              41:             TypePointer Input 6(float)
91              44:             TypePointer Output 6(float)
92              46:             TypePointer Output 11(int)
9347(gl_PrimitiveID):     46(ptr) Variable Output
94              48:             TypePointer Input 11(int)
9549(gl_PrimitiveIDIn):     48(ptr) Variable Input
96    51(gl_Layer):     46(ptr) Variable Output
97              52:     11(int) Constant 2
98              53:    6(float) Constant 1073741824
99  68(toFragment):             TypeStruct 7(fvec3)
100              69:             TypePointer Output 68(toFragment)
101         70(toF):     69(ptr) Variable Output
102         4(main):           2 Function None 3
103               5:             Label
104              20:     19(ptr) AccessChain 18(fromV) 12 12
105              21:    7(fvec3) Load 20
106              23:     22(ptr) AccessChain 10 12
107                              Store 23 21
108              35:     34(ptr) AccessChain 33(gl_in) 12 12
109              36:   24(fvec4) Load 35
110              38:     37(ptr) AccessChain 29 12
111                              Store 38 36
112              42:     41(ptr) AccessChain 33(gl_in) 40 39
113              43:    6(float) Load 42
114              45:     44(ptr) AccessChain 29 39
115                              Store 45 43
116              50:     11(int) Load 49(gl_PrimitiveIDIn)
117                              Store 47(gl_PrimitiveID) 50
118                              Store 51(gl_Layer) 52
119                              EmitVertex
120              54:     19(ptr) AccessChain 18(fromV) 12 12
121              55:    7(fvec3) Load 54
122              56:    7(fvec3) VectorTimesScalar 55 53
123              57:     22(ptr) AccessChain 10 12
124                              Store 57 56
125              58:     34(ptr) AccessChain 33(gl_in) 12 12
126              59:   24(fvec4) Load 58
127              60:   24(fvec4) VectorTimesScalar 59 53
128              61:     37(ptr) AccessChain 29 12
129                              Store 61 60
130              62:     41(ptr) AccessChain 33(gl_in) 40 39
131              63:    6(float) Load 62
132              64:    6(float) FMul 53 63
133              65:     44(ptr) AccessChain 29 39
134                              Store 65 64
135              66:     11(int) Load 49(gl_PrimitiveIDIn)
136              67:     11(int) IAdd 66 39
137                              Store 47(gl_PrimitiveID) 67
138                              Store 51(gl_Layer) 40
139                              EmitVertex
140                              EndPrimitive
141                              Return
142                              FunctionEnd
143