mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 21:41:26 +12:00
vk: Emit a strong warning if dozen is detected as the currently loaded driver.
- In most cases, the user does not intend to actually use dozen and has installed a compatibility pack by mistake.
This commit is contained in:
parent
a54f1970f1
commit
c8c845a659
1 changed files with 15 additions and 0 deletions
|
@ -121,6 +121,21 @@ namespace vk
|
||||||
case driver_vendor::MVK:
|
case driver_vendor::MVK:
|
||||||
// Apple GPUs / moltenVK need more testing
|
// Apple GPUs / moltenVK need more testing
|
||||||
break;
|
break;
|
||||||
|
case driver_vendor::LAVAPIPE:
|
||||||
|
// This software device works well, with poor performance as the only downside
|
||||||
|
break;
|
||||||
|
case driver_vendor::DOZEN:
|
||||||
|
// This driver is often picked by mistake when the user meant to select something else. Complain loudly.
|
||||||
|
#ifdef _WIN32
|
||||||
|
MessageBox(NULL,
|
||||||
|
L"You're attempting to run rpcs3 on Microsoft's Dozen driver that emulates vulkan on top of Direct3D12.\n"
|
||||||
|
"This driver is unsupported. You should use your vendor's vulkan driver whenever possible.",
|
||||||
|
L"Unsupported Driver",
|
||||||
|
MB_ICONWARNING | MB_OK);
|
||||||
|
#else
|
||||||
|
rsx_log.error("Dozen is currently unsupported. How did you even get this to run outside windows?");
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
rsx_log.warning("Unsupported device: %s", gpu_name);
|
rsx_log.warning("Unsupported device: %s", gpu_name);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue