[Mesa-dev] [PATCH 4/5] i965/fs: Remove incorrect note of writing attr in centroid workaround.

Eric Anholt eric at anholt.net
Wed Apr 10 13:46:22 PDT 2013


Matt Turner <mattst88 at gmail.com> writes:

> On Wed, Apr 10, 2013 at 11:54 AM, Eric Anholt <eric at anholt.net> wrote:
>> This instruction doesn't update its IR destination, it just moves from
>> payload to f0.  This caused the dead code elimination pass I'm adding to
>> dead-code-eliminate the first step of interpolation.
>
> This was because it had a destination that was never read?

We were putting a vgrf in the destination, even though the instruction
didn't do anything to any vgrf.  We then inferred incorrect things about
what had happened with the vgrf.
-------------- 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/20130410/32f717f2/attachment.pgp>


More information about the mesa-dev mailing list