summaryrefslogtreecommitdiff
path: root/libavfilter/vf_overlay_vulkan.c
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2021-11-08 09:31:05 +0100
committerLynne <dev@lynne.ee>2021-11-12 05:23:41 +0100
commit246f841b53e16f2cccf3101cb61c264014f54e5c (patch)
tree6850f70277522b919b3b14d7b312e8bf960a4cac /libavfilter/vf_overlay_vulkan.c
parentfef85c376adabc15715ed8d9c53cc8e889c9c7dc (diff)
lavfi/glslang: migrate to the C API and robustify library detection
Finally, this is as close to usable as it gets for glslang. Much faster to compile as well, and eliminates the need for a C++ compiler, which is great. Also, changes to the resource limits won't break users, as we can use designated initializers in C90.
Diffstat (limited to 'libavfilter/vf_overlay_vulkan.c')
-rw-r--r--libavfilter/vf_overlay_vulkan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_overlay_vulkan.c b/libavfilter/vf_overlay_vulkan.c
index 77b3668819..f08800af2c 100644
--- a/libavfilter/vf_overlay_vulkan.c
+++ b/libavfilter/vf_overlay_vulkan.c
@@ -136,8 +136,8 @@ static av_cold int init_filter(AVFilterContext *ctx)
.buf_content = "ivec2 o_offset[3], o_size[3];",
};
- SPIRVShader *shd = ff_vk_init_shader(ctx, s->pl, "overlay_compute",
- VK_SHADER_STAGE_COMPUTE_BIT);
+ FFSPIRVShader *shd = ff_vk_init_shader(ctx, s->pl, "overlay_compute",
+ VK_SHADER_STAGE_COMPUTE_BIT);
if (!shd)
return AVERROR(ENOMEM);