mesa/program: Use sampler object state if present
authorPauli Nieminen <pauli.nieminen@linux.intel.com>
Tue, 12 Jun 2012 18:38:54 +0000 (21:38 +0300)
committerEric Anholt <eric@anholt.net>
Wed, 1 Aug 2012 22:31:17 +0000 (15:31 -0700)
commitae58f9696c5f82c98767b3f244b2ad4b966905e5
tree6c60b434a12fa138c5c3a1355ae5e80b710ba838
parentcae76368523b2dd25f26069b9872a8993384fa57
mesa/program: Use sampler object state if present

CompareFailValue is part of Sampler state that needs to be read from
bound sampler object if present.

Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/program/prog_statevars.c