summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-11-20 20:59:37 +0100
committersfan5 <sfan5@live.de>2021-11-22 18:08:56 +0100
commitd5d62c6a6459412c86bd8d09be248810364a2405 (patch)
tree9ee6ee69c48286b9acccf3957e2114b705c31b03 /wscript_build.py
parentf32ea013dd41a1baa59c1cd696ed29ce21baca99 (diff)
downloadmpv-d5d62c6a6459412c86bd8d09be248810364a2405.tar.bz2
mpv-d5d62c6a6459412c86bd8d09be248810364a2405.tar.xz
vo_gpu_next: factor out context-specific code to gpu_next/context.c
This is done to avoid cluttering vo_gpu_next.c with more ifdeffery and context-specific code when additional backends are added in the near future. Eventually gpu_ctx is intended to take the place of ra_ctx to further separate gpu and gpu_next.
Diffstat (limited to 'wscript_build.py')
-rw-r--r--wscript_build.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript_build.py b/wscript_build.py
index c0dd23bb1c..9fc0d25a51 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -451,6 +451,7 @@ def build(ctx):
( "video/out/gpu/utils.c" ),
( "video/out/gpu/video.c" ),
( "video/out/gpu/video_shaders.c" ),
+ ( "video/out/gpu_next/context.c", "libplacebo-v4" ),
( "video/out/hwdec/hwdec_cuda.c", "cuda-interop" ),
( "video/out/hwdec/hwdec_cuda_gl.c", "cuda-interop && gl" ),
( "video/out/hwdec/hwdec_cuda_vk.c", "cuda-interop && vulkan" ),