Re: [Mesa-dev] [PATCH] gallivm: fix texel fetch for array textures (2)

2012-12-14 Thread Dave Airlie
On Sat, Dec 15, 2012 at 6:25 AM, wrote: > From: Roland Scheidegger > > a460aea3f14222af46f88d1bc686f82180b8a872 wasn't entirely correct, > since all coords are already ints hence need to skip the iround. > Passes piglit texelFetch with sampler1DArray/sampler2DArray. > --- > src/gallium/auxiliar

[Mesa-dev] [PATCH] gallivm: fix texel fetch for array textures (2)

2012-12-14 Thread sroland
From: Roland Scheidegger a460aea3f14222af46f88d1bc686f82180b8a872 wasn't entirely correct, since all coords are already ints hence need to skip the iround. Passes piglit texelFetch with sampler1DArray/sampler2DArray. --- src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c |5 +++-- 1 file chan