diff options
author | Niklas Haas <git@haasn.xyz> | 2018-02-03 17:07:55 +0100 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2018-02-05 23:11:18 -0800 |
commit | 0870859e3d3658ae7cc69201cfc4bbe41d93fbf5 (patch) | |
tree | a7972eed1ad94c9c612c6649117a1374d15bfe08 /video/out/vulkan | |
parent | 599724850549221abc5a23b3b10d2b327e3ab31a (diff) | |
download | mpv-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/vulkan')
-rw-r--r-- | video/out/vulkan/ra_vk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vulkan/ra_vk.c b/video/out/vulkan/ra_vk.c index 5e6fae74ed..cffb895cfd 100644 --- a/video/out/vulkan/ra_vk.c +++ b/video/out/vulkan/ra_vk.c @@ -209,7 +209,7 @@ struct ra *ra_create_vk(struct mpvk_ctx *vk, struct mp_log *log) ra->max_pushc_size = vk->limits.maxPushConstantsSize; if (vk->pool_compute) { - ra->caps |= RA_CAP_COMPUTE; + ra->caps |= RA_CAP_COMPUTE | RA_CAP_NUM_GROUPS; // If we have more compute queues than graphics queues, we probably // want to be using them. (This seems mostly relevant for AMD) if (vk->pool_compute->num_queues > vk->pool_graphics->num_queues) |