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:
@@ -33,6 +33,12 @@ gl_FragCoord origin is upper left
|
||||
0:10 'a5' (layout(location=4 ) in 4-component vector of float)
|
||||
0:10 Branch: Return
|
||||
0:? Linker Objects
|
||||
0:? '@entryPointOutput' (out 4-component vector of float)
|
||||
0:? 'a1' (layout(location=0 ) in 4-component vector of float)
|
||||
0:? 'a2' (layout(location=1 ) in 4-component vector of float)
|
||||
0:? 'a3' (layout(location=2 ) in 4-component vector of float)
|
||||
0:? 'a4' (layout(location=3 ) in 4-component vector of float)
|
||||
0:? 'a5' (layout(location=4 ) in 4-component vector of float)
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
@@ -72,6 +78,12 @@ gl_FragCoord origin is upper left
|
||||
0:10 'a5' (layout(location=4 ) in 4-component vector of float)
|
||||
0:10 Branch: Return
|
||||
0:? Linker Objects
|
||||
0:? '@entryPointOutput' (out 4-component vector of float)
|
||||
0:? 'a1' (layout(location=0 ) in 4-component vector of float)
|
||||
0:? 'a2' (layout(location=1 ) in 4-component vector of float)
|
||||
0:? 'a3' (layout(location=2 ) in 4-component vector of float)
|
||||
0:? 'a4' (layout(location=3 ) in 4-component vector of float)
|
||||
0:? 'a5' (layout(location=4 ) in 4-component vector of float)
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
|
||||
Reference in New Issue
Block a user