mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-27 04:54:15 +01:00
[dxvk] Don't skip CPU devices when a device filter is set
This commit is contained in:
parent
13bd234cea
commit
31a4679960
@ -33,9 +33,7 @@ namespace dxvk {
|
|||||||
if (m_flags.test(DxvkDeviceFilterFlag::MatchDeviceName)) {
|
if (m_flags.test(DxvkDeviceFilterFlag::MatchDeviceName)) {
|
||||||
if (std::string(properties.deviceName).find(m_matchDeviceName) == std::string::npos)
|
if (std::string(properties.deviceName).find(m_matchDeviceName) == std::string::npos)
|
||||||
return false;
|
return false;
|
||||||
}
|
} else if (m_flags.test(DxvkDeviceFilterFlag::SkipCpuDevices)) {
|
||||||
|
|
||||||
if (m_flags.test(DxvkDeviceFilterFlag::SkipCpuDevices)) {
|
|
||||||
if (properties.deviceType == VK_PHYSICAL_DEVICE_TYPE_CPU) {
|
if (properties.deviceType == VK_PHYSICAL_DEVICE_TYPE_CPU) {
|
||||||
Logger::warn(str::format("Skipping CPU adapter: ", properties.deviceName));
|
Logger::warn(str::format("Skipping CPU adapter: ", properties.deviceName));
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user