st/mesa: skip updates of states that have no effect
authorMarek Olšák <marek.olsak@amd.com>
Sun, 17 Jul 2016 17:47:12 +0000 (19:47 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 30 Jul 2016 13:02:14 +0000 (15:02 +0200)
commit0a46e6f410f2838886828e18f0b6604b2702d809
treec0fb847917cd5af4875c40e2b802581bcb32e649
parentc8fe3b9dca73e3b91979d92ba4136b302001b3bb
st/mesa: skip updates of states that have no effect

v2: - also don't check edge flags for GLES

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_atom.c
src/mesa/state_tracker/st_atom.h