HLSL: Make the entry-point shadow function have non-IO params and return.

This also removes an no longer needed makeTemporary() and rationalizes
makeTypeNonIo()'s interface.
This commit is contained in:
John Kessenich
2017-02-01 18:09:17 -07:00
parent 5d3023af03
commit abd8dca86d
24 changed files with 1146 additions and 1346 deletions

View File

@@ -4,12 +4,12 @@ local_size = (1, 1, 1)
0:? Sequence
0:4 Function Definition: @main(i1;i1; (temp void)
0:4 Function Parameters:
0:4 'dti' (in int GlobalInvocationID)
0:4 'gti' (in int LocalInvocationID)
0:4 'dti' (in int)
0:4 'gti' (in int)
0:? Sequence
0:5 subtract (temp int)
0:5 'dti' (in int GlobalInvocationID)
0:5 'gti' (in int LocalInvocationID)
0:5 'dti' (in int)
0:5 'gti' (in int)
0:4 Function Definition: main( (temp void)
0:4 Function Parameters:
0:? Sequence
@@ -36,12 +36,12 @@ local_size = (1, 1, 1)
0:? Sequence
0:4 Function Definition: @main(i1;i1; (temp void)
0:4 Function Parameters:
0:4 'dti' (in int GlobalInvocationID)
0:4 'gti' (in int LocalInvocationID)
0:4 'dti' (in int)
0:4 'gti' (in int)
0:? Sequence
0:5 subtract (temp int)
0:5 'dti' (in int GlobalInvocationID)
0:5 'gti' (in int LocalInvocationID)
0:5 'dti' (in int)
0:5 'gti' (in int)
0:4 Function Definition: main( (temp void)
0:4 Function Parameters:
0:? Sequence