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
72Validation failed
73// Module Version 10000
74// Generated by (magic number): 8000a
75// Id's are bound by 36
76
77                              Capability Geometry
78                              Capability GeometryPointSize
79               1:             ExtInstImport  "GLSL.std.450"
80                              MemoryModel Logical GLSL450
81                              EntryPoint Geometry 4  "main" 19 28
82                              ExecutionMode 4 Triangles
83                              ExecutionMode 4 Invocations 1
84                              ExecutionMode 4 OutputLineStrip
85                              ExecutionMode 4 OutputVertices 4
86                              Source HLSL 500
87                              Name 4  "main"
88                              Name 11  "S"
89                              MemberName 11(S) 0  "ps"
90                              Name 16  "@main(u1[3];struct-S-f11;"
91                              Name 14  "ps"
92                              Name 15  "OutputStream"
93                              Name 19  "OutputStream.ps"
94                              Name 20  "s"
95                              Name 26  "ps"
96                              Name 28  "ps"
97                              Name 30  "OutputStream"
98                              Name 31  "param"
99                              Name 33  "param"
100                              Decorate 19(OutputStream.ps) BuiltIn PointSize
101                              Decorate 28(ps) BuiltIn PointSize
102               2:             TypeVoid
103               3:             TypeFunction 2
104               6:             TypeInt 32 0
105               7:      6(int) Constant 3
106               8:             TypeArray 6(int) 7
107               9:             TypePointer Function 8
108              10:             TypeFloat 32
109           11(S):             TypeStruct 10(float)
110              12:             TypePointer Function 11(S)
111              13:             TypeFunction 2 9(ptr) 12(ptr)
112              18:             TypePointer Output 10(float)
11319(OutputStream.ps):     18(ptr) Variable Output
114              21:             TypeInt 32 1
115              22:     21(int) Constant 0
116              23:             TypePointer Function 10(float)
117              27:             TypePointer Input 8
118          28(ps):     27(ptr) Variable Input
119         4(main):           2 Function None 3
120               5:             Label
121          26(ps):      9(ptr) Variable Function
12230(OutputStream):     12(ptr) Variable Function
123       31(param):      9(ptr) Variable Function
124       33(param):     12(ptr) Variable Function
125              29:           8 Load 28(ps)
126                              Store 26(ps) 29
127              32:           8 Load 26(ps)
128                              Store 31(param) 32
129              34:           2 FunctionCall 16(@main(u1[3];struct-S-f11;) 31(param) 33(param)
130              35:       11(S) Load 33(param)
131                              Store 30(OutputStream) 35
132                              Return
133                              FunctionEnd
13416(@main(u1[3];struct-S-f11;):           2 Function None 13
135          14(ps):      9(ptr) FunctionParameter
13615(OutputStream):     12(ptr) FunctionParameter
137              17:             Label
138           20(s):     12(ptr) Variable Function
139              24:     23(ptr) AccessChain 20(s) 22
140              25:   10(float) Load 24
141                              Store 19(OutputStream.ps) 25
142                              EmitVertex
143                              Return
144                              FunctionEnd
145