When location aliasing, the aliases sharing the location must have the same underlying numerical type and bit width (floating-point or integer, 32-bit versus 64-bit, etc.) and the same auxiliary storage and interpolation qualification. This adds checks for the "patch" and "sample" qualifiers, and also relaxes the checks when the signedness of integer types differs.
21 lines
539 B
Text
21 lines
539 B
Text
ps_uint_int.frag
|
|
Shader version: 450
|
|
0:? Sequence
|
|
0:6 Function Definition: main( ( global void)
|
|
0:6 Function Parameters:
|
|
0:? Linker Objects
|
|
0:? 'u' (layout( location=0 component=0) flat in uint)
|
|
0:? 'i' (layout( location=0 component=1) flat in int)
|
|
|
|
|
|
Linked fragment stage:
|
|
|
|
|
|
Shader version: 450
|
|
0:? Sequence
|
|
0:6 Function Definition: main( ( global void)
|
|
0:6 Function Parameters:
|
|
0:? Linker Objects
|
|
0:? 'u' (layout( location=0 component=0) flat in uint)
|
|
0:? 'i' (layout( location=0 component=1) flat in int)
|
|
|