fix: Look for NAVI in device name for AMD GPUs

pull/849/head
Gustavo Parreira 2 years ago committed by flightlessmango
parent c670203a5b
commit 96f72e2352

@ -131,7 +131,8 @@ void imgui_create(void *ctx)
SPDLOG_DEBUG("deviceName: {}", deviceName);
sw_stats.deviceName = deviceName;
if (deviceName.find("Radeon") != std::string::npos
|| deviceName.find("AMD") != std::string::npos){
|| deviceName.find("AMD") != std::string::npos
|| deviceName.find("NAVI") != std::string::npos) {
vendorID = 0x1002;
} else {
vendorID = 0x10de;

Loading…
Cancel
Save