[Mesa-dev] [PATCH] lp_build_lod_selector: Disable brilinear folding on explicit lod.

Olivier Galibert galibert at pobox.com
Wed Jun 27 13:32:54 PDT 2012


On Wed, Jun 27, 2012 at 03:17:05AM -0700, Jose Fonseca wrote:
> I took a look at the results, and it seems to me that bri linear
> code is fine -- the test is merely too strict, and doesnot forgive
> the gravitation towards integer lod that brilinear implements.

Yes, the current code maps [0,.25] to 0, [0.25,0.75] to [0-1] and
[0.75,1] to 1.  So you you need an error tolerance of 0.20 given how
the test is done on multiples of 0.2.

What's your criteria to decide that a precision is "good enough"?

  OG.



More information about the mesa-dev mailing list