r600/sfn: Add a forced output swizzle for depth write
authorGert Wollny <gert.wollny@collabora.com>
Sat, 18 Jul 2020 19:33:54 +0000 (21:33 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 20 Jul 2020 09:32:51 +0000 (09:32 +0000)
commitc18b1c6df5108112445c34b30680d8818202a4cb
tree3830aedc5536b9c3da3645eea1485a113dfd5387
parentd31ef0b7a4b9bc4e36733e68aaff19399cb6d56c
r600/sfn: Add a forced output swizzle for depth write

This makes sure no components are written that shouldn't be written.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5963>
src/gallium/drivers/r600/sfn/sfn_shader_fragment.cpp