blob: 73a5deb90fa00e6b611c5acdc88de7857a01f824 [file] [log] [blame]
LoopDawg307b6502017-07-05 11:33:06 -06001hlsl.clipdistance-9.vert
2Shader version: 500
30:? Sequence
40:7 Function Definition: @main(vf3;f1; ( temp structure{ temp 4-component vector of float Position})
50:7 Function Parameters:
60:7 'clip0' ( out 3-component vector of float)
70:7 'clip1' ( out float)
80:? Sequence
90:9 move second child to first child ( temp 4-component vector of float)
100:9 Position: direct index for structure ( temp 4-component vector of float)
110:9 'Output' ( temp structure{ temp 4-component vector of float Position})
120:9 Constant:
130:9 0 (const int)
140:9 Constant:
150:9 0.000000
160:9 0.000000
170:9 0.000000
180:9 0.000000
190:11 move second child to first child ( temp float)
200:11 direct index ( temp float)
210:11 'clip0' ( out 3-component vector of float)
220:11 Constant:
230:11 0 (const int)
240:11 Constant:
250:11 0.000000
260:12 move second child to first child ( temp float)
270:12 direct index ( temp float)
280:12 'clip0' ( out 3-component vector of float)
290:12 Constant:
300:12 1 (const int)
310:12 Constant:
320:12 1.000000
330:13 move second child to first child ( temp float)
340:13 direct index ( temp float)
350:13 'clip0' ( out 3-component vector of float)
360:13 Constant:
370:13 2 (const int)
380:13 Constant:
390:13 2.000000
400:16 move second child to first child ( temp float)
410:16 'clip1' ( out float)
420:16 Constant:
430:16 3.000000
440:18 Branch: Return with expression
450:18 'Output' ( temp structure{ temp 4-component vector of float Position})
460:7 Function Definition: main( ( temp void)
470:7 Function Parameters:
480:? Sequence
490:7 Sequence
500:7 move second child to first child ( temp 4-component vector of float)
John Kesseniche516d432017-08-09 14:29:29 -0600510:? '@entryPointOutput.Position' ( out 4-component vector of float Position)
LoopDawg307b6502017-07-05 11:33:06 -0600520:7 Position: direct index for structure ( temp 4-component vector of float)
530:7 Function Call: @main(vf3;f1; ( temp structure{ temp 4-component vector of float Position})
540:? 'clip0' ( temp 3-component vector of float)
550:? 'clip1' ( temp float)
560:7 Constant:
570:7 0 (const int)
580:? Sequence
590:7 move second child to first child ( temp float)
LoopDawgd6f4d9b2017-08-28 14:05:41 -0600600:7 direct index ( out float ClipDistance)
LoopDawg307b6502017-07-05 11:33:06 -0600610:? 'clip0' ( out 4-element array of float ClipDistance)
620:7 Constant:
630:7 0 (const int)
640:7 direct index ( temp float)
650:? 'clip0' ( temp 3-component vector of float)
660:7 Constant:
670:7 0 (const int)
680:7 move second child to first child ( temp float)
LoopDawgd6f4d9b2017-08-28 14:05:41 -0600690:7 direct index ( out float ClipDistance)
LoopDawg307b6502017-07-05 11:33:06 -0600700:? 'clip0' ( out 4-element array of float ClipDistance)
710:7 Constant:
720:7 1 (const int)
730:7 direct index ( temp float)
740:? 'clip0' ( temp 3-component vector of float)
750:7 Constant:
760:7 1 (const int)
770:7 move second child to first child ( temp float)
LoopDawgd6f4d9b2017-08-28 14:05:41 -0600780:7 direct index ( out float ClipDistance)
LoopDawg307b6502017-07-05 11:33:06 -0600790:? 'clip0' ( out 4-element array of float ClipDistance)
800:7 Constant:
810:7 2 (const int)
820:7 direct index ( temp float)
830:? 'clip0' ( temp 3-component vector of float)
840:7 Constant:
850:7 2 (const int)
860:? Sequence
870:7 move second child to first child ( temp float)
LoopDawgd6f4d9b2017-08-28 14:05:41 -0600880:7 direct index ( out float ClipDistance)
LoopDawg307b6502017-07-05 11:33:06 -0600890:? 'clip0' ( out 4-element array of float ClipDistance)
900:7 Constant:
910:7 3 (const int)
920:? 'clip1' ( temp float)
930:? Linker Objects
John Kesseniche516d432017-08-09 14:29:29 -0600940:? '@entryPointOutput.Position' ( out 4-component vector of float Position)
LoopDawg307b6502017-07-05 11:33:06 -0600950:? 'clip0' ( out 4-element array of float ClipDistance)
96
97
98Linked vertex stage:
99
100
101Shader version: 500
1020:? Sequence
1030:7 Function Definition: @main(vf3;f1; ( temp structure{ temp 4-component vector of float Position})
1040:7 Function Parameters:
1050:7 'clip0' ( out 3-component vector of float)
1060:7 'clip1' ( out float)
1070:? Sequence
1080:9 move second child to first child ( temp 4-component vector of float)
1090:9 Position: direct index for structure ( temp 4-component vector of float)
1100:9 'Output' ( temp structure{ temp 4-component vector of float Position})
1110:9 Constant:
1120:9 0 (const int)
1130:9 Constant:
1140:9 0.000000
1150:9 0.000000
1160:9 0.000000
1170:9 0.000000
1180:11 move second child to first child ( temp float)
1190:11 direct index ( temp float)
1200:11 'clip0' ( out 3-component vector of float)
1210:11 Constant:
1220:11 0 (const int)
1230:11 Constant:
1240:11 0.000000
1250:12 move second child to first child ( temp float)
1260:12 direct index ( temp float)
1270:12 'clip0' ( out 3-component vector of float)
1280:12 Constant:
1290:12 1 (const int)
1300:12 Constant:
1310:12 1.000000
1320:13 move second child to first child ( temp float)
1330:13 direct index ( temp float)
1340:13 'clip0' ( out 3-component vector of float)
1350:13 Constant:
1360:13 2 (const int)
1370:13 Constant:
1380:13 2.000000
1390:16 move second child to first child ( temp float)
1400:16 'clip1' ( out float)
1410:16 Constant:
1420:16 3.000000
1430:18 Branch: Return with expression
1440:18 'Output' ( temp structure{ temp 4-component vector of float Position})
1450:7 Function Definition: main( ( temp void)
1460:7 Function Parameters:
1470:? Sequence
1480:7 Sequence
1490:7 move second child to first child ( temp 4-component vector of float)
John Kesseniche516d432017-08-09 14:29:29 -06001500:? '@entryPointOutput.Position' ( out 4-component vector of float Position)
LoopDawg307b6502017-07-05 11:33:06 -06001510:7 Position: direct index for structure ( temp 4-component vector of float)
1520:7 Function Call: @main(vf3;f1; ( temp structure{ temp 4-component vector of float Position})
1530:? 'clip0' ( temp 3-component vector of float)
1540:? 'clip1' ( temp float)
1550:7 Constant:
1560:7 0 (const int)
1570:? Sequence
1580:7 move second child to first child ( temp float)
LoopDawgd6f4d9b2017-08-28 14:05:41 -06001590:7 direct index ( out float ClipDistance)
LoopDawg307b6502017-07-05 11:33:06 -06001600:? 'clip0' ( out 4-element array of float ClipDistance)
1610:7 Constant:
1620:7 0 (const int)
1630:7 direct index ( temp float)
1640:? 'clip0' ( temp 3-component vector of float)
1650:7 Constant:
1660:7 0 (const int)
1670:7 move second child to first child ( temp float)
LoopDawgd6f4d9b2017-08-28 14:05:41 -06001680:7 direct index ( out float ClipDistance)
LoopDawg307b6502017-07-05 11:33:06 -06001690:? 'clip0' ( out 4-element array of float ClipDistance)
1700:7 Constant:
1710:7 1 (const int)
1720:7 direct index ( temp float)
1730:? 'clip0' ( temp 3-component vector of float)
1740:7 Constant:
1750:7 1 (const int)
1760:7 move second child to first child ( temp float)
LoopDawgd6f4d9b2017-08-28 14:05:41 -06001770:7 direct index ( out float ClipDistance)
LoopDawg307b6502017-07-05 11:33:06 -06001780:? 'clip0' ( out 4-element array of float ClipDistance)
1790:7 Constant:
1800:7 2 (const int)
1810:7 direct index ( temp float)
1820:? 'clip0' ( temp 3-component vector of float)
1830:7 Constant:
1840:7 2 (const int)
1850:? Sequence
1860:7 move second child to first child ( temp float)
LoopDawgd6f4d9b2017-08-28 14:05:41 -06001870:7 direct index ( out float ClipDistance)
LoopDawg307b6502017-07-05 11:33:06 -06001880:? 'clip0' ( out 4-element array of float ClipDistance)
1890:7 Constant:
1900:7 3 (const int)
1910:? 'clip1' ( temp float)
1920:? Linker Objects
John Kesseniche516d432017-08-09 14:29:29 -06001930:? '@entryPointOutput.Position' ( out 4-component vector of float Position)
LoopDawg307b6502017-07-05 11:33:06 -06001940:? 'clip0' ( out 4-element array of float ClipDistance)
195
John Kessenich2b5ea9f2018-01-31 18:35:56 -0700196// Module Version 10000
John Kessenichc72e5932017-12-11 08:24:06 -0700197// Generated by (magic number): 80003
John Kessenichcca42a82017-08-03 18:41:48 -0600198// Id's are bound by 67
LoopDawg307b6502017-07-05 11:33:06 -0600199
200 Capability Shader
201 Capability ClipDistance
202 1: ExtInstImport "GLSL.std.450"
203 MemoryModel Logical GLSL450
John Kessenichcca42a82017-08-03 18:41:48 -0600204 EntryPoint Vertex 4 "main" 39 51
LoopDawg307b6502017-07-05 11:33:06 -0600205 Source HLSL 500
206 Name 4 "main"
207 Name 11 "VS_OUTPUT"
208 MemberName 11(VS_OUTPUT) 0 "Position"
209 Name 15 "@main(vf3;f1;"
210 Name 13 "clip0"
211 Name 14 "clip1"
212 Name 18 "Output"
John Kesseniche516d432017-08-09 14:29:29 -0600213 Name 39 "@entryPointOutput.Position"
LoopDawg307b6502017-07-05 11:33:06 -0600214 Name 40 "clip0"
215 Name 41 "clip1"
216 Name 42 "param"
217 Name 43 "param"
218 Name 51 "clip0"
John Kesseniche516d432017-08-09 14:29:29 -0600219 Decorate 39(@entryPointOutput.Position) BuiltIn Position
LoopDawg307b6502017-07-05 11:33:06 -0600220 Decorate 51(clip0) BuiltIn ClipDistance
LoopDawg307b6502017-07-05 11:33:06 -0600221 2: TypeVoid
222 3: TypeFunction 2
223 6: TypeFloat 32
224 7: TypeVector 6(float) 3
225 8: TypePointer Function 7(fvec3)
226 9: TypePointer Function 6(float)
227 10: TypeVector 6(float) 4
228 11(VS_OUTPUT): TypeStruct 10(fvec4)
229 12: TypeFunction 11(VS_OUTPUT) 8(ptr) 9(ptr)
230 17: TypePointer Function 11(VS_OUTPUT)
231 19: TypeInt 32 1
232 20: 19(int) Constant 0
233 21: 6(float) Constant 0
234 22: 10(fvec4) ConstantComposite 21 21 21 21
235 23: TypePointer Function 10(fvec4)
236 25: TypeInt 32 0
237 26: 25(int) Constant 0
238 28: 6(float) Constant 1065353216
239 29: 25(int) Constant 1
240 31: 6(float) Constant 1073741824
241 32: 25(int) Constant 2
242 34: 6(float) Constant 1077936128
243 38: TypePointer Output 10(fvec4)
John Kesseniche516d432017-08-09 14:29:29 -060024439(@entryPointOutput.Position): 38(ptr) Variable Output
LoopDawg307b6502017-07-05 11:33:06 -0600245 48: 25(int) Constant 4
246 49: TypeArray 6(float) 48
247 50: TypePointer Output 49
248 51(clip0): 50(ptr) Variable Output
249 54: TypePointer Output 6(float)
250 56: 19(int) Constant 1
251 60: 19(int) Constant 2
252 64: 19(int) Constant 3
LoopDawg307b6502017-07-05 11:33:06 -0600253 4(main): 2 Function None 3
254 5: Label
255 40(clip0): 8(ptr) Variable Function
256 41(clip1): 9(ptr) Variable Function
257 42(param): 8(ptr) Variable Function
258 43(param): 9(ptr) Variable Function
259 44:11(VS_OUTPUT) FunctionCall 15(@main(vf3;f1;) 42(param) 43(param)
260 45: 7(fvec3) Load 42(param)
261 Store 40(clip0) 45
262 46: 6(float) Load 43(param)
263 Store 41(clip1) 46
264 47: 10(fvec4) CompositeExtract 44 0
John Kesseniche516d432017-08-09 14:29:29 -0600265 Store 39(@entryPointOutput.Position) 47
LoopDawg307b6502017-07-05 11:33:06 -0600266 52: 9(ptr) AccessChain 40(clip0) 26
267 53: 6(float) Load 52
268 55: 54(ptr) AccessChain 51(clip0) 20
269 Store 55 53
270 57: 9(ptr) AccessChain 40(clip0) 29
271 58: 6(float) Load 57
272 59: 54(ptr) AccessChain 51(clip0) 56
273 Store 59 58
274 61: 9(ptr) AccessChain 40(clip0) 32
275 62: 6(float) Load 61
276 63: 54(ptr) AccessChain 51(clip0) 60
277 Store 63 62
278 65: 6(float) Load 41(clip1)
279 66: 54(ptr) AccessChain 51(clip0) 64
280 Store 66 65
281 Return
282 FunctionEnd
28315(@main(vf3;f1;):11(VS_OUTPUT) Function None 12
284 13(clip0): 8(ptr) FunctionParameter
285 14(clip1): 9(ptr) FunctionParameter
286 16: Label
287 18(Output): 17(ptr) Variable Function
288 24: 23(ptr) AccessChain 18(Output) 20
289 Store 24 22
290 27: 9(ptr) AccessChain 13(clip0) 26
291 Store 27 21
292 30: 9(ptr) AccessChain 13(clip0) 29
293 Store 30 28
294 33: 9(ptr) AccessChain 13(clip0) 32
295 Store 33 31
296 Store 14(clip1) 34
297 35:11(VS_OUTPUT) Load 18(Output)
298 ReturnValue 35
299 FunctionEnd