summaryrefslogtreecommitdiffstats
path: root/video/out/gpu/video.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2017-09-17 05:37:24 +0200
committerNiklas Haas <git@haasn.xyz>2017-09-21 15:15:59 +0200
commitb9406917849748152c45b9347da1ef204970f59e (patch)
tree3328cb7958465ea8ee9ebb84b86e62a9829ccc91 /video/out/gpu/video.c
parent03fee22c4db5afb1c84d8772ebd8f18210b3e062 (diff)
downloadmpv-b9406917849748152c45b9347da1ef204970f59e.tar.bz2
mpv-b9406917849748152c45b9347da1ef204970f59e.tar.xz
vo_gpu: drop the RA_CAP_NESTED_ARRAY req from EWA compute
Almost as fast as the old code, but more general. Notably, glslang doesn't support nested arrays. (cf. https://github.com/KhronosGroup/glslang/issues/1057) Also much cleaner code-wise, so I think I'll keep it even if glslang implements array_of_arrays.
Diffstat (limited to 'video/out/gpu/video.c')
-rw-r--r--video/out/gpu/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gpu/video.c b/video/out/gpu/video.c
index 9f1654e584..476dae14a8 100644
--- a/video/out/gpu/video.c
+++ b/video/out/gpu/video.c
@@ -1671,7 +1671,7 @@ static void pass_sample_separated(struct gl_video *p, struct img_tex src,
static void pass_dispatch_sample_polar(struct gl_video *p, struct scaler *scaler,
struct img_tex tex, int w, int h)
{
- uint64_t reqs = RA_CAP_COMPUTE | RA_CAP_NESTED_ARRAY;
+ uint64_t reqs = RA_CAP_COMPUTE;
if ((p->ra->caps & reqs) != reqs)
goto fallback;