[Mesa-dev] [PATCH] mesa: Add partial constant propagation pass for Mesa IR

Eric Anholt eric at anholt.net
Tue Aug 16 13:01:41 PDT 2011


On Mon, 15 Aug 2011 16:27:49 -0700, "Ian Romanick" <idr at freedesktop.org> wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
> 
> This cleans up some code generated by the IR-to-Mesa pass for i915.
> In particular, some shaders involving arrays of constant matrices
> result in really bad code.
> 
> v2: Silence several warnings from merging the gl_constant_value work.
> Fix DP[23] folding.  Add support for a bunch more opcodes that appear
> in piglit runs on i915.

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- 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/20110816/826bd83a/attachment.pgp>


More information about the mesa-dev mailing list