drisw: Prefer hardware-layered sw-winsys drivers over pure sw
Reviewed-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8128>
This commit is contained in:
parent
27ed515c05
commit
4a3b42a717
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue