Re: [Mesa-dev] [PATCH] gl-2.0: Add test for re-using shader objects

2015-08-12 Thread Kenneth Graunke
On Friday, June 26, 2015 05:50:52 PM Topi Pohjolainen wrote: > This is stimulating the shader binary re-use logic in i965 buffer > object uploading. Without relaxing the current constraints there > will be two identical copies in the cache. With the introduced > three patches the logic begins to sh

Re: [Mesa-dev] [PATCH] gl-2.0: Add test for re-using shader objects

2015-06-26 Thread Pohjolainen, Topi
On Fri, Jun 26, 2015 at 10:54:48AM -0400, Ilia Mirkin wrote: > On Fri, Jun 26, 2015 at 10:50 AM, Topi Pohjolainen > wrote: > > This is stimulating the shader binary re-use logic in i965 buffer > > object uploading. Without relaxing the current constraints there > > will be two identical copies in

Re: [Mesa-dev] [PATCH] gl-2.0: Add test for re-using shader objects

2015-06-26 Thread Ilia Mirkin
On Fri, Jun 26, 2015 at 10:50 AM, Topi Pohjolainen wrote: > This is stimulating the shader binary re-use logic in i965 buffer > object uploading. Without relaxing the current constraints there > will be two identical copies in the cache. With the introduced > three patches the logic begins to shar

[Mesa-dev] [PATCH] gl-2.0: Add test for re-using shader objects

2015-06-26 Thread Topi Pohjolainen
This is stimulating the shader binary re-use logic in i965 buffer object uploading. Without relaxing the current constraints there will be two identical copies in the cache. With the introduced three patches the logic begins to share only one copy between two entries in the cache. CC: Kenneth Grau