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:
@@ -10,13 +10,13 @@ Shader version: 450
|
||||
0:5 'Position' (layout(rgba32f ) uniform samplerBuffer)
|
||||
0:5 Convert uint to int (temp int)
|
||||
0:5 'Index' (in uint)
|
||||
0:9 Function Definition: @RealEntrypoint(u1; (temp 4-component vector of float Position)
|
||||
0:9 Function Definition: @RealEntrypoint(u1; (temp 4-component vector of float)
|
||||
0:9 Function Parameters:
|
||||
0:9 'Index' (in uint VertexIndex)
|
||||
0:9 'Index' (in uint)
|
||||
0:? Sequence
|
||||
0:10 Branch: Return with expression
|
||||
0:10 Function Call: FakeEntrypoint(u1; (temp 4-component vector of float)
|
||||
0:10 'Index' (in uint VertexIndex)
|
||||
0:10 'Index' (in uint)
|
||||
0:9 Function Definition: RealEntrypoint( (temp void)
|
||||
0:9 Function Parameters:
|
||||
0:? Sequence
|
||||
@@ -25,7 +25,7 @@ Shader version: 450
|
||||
0:? 'Index' (in uint VertexIndex)
|
||||
0:9 move second child to first child (temp 4-component vector of float)
|
||||
0:? '@entryPointOutput' (out 4-component vector of float Position)
|
||||
0:9 Function Call: @RealEntrypoint(u1; (temp 4-component vector of float Position)
|
||||
0:9 Function Call: @RealEntrypoint(u1; (temp 4-component vector of float)
|
||||
0:? 'Index' (temp uint)
|
||||
0:? Linker Objects
|
||||
0:? 'Position' (layout(rgba32f ) uniform samplerBuffer)
|
||||
@@ -47,13 +47,13 @@ Shader version: 450
|
||||
0:5 'Position' (layout(rgba32f ) uniform samplerBuffer)
|
||||
0:5 Convert uint to int (temp int)
|
||||
0:5 'Index' (in uint)
|
||||
0:9 Function Definition: @RealEntrypoint(u1; (temp 4-component vector of float Position)
|
||||
0:9 Function Definition: @RealEntrypoint(u1; (temp 4-component vector of float)
|
||||
0:9 Function Parameters:
|
||||
0:9 'Index' (in uint VertexIndex)
|
||||
0:9 'Index' (in uint)
|
||||
0:? Sequence
|
||||
0:10 Branch: Return with expression
|
||||
0:10 Function Call: FakeEntrypoint(u1; (temp 4-component vector of float)
|
||||
0:10 'Index' (in uint VertexIndex)
|
||||
0:10 'Index' (in uint)
|
||||
0:9 Function Definition: RealEntrypoint( (temp void)
|
||||
0:9 Function Parameters:
|
||||
0:? Sequence
|
||||
@@ -62,7 +62,7 @@ Shader version: 450
|
||||
0:? 'Index' (in uint VertexIndex)
|
||||
0:9 move second child to first child (temp 4-component vector of float)
|
||||
0:? '@entryPointOutput' (out 4-component vector of float Position)
|
||||
0:9 Function Call: @RealEntrypoint(u1; (temp 4-component vector of float Position)
|
||||
0:9 Function Call: @RealEntrypoint(u1; (temp 4-component vector of float)
|
||||
0:? 'Index' (temp uint)
|
||||
0:? Linker Objects
|
||||
0:? 'Position' (layout(rgba32f ) uniform samplerBuffer)
|
||||
|
||||
Reference in New Issue
Block a user