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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user