diff options
author | Niklas Haas <git@haasn.xyz> | 2017-07-20 11:26:01 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.xyz> | 2017-07-24 17:19:34 +0200 |
commit | 0c84ee01d5387e7c59d97de71046d173e4c3461a (patch) | |
tree | 6919885f0481f5927a8e69fe482a5fdce9e805d1 /video/out/opengl/user_shaders.h | |
parent | f338ec45912846a75dbb4217cad000ceb9b33d40 (diff) | |
download | mpv-0c84ee01d5387e7c59d97de71046d173e4c3461a.tar.bz2 mpv-0c84ee01d5387e7c59d97de71046d173e4c3461a.tar.xz |
vo_opengl: support user compute shaders
These are identical to regular fragment shader hooks, but with extra
metadata indicating the preferred block size.
Diffstat (limited to 'video/out/opengl/user_shaders.h')
-rw-r--r-- | video/out/opengl/user_shaders.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/opengl/user_shaders.h b/video/out/opengl/user_shaders.h index 458e925bc4..3b7913f236 100644 --- a/video/out/opengl/user_shaders.h +++ b/video/out/opengl/user_shaders.h @@ -66,6 +66,8 @@ struct gl_user_shader { struct szexp height[MAX_SZEXP_SIZE]; struct szexp cond[MAX_SZEXP_SIZE]; int components; + int compute_w; + int compute_h; }; // Parse the next shader pass from 'body'. Returns false if the end of the |