Re: [Mesa-dev] [PATCH v2 10/8] glsl/linker: Fix type checks for location aliasing

2017-10-26 Thread Iago Toral
On Wed, 2017-10-25 at 08:30 -0400, Ilia Mirkin wrote: > On Wed, Oct 25, 2017 at 5:15 AM, Iago Toral Quiroga m> wrote: > > From the OpenGL 4.6 spec, section 4.4.1 Input Layout Qualifiers, > > Page 68, > > (Location aliasing): > > > >    "Further, when location aliasing, the

Re: [Mesa-dev] [PATCH v2 10/8] glsl/linker: Fix type checks for location aliasing

2017-10-25 Thread Ilia Mirkin
On Wed, Oct 25, 2017 at 5:15 AM, Iago Toral Quiroga wrote: > From the OpenGL 4.6 spec, section 4.4.1 Input Layout Qualifiers, Page 68, > (Location aliasing): > >"Further, when location aliasing, the aliases sharing the location > must have the same underlying numerical

[Mesa-dev] [PATCH v2 10/8] glsl/linker: Fix type checks for location aliasing

2017-10-25 Thread Iago Toral Quiroga
From the OpenGL 4.6 spec, section 4.4.1 Input Layout Qualifiers, Page 68, (Location aliasing): "Further, when location aliasing, the aliases sharing the location must have the same underlying numerical type (floating-point or integer)." The current implementation is too strict, since