radeonsi: set DECOMPRESS_Z_ON_FLUSH if nr_samples >= 4
authorMarek Olšák <marek.olsak@amd.com>
Tue, 3 May 2016 10:29:16 +0000 (12:29 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 6 May 2016 10:56:47 +0000 (12:56 +0200)
commit901f57dff543f89c03c9e1e4eb4bdd79c16cbeb7
tree738e3c23633c669014a466d1cd77e351580dedee
parent4489d75a58716327380d6b2e8c3db7df0be3c717
radeonsi: set DECOMPRESS_Z_ON_FLUSH if nr_samples >= 4

Vulkan always sets this. It only affects in-place Z decompression.
This is recommended for performance, but what app uses MSAA depth
texturing?

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_state.c