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:
@@ -27,6 +27,11 @@ gl_FragCoord origin is upper left
|
||||
0:11 'out1' (layout(location=1 ) out 4-component vector of float)
|
||||
0:11 Branch: Return
|
||||
0:? Linker Objects
|
||||
0:? '@entryPointOutput' (out 4-component vector of float)
|
||||
0:? 'input' (layout(location=0 ) in 4-component vector of float)
|
||||
0:? 'out1' (layout(location=1 ) out 4-component vector of float)
|
||||
0:? 'v' (layout(location=2 ) out 2-component vector of float)
|
||||
0:? 'i' (layout(location=3 ) out 2-component vector of int)
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
@@ -60,6 +65,11 @@ gl_FragCoord origin is upper left
|
||||
0:11 'out1' (layout(location=1 ) out 4-component vector of float)
|
||||
0:11 Branch: Return
|
||||
0:? Linker Objects
|
||||
0:? '@entryPointOutput' (out 4-component vector of float)
|
||||
0:? 'input' (layout(location=0 ) in 4-component vector of float)
|
||||
0:? 'out1' (layout(location=1 ) out 4-component vector of float)
|
||||
0:? 'v' (layout(location=2 ) out 2-component vector of float)
|
||||
0:? 'i' (layout(location=3 ) out 2-component vector of int)
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
|
||||
Reference in New Issue
Block a user