ilo: skip state emission when reducing sampler count
authorChia-I Wu <olvaffe@gmail.com>
Wed, 7 Aug 2013 09:16:46 +0000 (17:16 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Wed, 7 Aug 2013 15:13:44 +0000 (23:13 +0800)
commit7ce3cbaacfa0a971b48c74615dd858be44d54642
tree9a4fbfbea3953e4d7f475582e401070613033b55
parent2811dba1d0a5a0a7cd57fa06c6cb1829ac5ac4ba
ilo: skip state emission when reducing sampler count

When the number of sampler states bound is reduced, we are good to keep
referencing the old SAMPLER_STATE array and skip emitting a new one.
src/gallium/drivers/ilo/ilo_state.c