Skip to content
Snippets Groups Projects
Commit 4a3b42a7 authored by Jesse Natalie's avatar Jesse Natalie Committed by Marge Bot
Browse files

drisw: Prefer hardware-layered sw-winsys drivers over pure sw


Reviewed-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
Reviewed-by: default avatarEric Anholt <eric@anholt.net>
Part-of: <mesa/mesa!8128>
parent 27ed515c
No related branches found
No related tags found
Loading
......@@ -78,6 +78,12 @@ sw_screen_create(struct sw_winsys *winsys)
{
const char *drivers[] = {
debug_get_option("GALLIUM_DRIVER", ""),
#if defined(GALLIUM_ZINK)
"zink",
#endif
#if defined(GALLIUM_D3D12)
"d3d12",
#endif
#if defined(GALLIUM_LLVMPIPE)
"llvmpipe",
#endif
......@@ -86,12 +92,6 @@ sw_screen_create(struct sw_winsys *winsys)
#endif
#if defined(GALLIUM_SWR)
"swr",
#endif
#if defined(GALLIUM_ZINK)
"zink",
#endif
#if defined(GALLIUM_D3D12)
"d3d12",
#endif
};
......
......@@ -84,6 +84,12 @@ sw_screen_create(struct sw_winsys *winsys)
{
const char *drivers[] = {
debug_get_option("GALLIUM_DRIVER", ""),
#if defined(GALLIUM_ZINK)
"zink",
#endif
#if defined(GALLIUM_D3D12)
"d3d12",
#endif
#if defined(GALLIUM_LLVMPIPE)
"llvmpipe",
#endif
......@@ -92,12 +98,6 @@ sw_screen_create(struct sw_winsys *winsys)
#endif
#if defined(GALLIUM_SWR)
"swr",
#endif
#if defined(GALLIUM_ZINK)
"zink",
#endif
#if defined(GALLIUM_D3D12)
"d3d12",
#endif
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment