gallivm: fix border color for integer textures
authorRoland Scheidegger <sroland@vmware.com>
Wed, 9 Jan 2013 22:38:14 +0000 (14:38 -0800)
committerRoland Scheidegger <sroland@vmware.com>
Fri, 11 Jan 2013 02:02:01 +0000 (18:02 -0800)
commit5785f22d230bc7249dfcd91bbbaa4e77816128e4
treee3c993679fbd5511b5baa3de5a52964ca779b693
parent31884946b5d00ba7e2678ed6641a4ba0d48e3951
gallivm: fix border color for integer textures

Need to bitcast the float border color (luckily we already get
the color as int just disguised as float).
Fixes piglit texwrap GL_EXT_texture_integer bordercolor.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c