radeonsi: disable early Z if the fragment shader writes to memory
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 16 Mar 2016 01:58:12 +0000 (20:58 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 21 Mar 2016 20:34:25 +0000 (15:34 -0500)
commit6f942ac5eedec5b5517618c52434d7c0794163c2
tree33ab2cfc36644cb8adb0d847816cf273adf6c190
parent79762e877cd9b439d5f7697d3fea8d930ab05646
radeonsi: disable early Z if the fragment shader writes to memory

Empirically, both the EXEC_ON_* flags and LATE_Z are necessary.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_state_shaders.c