[Mesa-dev] [PATCH] r600g: fix and optimize tgsi_cmp when using ABS and NEG modifier

Dave Airlie airlied at gmail.com
Thu Apr 7 06:10:50 UTC 2016


On 7 April 2016 at 15:43, Ian Romanick <idr at freedesktop.org> wrote:
> On 04/02/2016 02:45 AM, Patrick Rudolph wrote:
>> Are there optimizations done on TGSI ?
>> I can't find any file in src/gallium/auxiliary/tgsi that does so.
>
> What I meant was, at some point the driver translates TGSI into its own
> representation.  When that translation occurs, generate the smarter code.

Good one :-P

We do tgsi->r600 asm->sb.

So this is pretty much the place we do translations to the r600
assembly, so it's probably
the best place for now.

Dave.


More information about the mesa-dev mailing list