radeonsi: drop useless memcmp() check in si_set_blend_color()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 25 May 2017 23:42:53 +0000 (01:42 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sat, 27 May 2017 16:00:45 +0000 (18:00 +0200)
commitab8fb5a082513bb699b224c52ac82779752608fb
tree848dde3f0d86f0490ca9b92eb850d1317bb19c5f
parentd2724fe5bddb1ca9cb61c79ddfe78a09b92eebc5
radeonsi: drop useless memcmp() check in si_set_blend_color()

cso_set_blend_color() already checks if the old state is different.
Only Nine uses pipe::set_blend_color() directly but I guess it
should use the cache too.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_state.c