[Mesa-dev] [PATCH 4/6] glsl: mark xfb inputs as always_active_io

Eric Anholt eric at anholt.net
Mon Oct 9 22:31:01 UTC 2017


Timothy Arceri <tarceri at itsqueeze.com> writes:

> We won't split varyings marked as always active because there
> is no point in doing so. This means we need to mark both
> sides of the interface as always active otherwise we will have
> a mismatch and start removing things we shouldn't.

Is this just needed because the next patch only updates a single bit in
the read/write arrays for multi-channel variables?  Or is there
something else?

If there's nothing else, then updating the NIR pass for tracking all of
the channels seems pretty doable and would have fewer magic requirements
between stages.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171009/4e7f5876/attachment.sig>


More information about the mesa-dev mailing list