[Mesa-dev] Matrix flipper v2
Eric Anholt
eric at anholt.net
Fri May 10 13:20:27 PDT 2013
Kenneth Graunke <kenneth at whitecape.org> writes:
> This series does two things: first, it plumbs ShaderCompilerOptions into
> do_common_optimization(), since optimization & lowering passes may want
> to consult that.
>
> Secondly, it adds an optimization pass that converts (matrix * vector)
> operations to (vector * matrixTranspose) for certain built-in matrices
> (currently gl_ModelViewProjectionMatrix and gl_TextureMatrix). This
> makes it use DP4s instead of MUL/ADD, which can be more efficient.
Series is:
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/20130510/6c86da4b/attachment.pgp>
More information about the mesa-dev
mailing list