radeonsi: use a fragment shader blit instead of DB->CB copy for ZS CPU mappings
authorMarek Olšák <marek.olsak@amd.com>
Thu, 20 Jun 2019 22:32:57 +0000 (18:32 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 3 Jul 2019 19:51:12 +0000 (15:51 -0400)
commitc53e6ea05db490f8787255c03508a273ccabb9b8
tree2f8ad637b87d7969d389abea464833995468ab11
parent6686d8a130bb195d0e926d52f0e1e0f9243569be
radeonsi: use a fragment shader blit instead of DB->CB copy for ZS CPU mappings

This mainly removes and simplifies code that is no longer needed.

There were some issues with the DB->CB stencil copy on gfx10, so let's
just use a fragment shader blit for all ZS mappings. It's more reliable.

Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
src/gallium/drivers/radeonsi/si_blit.c
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_texture.c