vlc/vlc-3.0 | branch: master | Steve Lhomme <[email protected]> | Tue Feb 12 08:01:33 2019 +0100| [14d56588c69736177d3e6cfe1b1f7e316f429b1e] | committer: Steve Lhomme
direct3d11: only check the revision version of the AMD drivers No need to check the WDDM version or DirectX feature level (cherry picked from commit 2fbea81725c42a5305c5cd213359a08eaed800b4) > http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=14d56588c69736177d3e6cfe1b1f7e316f429b1e --- modules/video_output/win32/direct3d11.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c index 48326ff9d4..cc94670ae1 100644 --- a/modules/video_output/win32/direct3d11.c +++ b/modules/video_output/win32/direct3d11.c @@ -1469,10 +1469,7 @@ static bool CanUseTextureArray(vout_display_t *vd) return false; #else struct wddm_version WDDM = { - .wddm = 22, - .d3d_features = 19, - .revision = 162, - .build = 0, + .revision = 162, // 17.5.1 - 2017/05/04 }; if (D3D11CheckDriverVersion(&vd->sys->d3d_dev, GPU_MANUFACTURER_AMD, &WDDM) == VLC_SUCCESS) return true; @@ -1503,10 +1500,7 @@ static bool BogusZeroCopy(vout_display_t *vd) case 0x15DD: // RX Vega 8/11 (Ryzen iGPU) { struct wddm_version WDDM = { - .wddm = 0, - .d3d_features = 0, - .revision = 14011, - .build = 0, + .revision = 14011, // 18.10.2 - 2018/06/11 }; return D3D11CheckDriverVersion(&vd->sys->d3d_dev, GPU_MANUFACTURER_AMD, &WDDM) != VLC_SUCCESS; } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
