gallium: add caps for MIN/MAX texel offsets.
authorDave Airlie <airlied@redhat.com>
Mon, 29 Aug 2011 13:35:16 +0000 (14:35 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 2 Sep 2011 09:48:09 +0000 (10:48 +0100)
commit0b666106c5f75b581ef1ebeb354c29a00400404f
treed8c2a054a0002181f10e2694855782446d351884
parent2083a276eb270b748d1c2668eb9faa5aadc8e700
gallium: add caps for MIN/MAX texel offsets.

As per Brian's suggestion, add caps for drivers that support texture
offsets to advertise a min/max via TGSI, also use it in the state tracker.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/softpipe/sp_screen.c
src/gallium/include/pipe/p_defines.h
src/mesa/state_tracker/st_extensions.c