Fix messages for missing / deprecated GPUs

This commit is contained in:
David Anderson 2024-04-15 02:43:57 -07:00
parent 35c1539a9c
commit 7f6d2deffa
1 changed files with 9 additions and 4 deletions

View File

@ -293,13 +293,18 @@ int CLIENT_STATE::parse_state_file_aux(const char* fname) {
}
}
if (avp->missing_coproc) {
msg_printf(project, MSG_INFO,
"App version uses missing GPU '%s' - discarding",
avp->missing_coproc_name
);
if (strstr(avp->missing_coproc_name, "Apple ")) {
msg_printf(project, MSG_INFO,
"App version uses deprecated GPU type '%s' - discarding",
avp->missing_coproc_name
);
delete avp;
continue;
} else {
msg_printf(project, MSG_INFO,
"App version uses missing GPU '%s'",
avp->missing_coproc_name
);
}
}
retval = link_app_version(project, avp);