diff options
author | Gregory Hainaut <[email protected]> | 2015-10-25 15:01:36 +0100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2015-11-20 22:04:02 +1100 |
commit | 9108a785a0fc6bb47ca577d2e2bdcf3728fead43 (patch) | |
tree | f359400ad04d22286d6d3d10ad64196b9eff47a4 /src/mesa/main/errors.c | |
parent | 3afb253e9ba5ea44cf7be34cc2c3e0e358d169d0 (diff) |
glsl: avoid linker and user varying location to overlap
Current behavior on the interface matching:
layout (location = 0) out0; // Assigned to VARYING_SLOT_VAR0 by user
out1; // Assigned to VARYING_SLOT_VAR0 by the linker
New behavior on the interface matching:
layout (location = 0) out0; // Assigned to VARYING_SLOT_VAR0 by user
out1; // Assigned to VARYING_SLOT_VAR1 by the linker
v4:
* Fix variable name in assert
Signed-off-by: Gregory Hainaut <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/errors.c')
0 files changed, 0 insertions, 0 deletions