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

@@ -3,7 +3,7 @@ Shader version: 450
gl_FragCoord origin is upper left
using depth_less
0:? Sequence
0:2 Function Definition: @PixelShaderFunction( (temp float unknown built-in variable)
0:2 Function Definition: @PixelShaderFunction( (temp float)
0:2 Function Parameters:
0:? Sequence
0:3 Branch: Return with expression
@@ -14,7 +14,7 @@ using depth_less
0:? Sequence
0:2 move second child to first child (temp float)
0:? '@entryPointOutput' (out float FragDepth)
0:2 Function Call: @PixelShaderFunction( (temp float unknown built-in variable)
0:2 Function Call: @PixelShaderFunction( (temp float)
0:? Linker Objects
0:? '@entryPointOutput' (out float FragDepth)
@@ -26,7 +26,7 @@ Shader version: 450
gl_FragCoord origin is upper left
using depth_less
0:? Sequence
0:2 Function Definition: @PixelShaderFunction( (temp float unknown built-in variable)
0:2 Function Definition: @PixelShaderFunction( (temp float)
0:2 Function Parameters:
0:? Sequence
0:3 Branch: Return with expression
@@ -37,7 +37,7 @@ using depth_less
0:? Sequence
0:2 move second child to first child (temp float)
0:? '@entryPointOutput' (out float FragDepth)
0:2 Function Call: @PixelShaderFunction( (temp float unknown built-in variable)
0:2 Function Call: @PixelShaderFunction( (temp float)
0:? Linker Objects
0:? '@entryPointOutput' (out float FragDepth)