gallivm: Don't use reciprocate in lp_build_sample_wrap_linear().
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 2 Jun 2010 11:51:38 +0000 (12:51 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 2 Jun 2010 12:24:26 +0000 (13:24 +0100)
commita37de729675e81ddab40a2db8aca9bc3c92299c3
tree944ad6940fd72aa3d9aea12ea3b5245be6e4b500
parent6463dcbc013f1d1db5d2a6fa4cb5b72481298b2b
gallivm: Don't use reciprocate in lp_build_sample_wrap_linear().

Always clamp the scaled coordinates.
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c