[Mesa-dev] r300 compiler constant folding fix

Marek Olšák maraeo at gmail.com
Tue May 18 18:32:48 PDT 2010


You've actually fixed a much more important compiler bug than you might
think. The 0.5 swizzle is really being used even without constant folding,
specifically in reducing the number of shader immediates (r300_tgsi_to_rc.c
: handle_immediate)

Thanks.

All Nicolai's compiler work in his repo is now merged to master.

-Marek

On Tue, May 18, 2010 at 9:03 AM, Tom Stellard <tstellar at gmail.com> wrote:

> Attached is a patch to fix constant folding in the r300 compiler
> implemented in commit c704933 of Nicolai's r300g-glsl branch
> (git://anongit.freedesktop.org/~nh/mesa<http://anongit.freedesktop.org/%7Enh/mesa>
> ).
>
> With this patch, the constant folding implementation can be cherry-picked
> to master without breaking any piglit tests.
>
> -Tom
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100519/e5bb2437/attachment.html>


More information about the mesa-dev mailing list