[vlc-commits] direct3d11: the RX Vega zero copy issue is fixed in drivers 24.20.14011.xxx
Steve Lhomme
git at videolan.org
Mon Dec 3 17:50:47 CET 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Dec 3 17:45:14 2018 +0100| [4791208a7461e21f274571ff18bd7bcee093bd57] | committer: Steve Lhomme
direct3d11: the RX Vega zero copy issue is fixed in drivers 24.20.14011.xxx
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4791208a7461e21f274571ff18bd7bcee093bd57
---
modules/video_output/win32/direct3d11.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index 4474c46491..e70180e54b 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -1465,7 +1465,15 @@ static bool BogusZeroCopy(vout_display_t *vd)
case 0x687F: // RX Vega 56/64
case 0x6863: // RX Vega Frontier Edition
case 0x15DD: // RX Vega 8/11 (Ryzen iGPU)
- return true;
+ {
+ struct wddm_version WDDM = {
+ .wddm = 0,
+ .d3d_features = 0,
+ .revision = 14011,
+ .build = 0,
+ };
+ return D3D11CheckDriverVersion(&vd->sys->d3d_dev, GPU_MANUFACTURER_AMD, &WDDM) != VLC_SUCCESS;
+ }
default:
return false;
}
More information about the vlc-commits
mailing list