Re: [Mesa-dev] [PATCH] glsl: disallow mixed varying types within a location

2017-09-06 Thread Ilia Mirkin
On Wed, Sep 6, 2017 at 12:13 AM, Timothy Arceri wrote: > > > On 06/09/17 11:59, Ilia Mirkin wrote: >> >> On Tue, Sep 5, 2017 at 9:54 PM, Timothy Arceri >> wrote: >>> >>> >>> On 06/09/17 11:23, Ilia Mirkin wrote: The enhanced layouts spec has all kinds of restrictions about what can

Re: [Mesa-dev] [PATCH] glsl: disallow mixed varying types within a location

2017-09-05 Thread Timothy Arceri
On 06/09/17 11:59, Ilia Mirkin wrote: On Tue, Sep 5, 2017 at 9:54 PM, Timothy Arceri wrote: On 06/09/17 11:23, Ilia Mirkin wrote: The enhanced layouts spec has all kinds of restrictions about what can and cannot be mixed in a location. Integer/float(/presumably double) can't occupy a singl

Re: [Mesa-dev] [PATCH] glsl: disallow mixed varying types within a location

2017-09-05 Thread Ilia Mirkin
On Tue, Sep 5, 2017 at 9:54 PM, Timothy Arceri wrote: > > On 06/09/17 11:23, Ilia Mirkin wrote: >> >> The enhanced layouts spec has all kinds of restrictions about what can >> and cannot be mixed in a location. Integer/float(/presumably double) >> can't occupy a single location, interpolation has

Re: [Mesa-dev] [PATCH] glsl: disallow mixed varying types within a location

2017-09-05 Thread Timothy Arceri
On 06/09/17 11:23, Ilia Mirkin wrote: The enhanced layouts spec has all kinds of restrictions about what can and cannot be mixed in a location. Integer/float(/presumably double) can't occupy a single location, interpolation has to be the same, as well as auxiliary storage (including patch!). Th

[Mesa-dev] [PATCH] glsl: disallow mixed varying types within a location

2017-09-05 Thread Ilia Mirkin
The enhanced layouts spec has all kinds of restrictions about what can and cannot be mixed in a location. Integer/float(/presumably double) can't occupy a single location, interpolation has to be the same, as well as auxiliary storage (including patch!). The implication of this is ... don't specif