gallium/u_blitter: implement copying from ZS to color and vice versa
authorMarek Olšák <marek.olsak@amd.com>
Thu, 20 Jun 2019 22:24:19 +0000 (18:24 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 3 Jul 2019 19:51:12 +0000 (15:51 -0400)
commit6686d8a130bb195d0e926d52f0e1e0f9243569be
treee4de820d9022a7609dad8fde06ae22845c55a34e
parent13a5e9d68528236676ff7975fcf61ca26ae3baa0
gallium/u_blitter: implement copying from ZS to color and vice versa

This is for drivers that can't map depth and stencil and need to blit
them to a color texture for CPU access.

This also useful for drivers using separate depth and stencil.

Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h
src/gallium/auxiliary/util/u_blitter.c
src/gallium/auxiliary/util/u_blitter.h
src/gallium/auxiliary/util/u_simple_shaders.c
src/gallium/auxiliary/util/u_simple_shaders.h