gallivm: Increase lp_build_rsqrt() precision.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 20 Jul 2011 21:41:17 +0000 (14:41 -0700)
committerJosé Fonseca <jfonseca@vmware.com>
Sat, 23 Jul 2011 01:52:09 +0000 (18:52 -0700)
commit47d6d44a231b811f1bba05478a6bbfb1e3fdb27b
tree0d5102bb0398df73372073c27f4c3b13245f778f
parentef1a2765a45c03b3bf7b5994197a611bcef96e0c
gallivm: Increase lp_build_rsqrt() precision.

Add an iteration step, which makes rqsqrt precision go from 12bits to
24, and fixes RSQ/NRM test case of PSPrecision/VSPrevision DCTs.

There are no uses of this function outside shader translation.
src/gallium/auxiliary/gallivm/lp_bld_arit.c