softpipe: implement TXF support via get_texel callback
authorDave Airlie <airlied@redhat.com>
Thu, 25 Aug 2011 13:54:27 +0000 (14:54 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 25 Aug 2011 15:54:20 +0000 (16:54 +0100)
commit62ad6e66a5c11fa58e51a6251f97a12a759773ec
tree719ebe7362d6141eee9d870cf2eea5fd969a49a5
parentd562f97bef99e051842ae0cec8f5ac46a10a73c4
softpipe: implement TXF support via get_texel callback

This just calls the texel fetch functions directly bypassing the sampling,

notes:
1: loops inside switch should be more optimal.
2: borders can be sampled though only up to border depth, outside that
its undefined.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/softpipe/sp_tex_sample.c