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:
@@ -243,6 +243,7 @@ gl_FragCoord origin is upper left
|
||||
0:? 'g_tTexcdf4' (uniform textureCube)
|
||||
0:? 'g_tTexcdi4' (uniform itextureCube)
|
||||
0:? 'g_tTexcdu4' (uniform utextureCube)
|
||||
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
@@ -492,6 +493,7 @@ gl_FragCoord origin is upper left
|
||||
0:? 'g_tTexcdf4' (uniform textureCube)
|
||||
0:? 'g_tTexcdi4' (uniform itextureCube)
|
||||
0:? 'g_tTexcdu4' (uniform utextureCube)
|
||||
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
|
||||
Reference in New Issue
Block a user