mesa: only emit _NEW_MULTISAMPLE when min sample shading changes
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 2 Jun 2017 15:52:49 +0000 (17:52 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 6 Jun 2017 09:47:22 +0000 (11:47 +0200)
commit11c6aab239fca9bc4e493107fb3c31016b3a28bd
tree0a61ca708b4839d233b01fd516dcadc53649eb2e
parentaf9e537be3df89fef046c827fc83acbe2199107a
mesa: only emit _NEW_MULTISAMPLE when min sample shading changes

We usually check that given parameters are different before
updating the state.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/multisample.c