[vlc-commits] direct3d11: more restrictions on AMD drivers capable to display decoder NV12
Steve Lhomme
git at videolan.org
Tue Jun 11 09:55:56 CEST 2019
vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Jun 11 09:49:44 2019 +0200| [477ed1806ad8e0101f6b1aec8561b26f8280318a] | committer: Steve Lhomme
direct3d11: more restrictions on AMD drivers capable to display decoder NV12
Old driver versions had a revision number bigger than 1000.
VLC 3.0.6 had a check on
.wddm = 22,
.d3d_features = 19,
.revision = 162,
.build = 0,
(cherry picked from commit 72022d99277b4b66a1990a59156edc2938d7f112)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=477ed1806ad8e0101f6b1aec8561b26f8280318a
---
modules/video_output/win32/direct3d11.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index 99c0cf6dbf..46a05dc03c 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -1469,7 +1469,10 @@ static bool CanUseTextureArray(vout_display_t *vd)
return false;
#else
struct wddm_version WDDM = {
- .revision = 162, // 17.5.1 - 2017/05/04
+ .wddm = 20, // starting with drivers designed for W10
+ // 15.200.1062.1004 is wrong - 2015/08/03
+ // 22.19.165.3 is good - 2017/05/04
+ .revision = 162, // 17.5.1
};
if (D3D11CheckDriverVersion(&vd->sys->d3d_dev, GPU_MANUFACTURER_AMD, &WDDM) == VLC_SUCCESS)
return true;
More information about the vlc-commits
mailing list