Re: [Mesa-dev] [PATCH] Var packer optimisation.

2011-08-10 Thread Paul Berry
On 9 August 2011 14:19, Vincent Lejeune wrote: > From: vlj > > This optimisation pass will look for and pack together vector (up to vec3) > and scalar in function body. It only concerns local variable, not temporary > which should however be packed as a side effect. It should reduce register >

Re: [Mesa-dev] [PATCH] Var packer optimisation.

2011-08-09 Thread Eric Anholt
On Tue, 9 Aug 2011 23:19:05 +0200, Vincent Lejeune wrote: > From: vlj > > This optimisation pass will look for and pack together vector (up to > vec3) and scalar in function body. It only concerns local variable, > not temporary which should however be packed as a side effect. It > should reduc

Re: [Mesa-dev] [PATCH] Var packer optimisation.

2011-08-09 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/09/2011 02:19 PM, Vincent Lejeune wrote: > From: vlj > > This optimisation pass will look for and pack together vector (up to vec3) > and scalar in function body. It only concerns local variable, not temporary > which should however be packed

[Mesa-dev] [PATCH] Var packer optimisation.

2011-08-09 Thread Vincent Lejeune
From: vlj This optimisation pass will look for and pack together vector (up to vec3) and scalar in function body. It only concerns local variable, not temporary which should however be packed as a side effect. It should reduce register pressure. --- src/glsl/Makefile |1 + sr