summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossy@jrg.systems>2017-10-30 23:01:20 +1100
committerJames Ross-Gowan <rossy@jrg.systems>2017-11-07 20:27:13 +1100
commitb258d82d6eab5cec7f27f4d6780bf991d28aadef (patch)
tree1e93b13d1d49bc35d766e5273099a726d8919c97 /wscript
parentb9c12868936a8b99d282647e9885c341c1eca286 (diff)
downloadmpv-b258d82d6eab5cec7f27f4d6780bf991d28aadef.tar.bz2
mpv-b258d82d6eab5cec7f27f4d6780bf991d28aadef.tar.xz
vo_gpu: d3d11: enhance cache invalidation
The shader cache in ra_d3d11 caches the result of shaderc, crossc and the D3DCompiler DLL, so it should be invalidated when any of those components are updated. This should make the cache more reliable, which makes it safer to enable gpu-shader-cache-dir. Shader compilation is slow with D3D11, so gpu-shader-cache-dir is highly necessary
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index 50cbccf2ce..de0a02ec5b 100644
--- a/wscript
+++ b/wscript
@@ -176,7 +176,7 @@ main_dependencies = [
'name': 'win32-desktop',
'desc': 'win32 desktop APIs',
'deps': '(os-win32 || os-cygwin) && !uwp',
- 'func': check_cc(lib=['winmm', 'gdi32', 'ole32', 'uuid', 'avrt', 'dwmapi']),
+ 'func': check_cc(lib=['winmm', 'gdi32', 'ole32', 'uuid', 'avrt', 'dwmapi', 'version']),
}, {
'name': '--win32-internal-pthreads',
'desc': 'internal pthread wrapper for win32 (Vista+)',