1hlsl.clipdistance-3.vert
2Shader version: 500
30:? Sequence
40:4  Function Definition: @main(vf4;f1[2];f1[2]; ( temp void)
50:4    Function Parameters:
60:4      'pos' ( out 4-component vector of float)
70:4      'clip' ( out 2-element array of float)
80:4      'cull' ( out 2-element array of float)
90:?     Sequence
100:5      move second child to first child ( temp 4-component vector of float)
110:5        'pos' ( out 4-component vector of float)
120:5        Constant:
130:5          1.000000
140:5          1.000000
150:5          1.000000
160:5          1.000000
170:6      move second child to first child ( temp float)
180:6        direct index ( temp float)
190:6          'clip' ( out 2-element array of float)
200:6          Constant:
210:6            0 (const int)
220:6        Constant:
230:6          0.500000
240:7      move second child to first child ( temp float)
250:7        direct index ( temp float)
260:7          'clip' ( out 2-element array of float)
270:7          Constant:
280:7            1 (const int)
290:7        Constant:
300:7          0.600000
310:9      move second child to first child ( temp float)
320:9        direct index ( temp float)
330:9          'cull' ( out 2-element array of float)
340:9          Constant:
350:9            0 (const int)
360:9        Constant:
370:9          0.525000
380:10      move second child to first child ( temp float)
390:10        direct index ( temp float)
400:10          'cull' ( out 2-element array of float)
410:10          Constant:
420:10            1 (const int)
430:10        Constant:
440:10          0.625000
450:4  Function Definition: main( ( temp void)
460:4    Function Parameters:
470:?     Sequence
480:4      Function Call: @main(vf4;f1[2];f1[2]; ( temp void)
490:?         'pos' ( temp 4-component vector of float)
500:?         'clip' ( temp 2-element array of float)
510:?         'cull' ( temp 2-element array of float)
520:4      move second child to first child ( temp 4-component vector of float)
530:?         'pos' ( out 4-component vector of float Position)
540:?         'pos' ( temp 4-component vector of float)
550:?       Sequence
560:4        move second child to first child ( temp 2-element array of float)
570:?           'clip' ( out 2-element array of float ClipDistance)
580:?           'clip' ( temp 2-element array of float)
590:?       Sequence
600:4        move second child to first child ( temp 2-element array of float)
610:?           'cull' ( out 2-element array of float CullDistance)
620:?           'cull' ( temp 2-element array of float)
630:?   Linker Objects
640:?     'pos' ( out 4-component vector of float Position)
650:?     'clip' ( out 2-element array of float ClipDistance)
660:?     'cull' ( out 2-element array of float CullDistance)
67
68
69Linked vertex stage:
70
71
72Shader version: 500
730:? Sequence
740:4  Function Definition: @main(vf4;f1[2];f1[2]; ( temp void)
750:4    Function Parameters:
760:4      'pos' ( out 4-component vector of float)
770:4      'clip' ( out 2-element array of float)
780:4      'cull' ( out 2-element array of float)
790:?     Sequence
800:5      move second child to first child ( temp 4-component vector of float)
810:5        'pos' ( out 4-component vector of float)
820:5        Constant:
830:5          1.000000
840:5          1.000000
850:5          1.000000
860:5          1.000000
870:6      move second child to first child ( temp float)
880:6        direct index ( temp float)
890:6          'clip' ( out 2-element array of float)
900:6          Constant:
910:6            0 (const int)
920:6        Constant:
930:6          0.500000
940:7      move second child to first child ( temp float)
950:7        direct index ( temp float)
960:7          'clip' ( out 2-element array of float)
970:7          Constant:
980:7            1 (const int)
990:7        Constant:
1000:7          0.600000
1010:9      move second child to first child ( temp float)
1020:9        direct index ( temp float)
1030:9          'cull' ( out 2-element array of float)
1040:9          Constant:
1050:9            0 (const int)
1060:9        Constant:
1070:9          0.525000
1080:10      move second child to first child ( temp float)
1090:10        direct index ( temp float)
1100:10          'cull' ( out 2-element array of float)
1110:10          Constant:
1120:10            1 (const int)
1130:10        Constant:
1140:10          0.625000
1150:4  Function Definition: main( ( temp void)
1160:4    Function Parameters:
1170:?     Sequence
1180:4      Function Call: @main(vf4;f1[2];f1[2]; ( temp void)
1190:?         'pos' ( temp 4-component vector of float)
1200:?         'clip' ( temp 2-element array of float)
1210:?         'cull' ( temp 2-element array of float)
1220:4      move second child to first child ( temp 4-component vector of float)
1230:?         'pos' ( out 4-component vector of float Position)
1240:?         'pos' ( temp 4-component vector of float)
1250:?       Sequence
1260:4        move second child to first child ( temp 2-element array of float)
1270:?           'clip' ( out 2-element array of float ClipDistance)
1280:?           'clip' ( temp 2-element array of float)
1290:?       Sequence
1300:4        move second child to first child ( temp 2-element array of float)
1310:?           'cull' ( out 2-element array of float CullDistance)
1320:?           'cull' ( temp 2-element array of float)
1330:?   Linker Objects
1340:?     'pos' ( out 4-component vector of float Position)
1350:?     'clip' ( out 2-element array of float ClipDistance)
1360:?     'cull' ( out 2-element array of float CullDistance)
137
138// Module Version 10000
139// Generated by (magic number): 80007
140// Id's are bound by 51
141
142                              Capability Shader
143                              Capability ClipDistance
144                              Capability CullDistance
145               1:             ExtInstImport  "GLSL.std.450"
146                              MemoryModel Logical GLSL450
147                              EntryPoint Vertex 4  "main" 44 47 49
148                              Source HLSL 500
149                              Name 4  "main"
150                              Name 17  "@main(vf4;f1[2];f1[2];"
151                              Name 14  "pos"
152                              Name 15  "clip"
153                              Name 16  "cull"
154                              Name 33  "pos"
155                              Name 34  "clip"
156                              Name 35  "cull"
157                              Name 36  "param"
158                              Name 37  "param"
159                              Name 38  "param"
160                              Name 44  "pos"
161                              Name 47  "clip"
162                              Name 49  "cull"
163                              Decorate 44(pos) BuiltIn Position
164                              Decorate 47(clip) BuiltIn ClipDistance
165                              Decorate 49(cull) BuiltIn CullDistance
166               2:             TypeVoid
167               3:             TypeFunction 2
168               6:             TypeFloat 32
169               7:             TypeVector 6(float) 4
170               8:             TypePointer Function 7(fvec4)
171               9:             TypeInt 32 0
172              10:      9(int) Constant 2
173              11:             TypeArray 6(float) 10
174              12:             TypePointer Function 11
175              13:             TypeFunction 2 8(ptr) 12(ptr) 12(ptr)
176              19:    6(float) Constant 1065353216
177              20:    7(fvec4) ConstantComposite 19 19 19 19
178              21:             TypeInt 32 1
179              22:     21(int) Constant 0
180              23:    6(float) Constant 1056964608
181              24:             TypePointer Function 6(float)
182              26:     21(int) Constant 1
183              27:    6(float) Constant 1058642330
184              29:    6(float) Constant 1057384038
185              31:    6(float) Constant 1059061760
186              43:             TypePointer Output 7(fvec4)
187         44(pos):     43(ptr) Variable Output
188              46:             TypePointer Output 11
189        47(clip):     46(ptr) Variable Output
190        49(cull):     46(ptr) Variable Output
191         4(main):           2 Function None 3
192               5:             Label
193         33(pos):      8(ptr) Variable Function
194        34(clip):     12(ptr) Variable Function
195        35(cull):     12(ptr) Variable Function
196       36(param):      8(ptr) Variable Function
197       37(param):     12(ptr) Variable Function
198       38(param):     12(ptr) Variable Function
199              39:           2 FunctionCall 17(@main(vf4;f1[2];f1[2];) 36(param) 37(param) 38(param)
200              40:    7(fvec4) Load 36(param)
201                              Store 33(pos) 40
202              41:          11 Load 37(param)
203                              Store 34(clip) 41
204              42:          11 Load 38(param)
205                              Store 35(cull) 42
206              45:    7(fvec4) Load 33(pos)
207                              Store 44(pos) 45
208              48:          11 Load 34(clip)
209                              Store 47(clip) 48
210              50:          11 Load 35(cull)
211                              Store 49(cull) 50
212                              Return
213                              FunctionEnd
21417(@main(vf4;f1[2];f1[2];):           2 Function None 13
215         14(pos):      8(ptr) FunctionParameter
216        15(clip):     12(ptr) FunctionParameter
217        16(cull):     12(ptr) FunctionParameter
218              18:             Label
219                              Store 14(pos) 20
220              25:     24(ptr) AccessChain 15(clip) 22
221                              Store 25 23
222              28:     24(ptr) AccessChain 15(clip) 26
223                              Store 28 27
224              30:     24(ptr) AccessChain 16(cull) 22
225                              Store 30 29
226              32:     24(ptr) AccessChain 16(cull) 26
227                              Store 32 31
228                              Return
229                              FunctionEnd
230