r600g: Drop references to destroyed blend state
authorMichel Dänzer <michel.daenzer@amd.com>
Tue, 21 Oct 2014 03:40:15 +0000 (12:40 +0900)
committerMichel Dänzer <michel@daenzer.net>
Wed, 22 Oct 2014 08:09:43 +0000 (17:09 +0900)
commitae879718c4086fc5905070e7f26dfa2757df0c86
tree7251e5c37089a8ba46696fbab8e5b2b5243e82b9
parent6dc6e6e0d979aa666e2934ae40477195e4d37ceb
r600g: Drop references to destroyed blend state

Fixes use-after-free when the currently bound blend state is destroyed.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85267
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84140

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Cc: mesa-stable@lists.freedesktop.org
src/gallium/drivers/r600/r600_state_common.c