Re: [Mesa-dev] [PATCH] i965: fold offset into coord for textureOffset(gsampler2DRect)

2013-12-18 Thread Kenneth Graunke
On 12/18/2013 01:04 AM, Chris Forbes wrote: > The hardware is broken with nonzero texel offsets and unnormalized > coordinates; instead of doing correct offsetting, we get garbage. > > This just extends the existing workaround for ir_txf and > ir_tg4+gsampler2DRect to also consider ir_tex+gsampler

Re: [Mesa-dev] [PATCH] i965: fold offset into coord for textureOffset(gsampler2DRect)

2013-12-18 Thread Chris Forbes
Erk, ignore the stray 'to 0' in the commit message; editor fail :) On Wed, Dec 18, 2013 at 10:04 PM, Chris Forbes wrote: > The hardware is broken with nonzero texel offsets and unnormalized > coordinates; instead of doing correct offsetting, we get garbage. > > This just extends the existing work

[Mesa-dev] [PATCH] i965: fold offset into coord for textureOffset(gsampler2DRect)

2013-12-18 Thread Chris Forbes
The hardware is broken with nonzero texel offsets and unnormalized coordinates; instead of doing correct offsetting, we get garbage. This just extends the existing workaround for ir_txf and ir_tg4+gsampler2DRect to also consider ir_tex+gsampler2DRect. Fixes broken rendering in 'tesseract' when 'm