Re: [Mesa-dev] [PATCH 16/28] glsl: don't pack tessellation stages like we do other stages

2016-01-06 Thread Timothy Arceri
On Wed, 2016-01-06 at 17:50 -0500, Ilia Mirkin wrote: > On Tue, Dec 29, 2015 at 12:00 AM, Timothy Arceri > wrote: > > Tessellation shaders treat varyings as shared memory and > > invocations > > can access each others varyings therefore we can't use the existing > >

Re: [Mesa-dev] [PATCH 16/28] glsl: don't pack tessellation stages like we do other stages

2016-01-06 Thread Timothy Arceri
On Tue, 2015-12-29 at 17:38 +1100, eocallag...@alterapraxis.com wrote: > On 2015-12-29 16:00, Timothy Arceri wrote: > > Tessellation shaders treat varyings as shared memory and > > invocations > > can access each others varyings therefore we can't use the existing > > method to lower them. > > >

Re: [Mesa-dev] [PATCH 16/28] glsl: don't pack tessellation stages like we do other stages

2016-01-06 Thread Ilia Mirkin
On Wed, Jan 6, 2016 at 6:40 PM, Timothy Arceri wrote: > On Wed, 2016-01-06 at 17:50 -0500, Ilia Mirkin wrote: >> On Tue, Dec 29, 2015 at 12:00 AM, Timothy Arceri >> wrote: >> > Tessellation shaders treat varyings as shared memory and >>

Re: [Mesa-dev] [PATCH 16/28] glsl: don't pack tessellation stages like we do other stages

2016-01-06 Thread Ilia Mirkin
On Tue, Dec 29, 2015 at 12:00 AM, Timothy Arceri wrote: > Tessellation shaders treat varyings as shared memory and invocations > can access each others varyings therefore we can't use the existing > method to lower them. That's not strictly true... this is only true

Re: [Mesa-dev] [PATCH 16/28] glsl: don't pack tessellation stages like we do other stages

2016-01-06 Thread Timothy Arceri
On Wed, 2016-01-06 at 18:45 -0500, Ilia Mirkin wrote: > On Wed, Jan 6, 2016 at 6:40 PM, Timothy Arceri > wrote: > > On Wed, 2016-01-06 at 17:50 -0500, Ilia Mirkin wrote: > > > On Tue, Dec 29, 2015 at 12:00 AM, Timothy Arceri > > >

[Mesa-dev] [PATCH 16/28] glsl: don't pack tessellation stages like we do other stages

2015-12-28 Thread Timothy Arceri
Tessellation shaders treat varyings as shared memory and invocations can access each others varyings therefore we can't use the existing method to lower them. This adds a check for these stages as following patches will allow explicit locations to be lowered even when the driver and existing

Re: [Mesa-dev] [PATCH 16/28] glsl: don't pack tessellation stages like we do other stages

2015-12-28 Thread eocallaghan
On 2015-12-29 16:00, Timothy Arceri wrote: Tessellation shaders treat varyings as shared memory and invocations can access each others varyings therefore we can't use the existing method to lower them. This adds a check for these stages as following patches will allow explicit locations to be