tgsi: add TXF support.
authorDave Airlie <airlied@redhat.com>
Thu, 25 Aug 2011 13:53:21 +0000 (14:53 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 25 Aug 2011 15:54:20 +0000 (16:54 +0100)
commitd562f97bef99e051842ae0cec8f5ac46a10a73c4
tree056479e3c98008c2dae7b6bf6a37a65f674d737a
parent515d9e88801e2e1e2a7ac74ccd43f8fedfb80a96
tgsi: add TXF support.

This is a straight texel fetch with no filtering or clamping. It uses
integers to specify the i/j/k (from EXT_gpu_shader4).

To enable this I had to add another hook into the tgsi sampler so that
we could easily bypass all the filtering sample does.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_exec.c
src/gallium/auxiliary/tgsi/tgsi_exec.h