mesa/st: set min/max texture gather offset to driver-reported value
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 9 Apr 2014 18:59:25 +0000 (14:59 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 11 Apr 2014 00:42:48 +0000 (20:42 -0400)
commit31640f4c389641d458da31db137280431400bdfc
treec6030f19641f5012af180c447e1bcaca91ba66da
parentc2f9ad52890e9c6525fbe59f4278ce283764aa72
mesa/st: set min/max texture gather offset to driver-reported value

It was always getting set to -8/7 unconditionally.  Use the
driver-reported value instead.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_extensions.c