r300: fail linking instead of using dummy shaders
authorPavel Ondračka <pavel.ondracka@gmail.com>
Tue, 25 Apr 2023 14:33:52 +0000 (16:33 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 5 Jun 2023 12:40:52 +0000 (12:40 +0000)
commit1021e2b946b18739b65b575b0770e6158ba05592
treeacacc175608f5080ca3c5074eded52dc7a9a4d71
parent9ae5c942da988009cd4c69270073b01f2374515f
r300: fail linking instead of using dummy shaders

We need to tell the apps about the hardware limtations, so that they
have a chance to take a fallback path. Fixes GTK misrendering, due to
use of the dummy shaders (now properly fallbacks to software).

Based on a MR by Filip Gawin.

Closes:https://gitlab.freedesktop.org/mesa/mesa/-/issues/7291

Signed-off-by: Pavel Ondračka <pavel.ondracka@gmail.com>
Reviewed-by: Filip Gawin <filip.gawin@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22708>
src/gallium/drivers/r300/ci/r300-r480-fails.txt
src/gallium/drivers/r300/ci/r300-rv370-fails.txt
src/gallium/drivers/r300/r300_screen.c