[Mesa-dev] Status of the GLSL->TGSI translator

Ian Romanick idr at freedesktop.org
Thu Jun 16 11:46:56 PDT 2011


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

On 06/15/2011 06:45 PM, Tom Stellard wrote:
> On Wed, Jun 15, 2011 at 04:38:07PM -0500, Bryan Cain wrote:
>> My work on the GLSL IR to TGSI translator I announced on the list this
>> April is now at the point where I think it is ready to be merged into
>> Mesa.  It is stable and doesn't regress any piglit tests on softpipe or
>> nv50.
>>
> 
> Hi,
> 
> First of all, nice work on this.  It's great to have one less IR to deal
> with.  Just two comments:
> 
> 1. This branch causes a few piglit regressions on R300 because there is no
> optimization pass equivalent to _mesa_simplify_cmp() in st_glsl_to_tgsi(I
> guess technically it's not really an optimization pass, since R300
> needs it to function).  Would you be able to add something similar
> in st_glsl_to_tgsi?  It should be really easy.  You can ping me on irc
> (tstellar) if you have any questions about it.

I'm working on some code that will fix this the right way.  It probably
won't land until after the 7.11 branch.  It's an optimization pass on
the GLSL IR that makes unconditional assignments out of conditional
assignments to variables with no reaching definition.

There's some ugly code in my ud-chains branch.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk36T6AACgkQX1gOwKyEAw8rkgCfcBd5iuGGx5BZmkAOIrNp4kAG
jpsAn0578akiXTB5gsViWutQxEPElvpi
=LrQK
-----END PGP SIGNATURE-----


More information about the mesa-dev mailing list