build(windows): add arm64 support (#3905)
Signed-off-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Signed-off-by: Coia Prant <coiaprant@gmail.com> Co-authored-by: Ricky8955555 <rkmiao@duck.com> Co-authored-by: Mike Fara <mjfara@gmail.com> Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
This commit is contained in:
@@ -1907,6 +1907,12 @@ namespace platf::dxgi {
|
||||
if (!boost::algorithm::ends_with(name, "_nvenc")) {
|
||||
return false;
|
||||
}
|
||||
} else if (adapter_desc.VendorId == 0x4D4F4351 || // Qualcomm (QCOM as MOQC reversed)
|
||||
adapter_desc.VendorId == 0x5143) { // Qualcomm alternate ID
|
||||
// If it's not a MediaFoundation encoder, it's not compatible with a Qualcomm GPU
|
||||
if (!boost::algorithm::ends_with(name, "_mf")) {
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
BOOST_LOG(warning) << "Unknown GPU vendor ID: " << util::hex(adapter_desc.VendorId).to_string_view();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user