未验证 提交 e582a608 编写于 作者: J Jim 提交者: GitHub

Merge pull request #2098 from jpark37/disable-warp-nv12

libobs-d3d11: Disable NV12 format support for WARP
......@@ -390,6 +390,11 @@ void gs_device::InitDevice(uint32_t adapterIdx)
nv12Supported = false;
/* WARP NV12 support is suspected to be buggy on older Windows */
if (desc.VendorId == 0x1414 && desc.DeviceId == 0x8c) {
return;
}
/* Intel CopyResource is very slow with NV12 */
if (desc.VendorId == 0x8086) {
return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册