[Mesa-dev] [PATCH RFC 3/6] i965: add FS_OPCODE_OVERWRITE_DST

Eric Anholt eric at anholt.net
Tue Oct 8 12:35:24 PDT 2013


Chia-I Wu <olvaffe at gmail.com> writes:

> From: Chia-I Wu <olv at lunarg.com>
>
> FS_OPCODE_OVERWRITE_DST is used to indicate that the destination register is
> (completely) overwritten.  No code is emitted, but the liveness analysis can
> use it as a hint to add the destination register to DEF bitset.  This is
> needed because it is hard to figure out if some partial writes combined
> constitute a complete write during liveness analysis, while it is easier for
> the FS visitor to know if that is the case.

I'm not a fan of this one (particularly the adding of scheduling
barriers).  Any other ways you looked at to deal with this?

Patch 1, 2, 4 are:

Reviewed-by: Eric Anholt <eric at anholt.net>

and I wouldn't mind seeing them land early.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20131008/ed5f3751/attachment.pgp>


More information about the mesa-dev mailing list