radeonsi: use re-Z
authorMarek Olšák <marek.olsak@amd.com>
Sun, 21 Feb 2016 23:40:04 +0000 (00:40 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 29 Feb 2016 23:18:19 +0000 (00:18 +0100)
commitd0f3b524cdb8489a6872ba3639a13813de221fc2
treec918a3180af2a75e4f0a8c58b156a7cb9d21a084
parent09bfbd43a0818c67cb0a6dd4437cc4946e0af5dc
radeonsi: use re-Z

This can increase perf for shaders that kill pixels (kill, alpha-test,
alpha-to-coverage).

v2: add comments

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state_shaders.c