i965: Use rcp in brw_lower_texture_gradients rather than 1.0 / x.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 5 Jan 2016 12:46:33 +0000 (04:46 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 6 Jan 2016 02:07:27 +0000 (18:07 -0800)
commit25b7e4a01f20df4ca94a5381dee5b33294f6c161
tree17b55b56322675fe13052674d4c7a022e09310b1
parent3d402d445003f00478d7eb51eec8e4f31fef9352
i965: Use rcp in brw_lower_texture_gradients rather than 1.0 / x.

That's what it's for.  Plus, we actually implement rcp.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_lower_texture_gradients.cpp