[Mesa-dev] [PATCH] nir: mark dsqrt/drsqrt/drcp implementation as exact

Ilia Mirkin imirkin at alum.mit.edu
Thu Apr 28 15:26:26 UTC 2016


On Thu, Apr 28, 2016 at 11:21 AM, Connor Abbott <cwabbott0 at gmail.com> wrote:
> On Thu, Apr 28, 2016 at 11:20 AM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
>> What if the existing operations were already exact?
>
> They aren't -- the builder makes them non-exact by default, and we
> initialize the builder ourselves in this pass.

Hmmmmmm... OK. I'm just thinking of the case

precise c  = op(a, b)

And op gets lowered. The resulting operations should also be exact. If
that's what's happening, then all's well.

  -ilia


More information about the mesa-dev mailing list