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:
@@ -36,6 +36,9 @@ gl_FragCoord origin is upper left
|
||||
0:3 Constant:
|
||||
0:3 1.000000
|
||||
0:? Linker Objects
|
||||
0:? 'n_dot_l' (layout(location=0 ) in float)
|
||||
0:? 'n_dot_h' (layout(location=1 ) in float)
|
||||
0:? 'm' (layout(location=2 ) in float)
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
@@ -78,6 +81,9 @@ gl_FragCoord origin is upper left
|
||||
0:3 Constant:
|
||||
0:3 1.000000
|
||||
0:? Linker Objects
|
||||
0:? 'n_dot_l' (layout(location=0 ) in float)
|
||||
0:? 'n_dot_h' (layout(location=1 ) in float)
|
||||
0:? 'm' (layout(location=2 ) in float)
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
|
||||
Reference in New Issue
Block a user