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

Eric Anholt eric at anholt.net
Tue Aug 9 17:01:45 PDT 2011


On Tue,  9 Aug 2011 23:19:05 +0200, Vincent Lejeune <vljn at ovi.com> wrote:
> From: vlj <vljn at ovi.com>
> 
> 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.

Backends that want this have to do it on their own anyway for the
temporary values they create as a result of expression processing.  I
don't see why this would be done at the HIR level.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110809/f94c86fa/attachment.pgp>


More information about the mesa-dev mailing list