[Mesa-dev] [PATCH 2/2] prog_optimize: Add reads without writes optimization pass

Ian Romanick idr at freedesktop.org
Sat Apr 2 19:36:33 PDT 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/30/2011 09:34 PM, Tom Stellard wrote:

> Ok, this makes sense.  It would be pretty easy to modify my original patch
> to do this, but maybe it's better change the way ir_to_mesa.cpp converts
> conditional assignments to Mesa IR.  Do you have any suggestions for how
> to determine if the left hand side of an ir_assignment has already been
> written to?

There's not a good way right now.  The 2nd thing down on my to-do list
is ud-chains.  Once we have that, it will be trivial.  A lot of other
things (CSE, anyone?) will also be much easier.

For now, it's probably best to do it the way you're already doing it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk2X3TEACgkQX1gOwKyEAw83ZgCeOW6zBCfyiw86+i9RqY76akja
auYAniOeAtH7PnwImnOf+j+LSTZmuxgl
=WgZk
-----END PGP SIGNATURE-----


More information about the mesa-dev mailing list