st/mesa: don't unbind sampler states if none are used
authorMarek Olšák <marek.olsak@amd.com>
Sat, 10 Jun 2017 19:39:16 +0000 (21:39 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 21 Jun 2017 23:51:02 +0000 (01:51 +0200)
commitfd86876fe4abcdd0d7d77f05eb24fadc985f2530
tree44ddf6d234a32abb9332c55df95542248dc4807c
parentb43c887a9bf1e3fb99b0dc22bfea5db81375a06e
st/mesa: don't unbind sampler states if none are used

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/state_tracker/st_atom_sampler.c