radeonsi: only decompress the required ZS planes from si_blit
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 22 Apr 2016 18:46:13 +0000 (13:46 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 27 Apr 2016 16:16:39 +0000 (11:16 -0500)
commit0b70fc2db4555fb572fcb3695bf570f4720dbb81
treee3380cba72eb0610be6313cf5fefd4e2e9b166c6
parentdef53a0b3dd5e66f556b29fba06f55ff7f8b0a0e
radeonsi: only decompress the required ZS planes from si_blit

This happens to "fix" a rendering bug in KotOR2, because it avoids a still
not quite understood bug with MSAA fast stencil clear decompress. For the
stencil clear bug, I have sent a piglit test (arb_texture_multisample-stencil-clear).

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93767
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_blit.c