summaryrefslogtreecommitdiff
path: root/libavfilter/vf_avgblur_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_avgblur_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_avgblur_vulkan.c')
-rw-r--r--libavfilter/vf_avgblur_vulkan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_avgblur_vulkan.c b/libavfilter/vf_avgblur_vulkan.c
index 158ccf02df..bf02dab1db 100644
--- a/libavfilter/vf_avgblur_vulkan.c
+++ b/libavfilter/vf_avgblur_vulkan.c
@@ -70,7 +70,7 @@ static const char blur_kernel[] = {
static av_cold int init_filter(AVFilterContext *ctx, AVFrame *in)
{
int err;
- SPIRVShader *shd;
+ FFSPIRVShader *shd;
AvgBlurVulkanContext *s = ctx->priv;
const int planes = av_pix_fmt_count_planes(s->vkctx.output_format);
VkSampler *sampler = ff_vk_init_sampler(ctx, 1, VK_FILTER_LINEAR);