Re: [Mesa-dev] [PATCH 1/2] glsl: Implement a SSBO load optimization pass

2015-10-21 Thread Iago Toral
On Wed, 2015-10-21 at 14:58 +0300, Francisco Jerez wrote: > Iago Toral writes: > > > On Wed, 2015-10-21 at 13:00 +0300, Francisco Jerez wrote: > >> Iago Toral writes: > >> > >> > Hi Curro, > >> > > >> > On Tue, 2015-10-20 at 14:18 +0300, Francisco Jerez wrote: > >> >> Iago Toral writes: > >> >

Re: [Mesa-dev] [PATCH 1/2] glsl: Implement a SSBO load optimization pass

2015-10-21 Thread Francisco Jerez
Iago Toral writes: > On Wed, 2015-10-21 at 13:00 +0300, Francisco Jerez wrote: >> Iago Toral writes: >> >> > Hi Curro, >> > >> > On Tue, 2015-10-20 at 14:18 +0300, Francisco Jerez wrote: >> >> Iago Toral writes: >> >> >> >> > On Tue, 2015-10-20 at 13:22 +0300, Francisco Jerez wrote: >> >> >>

Re: [Mesa-dev] [PATCH 1/2] glsl: Implement a SSBO load optimization pass

2015-10-21 Thread Iago Toral
On Wed, 2015-10-21 at 13:00 +0300, Francisco Jerez wrote: > Iago Toral writes: > > > Hi Curro, > > > > On Tue, 2015-10-20 at 14:18 +0300, Francisco Jerez wrote: > >> Iago Toral writes: > >> > >> > On Tue, 2015-10-20 at 13:22 +0300, Francisco Jerez wrote: > >> >> Iago Toral Quiroga writes: > >>

Re: [Mesa-dev] [PATCH 1/2] glsl: Implement a SSBO load optimization pass

2015-10-21 Thread Francisco Jerez
Iago Toral writes: > Hi Curro, > > On Tue, 2015-10-20 at 14:18 +0300, Francisco Jerez wrote: >> Iago Toral writes: >> >> > On Tue, 2015-10-20 at 13:22 +0300, Francisco Jerez wrote: >> >> Iago Toral Quiroga writes: >> >> >> >> > This allows us to re-use the results of previous ssbo loads in >

Re: [Mesa-dev] [PATCH 1/2] glsl: Implement a SSBO load optimization pass

2015-10-21 Thread Iago Toral
Hi Curro, On Tue, 2015-10-20 at 14:18 +0300, Francisco Jerez wrote: > Iago Toral writes: > > > On Tue, 2015-10-20 at 13:22 +0300, Francisco Jerez wrote: > >> Iago Toral Quiroga writes: > >> > >> > This allows us to re-use the results of previous ssbo loads in situations > >> > that are safe (i

Re: [Mesa-dev] [PATCH 1/2] glsl: Implement a SSBO load optimization pass

2015-10-20 Thread Iago Toral
On Tue, 2015-10-20 at 14:18 +0300, Francisco Jerez wrote: > Iago Toral writes: > > > On Tue, 2015-10-20 at 13:22 +0300, Francisco Jerez wrote: > >> Iago Toral Quiroga writes: > >> > >> > This allows us to re-use the results of previous ssbo loads in situations > >> > that are safe (i.e. when th

Re: [Mesa-dev] [PATCH 1/2] glsl: Implement a SSBO load optimization pass

2015-10-20 Thread Francisco Jerez
Iago Toral writes: > On Tue, 2015-10-20 at 13:22 +0300, Francisco Jerez wrote: >> Iago Toral Quiroga writes: >> >> > This allows us to re-use the results of previous ssbo loads in situations >> > that are safe (i.e. when there are no stores, atomic operations or >> > memory barriers in between)

Re: [Mesa-dev] [PATCH 1/2] glsl: Implement a SSBO load optimization pass

2015-10-20 Thread Iago Toral
On Tue, 2015-10-20 at 13:22 +0300, Francisco Jerez wrote: > Iago Toral Quiroga writes: > > > This allows us to re-use the results of previous ssbo loads in situations > > that are safe (i.e. when there are no stores, atomic operations or > > memory barriers in between). > > > > This is particular

Re: [Mesa-dev] [PATCH 1/2] glsl: Implement a SSBO load optimization pass

2015-10-20 Thread Francisco Jerez
Iago Toral Quiroga writes: > This allows us to re-use the results of previous ssbo loads in situations > that are safe (i.e. when there are no stores, atomic operations or > memory barriers in between). > > This is particularly useful for things like matrix multiplications, where > for a mat4 buf

[Mesa-dev] [PATCH 1/2] glsl: Implement a SSBO load optimization pass

2015-10-20 Thread Iago Toral Quiroga
This allows us to re-use the results of previous ssbo loads in situations that are safe (i.e. when there are no stores, atomic operations or memory barriers in between). This is particularly useful for things like matrix multiplications, where for a mat4 buffer variable we cut the number of loads