HLSL: Register all entry-point in/out as part of the interface.
This makes the interface be invariant, whether or not individual variables are used.
This commit is contained in:
@@ -13,6 +13,8 @@ gl_FragCoord origin is upper left
|
||||
0:3 'input' (layout(location=0 ) in 4-component vector of float)
|
||||
0:3 Branch: Return
|
||||
0:? Linker Objects
|
||||
0:? '@entryPointOutput' (out 4-component vector of float)
|
||||
0:? 'input' (layout(location=0 ) in 4-component vector of float)
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
@@ -32,6 +34,8 @@ gl_FragCoord origin is upper left
|
||||
0:3 'input' (layout(location=0 ) in 4-component vector of float)
|
||||
0:3 Branch: Return
|
||||
0:? Linker Objects
|
||||
0:? '@entryPointOutput' (out 4-component vector of float)
|
||||
0:? 'input' (layout(location=0 ) in 4-component vector of float)
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
|
||||
Reference in New Issue
Block a user