summaryrefslogtreecommitdiffstats
path: root/video/out/gpu/user_shaders.h
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2017-09-27 23:38:54 +0200
committerNiklas Haas <git@haasn.xyz>2017-09-28 01:54:33 +0200
commit002a0ce23200c7044ce744555223e4b884350436 (patch)
tree9c6e6268d9d23dcb7ae6d449b2991192847616ba /video/out/gpu/user_shaders.h
parent77547d7c1951904a25da155f3ad679d8dbc86570 (diff)
downloadmpv-002a0ce23200c7044ce744555223e4b884350436.tar.bz2
mpv-002a0ce23200c7044ce744555223e4b884350436.tar.xz
vo_gpu: kill some static arrays
This gets rid of the hard-coded limits on the number of hooks, textures and hook points.
Diffstat (limited to 'video/out/gpu/user_shaders.h')
-rw-r--r--video/out/gpu/user_shaders.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/video/out/gpu/user_shaders.h b/video/out/gpu/user_shaders.h
index 94a070c8e2..058752416d 100644
--- a/video/out/gpu/user_shaders.h
+++ b/video/out/gpu/user_shaders.h
@@ -21,10 +21,8 @@
#include "utils.h"
#include "ra.h"
-#define SHADER_MAX_PASSES 32
#define SHADER_MAX_HOOKS 16
#define SHADER_MAX_BINDS 6
-#define SHADER_MAX_SAVED 64
#define MAX_SZEXP_SIZE 32
enum szexp_op {