Re: [Mesa-dev] [PATCH V3] glsl: fix atomic buffer index for bindings other than 0

2015-09-01 Thread Timothy Arceri
On Tue, 2015-09-01 at 14:46 +0100, Emil Velikov wrote: > On 29 July 2015 at 13:46, Timothy Arceri wrote: > > On Wed, 2015-07-29 at 09:57 +0200, Iago Toral wrote: > > > On Sun, 2015-07-26 at 18:35 +1000, Timothy Arceri wrote: > > > > Since commit c0cd5b var->data.binding was

Re: [Mesa-dev] [PATCH V3] glsl: fix atomic buffer index for bindings other than 0

2015-09-01 Thread Emil Velikov
On 29 July 2015 at 13:46, Timothy Arceri wrote: > On Wed, 2015-07-29 at 09:57 +0200, Iago Toral wrote: >> On Sun, 2015-07-26 at 18:35 +1000, Timothy Arceri wrote: >> > Since commit c0cd5b var->data.binding was being used as a replacement >> > for atomic buffer index, but

Re: [Mesa-dev] [PATCH V3] glsl: fix atomic buffer index for bindings other than 0

2015-07-29 Thread Iago Toral
On Sun, 2015-07-26 at 18:35 +1000, Timothy Arceri wrote: Since commit c0cd5b var-data.binding was being used as a replacement for atomic buffer index, but they don't have to be the same value they just happen to end up the same when binding is 0. Now we store atomic buffer index in the

Re: [Mesa-dev] [PATCH V3] glsl: fix atomic buffer index for bindings other than 0

2015-07-29 Thread Timothy Arceri
On Wed, 2015-07-29 at 09:57 +0200, Iago Toral wrote: On Sun, 2015-07-26 at 18:35 +1000, Timothy Arceri wrote: Since commit c0cd5b var-data.binding was being used as a replacement for atomic buffer index, but they don't have to be the same value they just happen to end up the same when

[Mesa-dev] [PATCH V3] glsl: fix atomic buffer index for bindings other than 0

2015-07-26 Thread Timothy Arceri
Since commit c0cd5b var-data.binding was being used as a replacement for atomic buffer index, but they don't have to be the same value they just happen to end up the same when binding is 0. Now we store atomic buffer index in the unused var-data.index to avoid the extra memory of putting back the