gallivm: fix texel fetch for array textures (2)
authorRoland Scheidegger <sroland@vmware.com>
Fri, 14 Dec 2012 20:17:05 +0000 (21:17 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Mon, 17 Dec 2012 10:50:27 +0000 (11:50 +0100)
commit3d14b25030dc2ad8bc10400d686250979fbee70d
treea6d8b759c3981d247b6ffb5146a13957fa381b3e
parent1358f3a905448f6fb546aba951e317f743a83c76
gallivm: fix texel fetch for array textures (2)

a460aea3f14222af46f88d1bc686f82180b8a872 wasn't entirely correct,
since all coords are already ints hence need to skip the iround.
Passes piglit texelFetch with sampler1DArray/sampler2DArray.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c