summaryrefslogtreecommitdiffstats
path: root/video/out/gpu/ra.h
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2018-02-03 17:07:55 +0100
committerKevin Mitchell <kevmitch@gmail.com>2018-02-05 23:11:18 -0800
commit0870859e3d3658ae7cc69201cfc4bbe41d93fbf5 (patch)
treea7972eed1ad94c9c612c6649117a1374d15bfe08 /video/out/gpu/ra.h
parent599724850549221abc5a23b3b10d2b327e3ab31a (diff)
downloadmpv-0870859e3d3658ae7cc69201cfc4bbe41d93fbf5.tar.bz2
mpv-0870859e3d3658ae7cc69201cfc4bbe41d93fbf5.tar.xz
vo_gpu: add RA_CAP for gl_NumWorkGroups
SPIRV-Cross doesn't support this for the time being. It's possible this could go away again at a later date.
Diffstat (limited to 'video/out/gpu/ra.h')
-rw-r--r--video/out/gpu/ra.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/gpu/ra.h b/video/out/gpu/ra.h
index 34f3fb9b5c..f1037e45c3 100644
--- a/video/out/gpu/ra.h
+++ b/video/out/gpu/ra.h
@@ -54,6 +54,7 @@ enum {
RA_CAP_GATHER = 1 << 9, // supports textureGather in GLSL
RA_CAP_FRAGCOORD = 1 << 10, // supports reading from gl_FragCoord
RA_CAP_PARALLEL_COMPUTE = 1 << 11, // supports parallel compute shaders
+ RA_CAP_NUM_GROUPS = 1 << 12, // supports gl_NumWorkGroups
};
enum ra_ctype {