Re: [Mesa-dev] [RFC 3/4] glsl: avoid linker and user varying location to overlap

2015-11-19 Thread Timothy Arceri
On Sun, 2015-10-25 at 15:01 +0100, Gregory Hainaut wrote: > 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

[Mesa-dev] [RFC 3/4] glsl: avoid linker and user varying location to overlap

2015-10-25 Thread Gregory Hainaut
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

[Mesa-dev] [RFC 3/4] glsl: avoid linker and user varying location to overlap

2015-10-13 Thread Gregory Hainaut
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