gallium/util: rewrite depth-stencil blit shaders
authorMarek Olšák <marek.olsak@amd.com>
Thu, 20 Jun 2019 23:52:23 +0000 (19:52 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 3 Jul 2019 19:51:12 +0000 (15:51 -0400)
commit13a5e9d68528236676ff7975fcf61ca26ae3baa0
tree0586326b000dd008af354a48346b6aeebc74f5f4
parent131d40cfc91fc08cd8086478c344e3091f9f3833
gallium/util: rewrite depth-stencil blit shaders

- merge all 3 functions (Z, S, ZS)
- don't write the color output
- read the value from texel.x, then write it to position.z or stencil.y
  (don't use the value from texel.y or texel.z)

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