aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_scale_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_scale_vulkan.c
parentfef85c376adabc15715ed8d9c53cc8e889c9c7dc (diff)
downloadffmpeg-246f841b53e16f2cccf3101cb61c264014f54e5c.tar.gz
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_scale_vulkan.c')
-rw-r--r--libavfilter/vf_scale_vulkan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_scale_vulkan.c b/libavfilter/vf_scale_vulkan.c
index 83e101954b..680e9c2f4f 100644
--- a/libavfilter/vf_scale_vulkan.c
+++ b/libavfilter/vf_scale_vulkan.c
@@ -170,8 +170,8 @@ static av_cold int init_filter(AVFilterContext *ctx, AVFrame *in)
.buf_content = "mat4 yuv_matrix;",
};
- SPIRVShader *shd = ff_vk_init_shader(ctx, s->pl, "scale_compute",
- VK_SHADER_STAGE_COMPUTE_BIT);
+ FFSPIRVShader *shd = ff_vk_init_shader(ctx, s->pl, "scale_compute",
+ VK_SHADER_STAGE_COMPUTE_BIT);
if (!shd)
return AVERROR(ENOMEM);