i965/fs: Refactor rectangle/GL_CLAMP texture coordinate adjustment.
authorEric Anholt <eric@anholt.net>
Sat, 22 Sep 2012 14:56:02 +0000 (16:56 +0200)
committerEric Anholt <eric@anholt.net>
Mon, 8 Oct 2012 15:38:49 +0000 (08:38 -0700)
commit5c268745465640b4b8504d1e7f79efb25b67cd7a
tree67f0f142f3d4adb8913948dca09e80880966a7fd
parente7149d390c94dbe9c25f38b4fb3de0ec61357905
i965/fs: Refactor rectangle/GL_CLAMP texture coordinate adjustment.

We'll want to reuse this for ARB_fp handling.

v2: Fold the remaining bit of emit_texcoord back into visit(ir_texture).

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp