st/mesa: do not clear NewDriverState for inactive states
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Thu, 25 Jun 2020 15:12:57 +0000 (17:12 +0200)
committerPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Wed, 1 Jul 2020 07:44:59 +0000 (09:44 +0200)
commit5f1a16d06d8b2cf6942b1e4b250842ec0be2c8a4
tree38638ba17f34f34edadfd68628410b07273c172a
parent7940b47de646bf70027a433474056aaea31f563e
st/mesa: do not clear NewDriverState for inactive states

Fixes: 085aa7f91e8 ("st/mesa: don't update atomic, SSBO, UBO and TBO states that have no effect")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2951
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5660>
src/mesa/state_tracker/st_atom.c