blob: d1d1370a9f4ff9a5dae7a7372402307e4b915c9d [file] [log] [blame]
LoopDawgc44b95f2017-06-22 12:08:00 -06001hlsl.clipdistance-1.vert
2Shader version: 500
30:? Sequence
40:4 Function Definition: @main(vf4;f1;f1; ( temp void)
50:4 Function Parameters:
60:4 'pos' ( out 4-component vector of float)
70:4 'clip' ( out float)
80:4 'cull' ( out 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 'clip' ( out float)
190:6 Constant:
200:6 0.500000
210:7 move second child to first child ( temp float)
220:7 'cull' ( out float)
230:7 Constant:
240:7 0.510000
250:4 Function Definition: main( ( temp void)
260:4 Function Parameters:
270:? Sequence
280:4 Function Call: @main(vf4;f1;f1; ( temp void)
290:? 'pos' ( temp 4-component vector of float)
300:? 'clip' ( temp float)
310:? 'cull' ( temp float)
320:4 move second child to first child ( temp 4-component vector of float)
330:? 'pos' ( out 4-component vector of float Position)
340:? 'pos' ( temp 4-component vector of float)
350:? Sequence
360:4 move second child to first child ( temp float)
LoopDawgd6f4d9b2017-08-28 14:05:41 -0600370:4 direct index ( out float ClipDistance)
LoopDawgc44b95f2017-06-22 12:08:00 -0600380:? 'clip' ( out 1-element array of float ClipDistance)
390:4 Constant:
400:4 0 (const int)
410:? 'clip' ( temp float)
420:? Sequence
430:4 move second child to first child ( temp float)
LoopDawgd6f4d9b2017-08-28 14:05:41 -0600440:4 direct index ( out float CullDistance)
LoopDawgc44b95f2017-06-22 12:08:00 -0600450:? 'cull' ( out 1-element array of float CullDistance)
460:4 Constant:
470:4 0 (const int)
480:? 'cull' ( temp float)
490:? Linker Objects
500:? 'pos' ( out 4-component vector of float Position)
510:? 'clip' ( out 1-element array of float ClipDistance)
520:? 'cull' ( out 1-element array of float CullDistance)
53
54
55Linked vertex stage:
56
57
58Shader version: 500
590:? Sequence
600:4 Function Definition: @main(vf4;f1;f1; ( temp void)
610:4 Function Parameters:
620:4 'pos' ( out 4-component vector of float)
630:4 'clip' ( out float)
640:4 'cull' ( out float)
650:? Sequence
660:5 move second child to first child ( temp 4-component vector of float)
670:5 'pos' ( out 4-component vector of float)
680:5 Constant:
690:5 1.000000
700:5 1.000000
710:5 1.000000
720:5 1.000000
730:6 move second child to first child ( temp float)
740:6 'clip' ( out float)
750:6 Constant:
760:6 0.500000
770:7 move second child to first child ( temp float)
780:7 'cull' ( out float)
790:7 Constant:
800:7 0.510000
810:4 Function Definition: main( ( temp void)
820:4 Function Parameters:
830:? Sequence
840:4 Function Call: @main(vf4;f1;f1; ( temp void)
850:? 'pos' ( temp 4-component vector of float)
860:? 'clip' ( temp float)
870:? 'cull' ( temp float)
880:4 move second child to first child ( temp 4-component vector of float)
890:? 'pos' ( out 4-component vector of float Position)
900:? 'pos' ( temp 4-component vector of float)
910:? Sequence
920:4 move second child to first child ( temp float)
LoopDawgd6f4d9b2017-08-28 14:05:41 -0600930:4 direct index ( out float ClipDistance)
LoopDawgc44b95f2017-06-22 12:08:00 -0600940:? 'clip' ( out 1-element array of float ClipDistance)
950:4 Constant:
960:4 0 (const int)
970:? 'clip' ( temp float)
980:? Sequence
990:4 move second child to first child ( temp float)
LoopDawgd6f4d9b2017-08-28 14:05:41 -06001000:4 direct index ( out float CullDistance)
LoopDawgc44b95f2017-06-22 12:08:00 -06001010:? 'cull' ( out 1-element array of float CullDistance)
1020:4 Constant:
1030:4 0 (const int)
1040:? 'cull' ( temp float)
1050:? Linker Objects
1060:? 'pos' ( out 4-component vector of float Position)
1070:? 'clip' ( out 1-element array of float ClipDistance)
1080:? 'cull' ( out 1-element array of float CullDistance)
109
John Kessenich2b5ea9f2018-01-31 18:35:56 -0700110// Module Version 10000
John Kessenichd6c97552018-06-04 15:33:31 -0600111// Generated by (magic number): 80007
LoopDawgc44b95f2017-06-22 12:08:00 -0600112// Id's are bound by 46
113
114 Capability Shader
115 Capability ClipDistance
116 Capability CullDistance
117 1: ExtInstImport "GLSL.std.450"
118 MemoryModel Logical GLSL450
119 EntryPoint Vertex 4 "main" 31 37 43
120 Source HLSL 500
121 Name 4 "main"
122 Name 14 "@main(vf4;f1;f1;"
123 Name 11 "pos"
124 Name 12 "clip"
125 Name 13 "cull"
126 Name 20 "pos"
127 Name 21 "clip"
128 Name 22 "cull"
129 Name 23 "param"
130 Name 24 "param"
131 Name 25 "param"
132 Name 31 "pos"
133 Name 37 "clip"
134 Name 43 "cull"
135 Decorate 31(pos) BuiltIn Position
136 Decorate 37(clip) BuiltIn ClipDistance
137 Decorate 43(cull) BuiltIn CullDistance
138 2: TypeVoid
139 3: TypeFunction 2
140 6: TypeFloat 32
141 7: TypeVector 6(float) 4
142 8: TypePointer Function 7(fvec4)
143 9: TypePointer Function 6(float)
144 10: TypeFunction 2 8(ptr) 9(ptr) 9(ptr)
145 16: 6(float) Constant 1065353216
146 17: 7(fvec4) ConstantComposite 16 16 16 16
147 18: 6(float) Constant 1056964608
148 19: 6(float) Constant 1057132380
149 30: TypePointer Output 7(fvec4)
150 31(pos): 30(ptr) Variable Output
151 33: TypeInt 32 0
152 34: 33(int) Constant 1
153 35: TypeArray 6(float) 34
154 36: TypePointer Output 35
155 37(clip): 36(ptr) Variable Output
156 38: TypeInt 32 1
157 39: 38(int) Constant 0
158 41: TypePointer Output 6(float)
159 43(cull): 36(ptr) Variable Output
160 4(main): 2 Function None 3
161 5: Label
162 20(pos): 8(ptr) Variable Function
163 21(clip): 9(ptr) Variable Function
164 22(cull): 9(ptr) Variable Function
165 23(param): 8(ptr) Variable Function
166 24(param): 9(ptr) Variable Function
167 25(param): 9(ptr) Variable Function
168 26: 2 FunctionCall 14(@main(vf4;f1;f1;) 23(param) 24(param) 25(param)
169 27: 7(fvec4) Load 23(param)
170 Store 20(pos) 27
171 28: 6(float) Load 24(param)
172 Store 21(clip) 28
173 29: 6(float) Load 25(param)
174 Store 22(cull) 29
175 32: 7(fvec4) Load 20(pos)
176 Store 31(pos) 32
177 40: 6(float) Load 21(clip)
178 42: 41(ptr) AccessChain 37(clip) 39
179 Store 42 40
180 44: 6(float) Load 22(cull)
181 45: 41(ptr) AccessChain 43(cull) 39
182 Store 45 44
183 Return
184 FunctionEnd
18514(@main(vf4;f1;f1;): 2 Function None 10
186 11(pos): 8(ptr) FunctionParameter
187 12(clip): 9(ptr) FunctionParameter
188 13(cull): 9(ptr) FunctionParameter
189 15: Label
190 Store 11(pos) 17
191 Store 12(clip) 18
192 Store 13(cull) 19
193 Return
194 FunctionEnd