glsl_to_tgsi: add TXF support. (v2)
authorDave Airlie <airlied@redhat.com>
Thu, 25 Aug 2011 12:38:43 +0000 (13:38 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 25 Aug 2011 15:54:20 +0000 (16:54 +0100)
commit5f3de17ef0f8b6280a6bf331ea6686a260f0d0d4
treec50c18223afcb45a2458f97cededea76fe9b182e
parent62ad6e66a5c11fa58e51a6251f97a12a759773ec
glsl_to_tgsi: add TXF support. (v2)

This adds texelFetch support to translate from GLSL to TGSI TXF opcode.

I've tested this works with an r600g and softpipe backend.

v2: drop comments, fix title,

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Bryan Cain <bryancain3@gmail.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp