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:
John Kessenich 2016-09-12 11:55:47 -06:00
parent b3e24e4359
commit deb4940c17
98 changed files with 448 additions and 19 deletions

View file

@ -29,6 +29,11 @@ gl_FragCoord origin is upper left
0:8 'a4' (layout(location=3 ) in int)
0:8 Branch: Return
0:? Linker Objects
0:? '@entryPointOutput' (out int)
0:? 'a1' (layout(location=0 ) in int)
0:? 'a2' (layout(location=1 ) in int)
0:? 'a3' (layout(location=2 ) in int)
0:? 'a4' (layout(location=3 ) in int)
Linked fragment stage:
@ -64,6 +69,11 @@ gl_FragCoord origin is upper left
0:8 'a4' (layout(location=3 ) in int)
0:8 Branch: Return
0:? Linker Objects
0:? '@entryPointOutput' (out int)
0:? 'a1' (layout(location=0 ) in int)
0:? 'a2' (layout(location=1 ) in int)
0:? 'a3' (layout(location=2 ) in int)
0:? 'a4' (layout(location=3 ) in int)
// Module Version 10000
// Generated by (magic number): 80001