[Mesa-dev] [PATCH] i965/vs: Add a comment about writemasking on scratch writes.

Eric Anholt eric at anholt.net
Thu Nov 15 22:40:36 PST 2012


Kenneth Graunke <kenneth at whitecape.org> writes:

> The OWord Dual Block Write message doesn't have a response length, so it
> was surprising to a non-null destination register in the disassembly.
> Not only that, but seeing g0 was especially confusing, as writing to g0
> would destroy critical payload information that's needed for most SEND
> messages.
>
> I figured it would be worth adding a comment indicating the destination
> register doesn't matter, but the writemask does (and is why we don't use
> the null register.)

Wait, is specifying masks/predication on NULL illegal?  I wonder.
-------------- 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/20121115/14a1294c/attachment.pgp>


More information about the mesa-dev mailing list