r300,r600,svga: save the FS constant buffer for u_blitter to fix a regression
authorMarek Olšák <marek.olsak@amd.com>
Wed, 25 May 2022 16:22:45 +0000 (12:22 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 27 May 2022 00:01:41 +0000 (00:01 +0000)
commit3d6e44fd2a1a2790263fcd6d24a1cc606fed0de9
treeff4e00b013c1a300af8f8380937953baeceeb3d4
parentd827d433ce530ca558bc8a66a8b01d8a1d59aeb5
r300,r600,svga: save the FS constant buffer for u_blitter to fix a regression

Fixes: 773a23eb6da - gallium/u_blitter: clear color buffers using color from a constant buffer
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6548
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6539

Tested-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
Tested-by: Pavel Ondračka <pavel.ondracka@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16711>
src/gallium/drivers/r300/r300_blit.c
src/gallium/drivers/r600/r600_blit.c
src/gallium/drivers/svga/svga_pipe_clear.c