mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-08 19:40:06 +00:00
52f68dc6b2
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.
8 lines
135 B
GLSL
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() {
|
|
}
|