glslang/Test/ps_uint_int.frag
jimihem 52f68dc6b2
Add more location aliasing checks
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.
2024-07-17 18:23:38 -04:00

8 lines
135 B
GLSL

#version 450
layout(location=0, component=0) flat in uint u;
layout(location=0, component=1) flat in int i;
void main() {
}