Re: [Mesa-dev] [PATCH] glsl: Expand matrix flip optimization pass to cover more cases.

2014-06-17 Thread Ian Romanick
On 06/17/2014 05:07 AM, Iago Toral wrote: > Hi Ian, > > On Mon, 2014-06-16 at 12:20 -0700, Ian Romanick wrote: >> On 04/21/2014 04:38 AM, Iago Toral Quiroga wrote: >>> Currently it only considers the cases of gl_ModelViewProjectionMatrix and >>> gl_TextureMatrix. The same optimization can be done

Re: [Mesa-dev] [PATCH] glsl: Expand matrix flip optimization pass to cover more cases.

2014-06-17 Thread Iago Toral
Hi Ian, On Mon, 2014-06-16 at 12:20 -0700, Ian Romanick wrote: > On 04/21/2014 04:38 AM, Iago Toral Quiroga wrote: > > Currently it only considers the cases of gl_ModelViewProjectionMatrix and > > gl_TextureMatrix. The same optimization can be done also for > > gl_ModelViewMatrix, gl_ProjectionMat

Re: [Mesa-dev] [PATCH] glsl: Expand matrix flip optimization pass to cover more cases.

2014-06-16 Thread Ian Romanick
On 04/21/2014 04:38 AM, Iago Toral Quiroga wrote: > Currently it only considers the cases of gl_ModelViewProjectionMatrix and > gl_TextureMatrix. The same optimization can be done also for > gl_ModelViewMatrix, gl_ProjectionMatrix and the corresponding inverses. I've been looking at some thing sim

[Mesa-dev] [PATCH] glsl: Expand matrix flip optimization pass to cover more cases.

2014-04-21 Thread Iago Toral Quiroga
Currently it only considers the cases of gl_ModelViewProjectionMatrix and gl_TextureMatrix. The same optimization can be done also for gl_ModelViewMatrix, gl_ProjectionMatrix and the corresponding inverses. --- src/glsl/opt_flip_matrices.cpp | 118 +++-- 1 file