1hlsl.PointSize.geom
2Shader version: 500
3invocations = -1
4max_vertices = 4
5input primitive = triangles
6output primitive = line_strip
70:? Sequence
80:8  Function Definition: @main(u1[3];struct-S-f11; ( temp void)
90:8    Function Parameters:
100:8      'ps' ( in 3-element array of uint)
110:8      'OutputStream' ( out structure{ temp float ps})
120:?     Sequence
130:10      Sequence
140:10        Sequence
150:10          move second child to first child ( temp float)
160:?             'OutputStream.ps' ( out float PointSize)
170:10            ps: direct index for structure ( temp float)
180:10              's' ( temp structure{ temp float ps})
190:10              Constant:
200:10                0 (const int)
210:10        EmitVertex ( temp void)
220:8  Function Definition: main( ( temp void)
230:8    Function Parameters:
240:?     Sequence
250:8      move second child to first child ( temp 3-element array of uint)
260:?         'ps' ( temp 3-element array of uint)
270:?         'ps' ( in 3-element array of uint PointSize)
280:8      Function Call: @main(u1[3];struct-S-f11; ( temp void)
290:?         'ps' ( temp 3-element array of uint)
300:?         'OutputStream' ( temp structure{ temp float ps})
310:?   Linker Objects
320:?     'ps' ( in 3-element array of uint PointSize)
330:?     'OutputStream.ps' ( out float PointSize)
34
35
36Linked geometry stage:
37
38
39Shader version: 500
40invocations = 1
41max_vertices = 4
42input primitive = triangles
43output primitive = line_strip
440:? Sequence
450:8  Function Definition: @main(u1[3];struct-S-f11; ( temp void)
460:8    Function Parameters:
470:8      'ps' ( in 3-element array of uint)
480:8      'OutputStream' ( out structure{ temp float ps})
490:?     Sequence
500:10      Sequence
510:10        Sequence
520:10          move second child to first child ( temp float)
530:?             'OutputStream.ps' ( out float PointSize)
540:10            ps: direct index for structure ( temp float)
550:10              's' ( temp structure{ temp float ps})
560:10              Constant:
570:10                0 (const int)
580:10        EmitVertex ( temp void)
590:8  Function Definition: main( ( temp void)
600:8    Function Parameters:
610:?     Sequence
620:8      move second child to first child ( temp 3-element array of uint)
630:?         'ps' ( temp 3-element array of uint)
640:?         'ps' ( in 3-element array of uint PointSize)
650:8      Function Call: @main(u1[3];struct-S-f11; ( temp void)
660:?         'ps' ( temp 3-element array of uint)
670:?         'OutputStream' ( temp structure{ temp float ps})
680:?   Linker Objects
690:?     'ps' ( in 3-element array of uint PointSize)
700:?     'OutputStream.ps' ( out float PointSize)
71
72// Module Version 10000
73// Generated by (magic number): 80007
74// Id's are bound by 36
75
76                              Capability Geometry
77                              Capability GeometryPointSize
78               1:             ExtInstImport  "GLSL.std.450"
79                              MemoryModel Logical GLSL450
80                              EntryPoint Geometry 4  "main" 19 28
81                              ExecutionMode 4 Triangles
82                              ExecutionMode 4 Invocations 1
83                              ExecutionMode 4 OutputLineStrip
84                              ExecutionMode 4 OutputVertices 4
85                              Source HLSL 500
86                              Name 4  "main"
87                              Name 11  "S"
88                              MemberName 11(S) 0  "ps"
89                              Name 16  "@main(u1[3];struct-S-f11;"
90                              Name 14  "ps"
91                              Name 15  "OutputStream"
92                              Name 19  "OutputStream.ps"
93                              Name 20  "s"
94                              Name 26  "ps"
95                              Name 28  "ps"
96                              Name 30  "OutputStream"
97                              Name 31  "param"
98                              Name 33  "param"
99                              Decorate 19(OutputStream.ps) BuiltIn PointSize
100                              Decorate 28(ps) BuiltIn PointSize
101               2:             TypeVoid
102               3:             TypeFunction 2
103               6:             TypeInt 32 0
104               7:      6(int) Constant 3
105               8:             TypeArray 6(int) 7
106               9:             TypePointer Function 8
107              10:             TypeFloat 32
108           11(S):             TypeStruct 10(float)
109              12:             TypePointer Function 11(S)
110              13:             TypeFunction 2 9(ptr) 12(ptr)
111              18:             TypePointer Output 10(float)
11219(OutputStream.ps):     18(ptr) Variable Output
113              21:             TypeInt 32 1
114              22:     21(int) Constant 0
115              23:             TypePointer Function 10(float)
116              27:             TypePointer Input 8
117          28(ps):     27(ptr) Variable Input
118         4(main):           2 Function None 3
119               5:             Label
120          26(ps):      9(ptr) Variable Function
12130(OutputStream):     12(ptr) Variable Function
122       31(param):      9(ptr) Variable Function
123       33(param):     12(ptr) Variable Function
124              29:           8 Load 28(ps)
125                              Store 26(ps) 29
126              32:           8 Load 26(ps)
127                              Store 31(param) 32
128              34:           2 FunctionCall 16(@main(u1[3];struct-S-f11;) 31(param) 33(param)
129              35:       11(S) Load 33(param)
130                              Store 30(OutputStream) 35
131                              Return
132                              FunctionEnd
13316(@main(u1[3];struct-S-f11;):           2 Function None 13
134          14(ps):      9(ptr) FunctionParameter
13515(OutputStream):     12(ptr) FunctionParameter
136              17:             Label
137           20(s):     12(ptr) Variable Function
138              24:     23(ptr) AccessChain 20(s) 22
139              25:   10(float) Load 24
140                              Store 19(OutputStream.ps) 25
141                              EmitVertex
142                              Return
143                              FunctionEnd
144