i965/vs: Do headerless texturing for texelFetchOffset().
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 22 Jan 2013 05:24:34 +0000 (21:24 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 24 Jan 2013 23:19:08 +0000 (15:19 -0800)
commitfce9e5d41bb1d80885d430d0484e9bd46d8ab936
treef1807f8db522a2973fe85b9ea8741930123c47b2
parent0412864ae83c0a73b611c81611643994076d503c
i965/vs: Do headerless texturing for texelFetchOffset().

For texelFetchOffset(), we just add the texel offsets to the coordinate
rather than using the message header's offset fields.  So we don't
actually need a header on Gen5+.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp