r600g: Fix flat/smooth shade state toggle
authorGlenn Kennard <glenn.kennard@gmail.com>
Wed, 20 Aug 2014 19:55:37 +0000 (21:55 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 21 Aug 2014 14:20:38 +0000 (16:20 +0200)
commit0fb221065eff3788e9bf607a5cf39bd0409740be
tree2b3cdf2fc3d551961c71d7efc2536da37da48fc2
parentbf7a60f41d897be4d9804ba7c46633e38501ffe7
r600g: Fix flat/smooth shade state toggle

If only the flat/smooth shade state changed between
two render calls the prior code would miss updating the
hardware state.

Also add check for sprite coord, potentially same type
of issue otherwise for it.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=81967
Signed-off-by: Glenn Kennard <glenn.kennard@gmail.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/r600/r600_state_common.c