Re: [Mesa-dev] [PATCH] i965/gen4: Fix sampling from integer textures.

2011-11-14 Thread Paul Berry
On 9 November 2011 16:11, Eric Anholt wrote: > On original gen4, the surface format didn't determine the return data > type from sampling like it does on g45 and later. > > Fixes GL_EXT_texture_integer/texture_integer_glsl130 > --- > > The dst type in your patch has already been smashed to UW for

[Mesa-dev] [PATCH] i965/gen4: Fix sampling from integer textures.

2011-11-09 Thread Eric Anholt
On original gen4, the surface format didn't determine the return data type from sampling like it does on g45 and later. Fixes GL_EXT_texture_integer/texture_integer_glsl130 --- The dst type in your patch has already been smashed to UW for 16-wide, so it didn't end up working. src/mesa/drivers/d