mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
zink: allow sw loading with D3D_ALWAYS_SOFTWARE for nine
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17775>
This commit is contained in:
parent
cbbf25abfd
commit
8f7b892957
1 changed files with 2 additions and 1 deletions
|
|
@ -1323,7 +1323,8 @@ choose_pdev(struct zink_screen *screen)
|
|||
assert(pdev_count > 0);
|
||||
|
||||
VkPhysicalDeviceProperties props;
|
||||
bool cpu = debug_get_bool_option("LIBGL_ALWAYS_SOFTWARE", false);
|
||||
bool cpu = debug_get_bool_option("LIBGL_ALWAYS_SOFTWARE", false) ||
|
||||
debug_get_bool_option("D3D_ALWAYS_SOFTWARE", false);
|
||||
/* priority when multiple drivers are available (highest to lowest):
|
||||
VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU
|
||||
VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue