r600g: fix alpha-test with HyperZ enabled, fixing L4D2 tree corruption
authorMarek Olšák <marek.olsak@amd.com>
Tue, 2 Sep 2014 18:38:08 +0000 (20:38 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 3 Sep 2014 09:50:21 +0000 (11:50 +0200)
commit8abdc3c4a9c81e359d5dc1694253b05dd5562c95
treefe9f8a3b470b69337d61d3ff1fa608b01c3b3a66
parent2adf7ee92e19ca978d6dac29fead59f14d033f3e
r600g: fix alpha-test with HyperZ enabled, fixing L4D2 tree corruption

*_update_db_shader_control depends on the alpha test state. The problem was
it was in a block which is only entered if the pixel shader is changed.

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

Cc: mesa-stable@lists.freedesktop.org
Tested-by: Benjamin Bellec <b.bellec@gmail.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/r600/r600_state_common.c