i965/vs: Fix texelFetchOffset()
authorEric Anholt <eric@anholt.net>
Tue, 17 Apr 2012 18:56:26 +0000 (11:56 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 24 Apr 2012 17:00:54 +0000 (10:00 -0700)
commit4650aea7a536ddce120576fadb91845076e8e37a
tree890e220df5a0e8c7a1902a8cf9b2dd0086f83c9e
parentf41ecade7b458c02d504158b522acb2231585040
i965/vs: Fix texelFetchOffset()

It appears that when using 'ld' with the offset bits, address bounds
checking happens before the offset is applied, so parts of the drawing
in piglit texelFetchOffset() with a negative texcoord go black.
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp