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

@@ -5,10 +5,10 @@ using depth_greater
0:? Sequence
0:2 Function Definition: @PixelShaderFunction(f1; (temp void)
0:2 Function Parameters:
0:2 'depth' (out float unknown built-in variable)
0:2 'depth' (out float)
0:? Sequence
0:3 move second child to first child (temp float)
0:3 'depth' (out float unknown built-in variable)
0:3 'depth' (out float)
0:3 Constant:
0:3 0.200000
0:2 Function Definition: PixelShaderFunction( (temp void)
@@ -32,10 +32,10 @@ using depth_greater
0:? Sequence
0:2 Function Definition: @PixelShaderFunction(f1; (temp void)
0:2 Function Parameters:
0:2 'depth' (out float unknown built-in variable)
0:2 'depth' (out float)
0:? Sequence
0:3 move second child to first child (temp float)
0:3 'depth' (out float unknown built-in variable)
0:3 'depth' (out float)
0:3 Constant:
0:3 0.200000
0:2 Function Definition: PixelShaderFunction( (temp void)