[Mesa-dev] [PATCH 4/4] gallium/ttn: mark location specially in nir for color0-writes-all

Eric Anholt eric at anholt.net
Wed Jul 1 13:27:28 PDT 2015

Rob Clark <robdclark at gmail.com> writes:

> From: Ilia Mirkin <imirkin at alum.mit.edu>
> We need to distinguish a shader that has separate writes to each MRT
> from one which is supposed to write the data from MRT 0 to all the MRTs.
> In TGSI this is done with a property. NIR doesn't have that, so encode
> it as a funny location and decode on the other end.
> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>

Yeah, seems like an OK patch for now, though we really need to start
using common enums instead.

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150701/6ee691f5/attachment.sig>

More information about the mesa-dev mailing list