diff mbox series

[FFmpeg-devel,11/11] avutil/vulkan_glslang: fix compiling failure issue

Message ID 20211119135248.14518-11-jianhua.wu@intel.com
State Accepted
Commit ff82bd5a008e277e2120231d61a9d147b5b6312d
Headers show
Series [FFmpeg-devel,01/11] avfilter/avgblur_vulkan: check if shader is created with success | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_ppc success Make finished
andriy/make_fate_ppc success Make fate finished

Commit Message

Wu Jianhua Nov. 19, 2021, 1:52 p.m. UTC
Signed-off-by: Wu Jianhua <jianhua.wu@intel.com>
---
 libavutil/vulkan_glslang.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/libavutil/vulkan_glslang.c b/libavutil/vulkan_glslang.c
index ac5efe2365..e7785f6d40 100644
--- a/libavutil/vulkan_glslang.c
+++ b/libavutil/vulkan_glslang.c
@@ -219,10 +219,10 @@  static int glslc_shader_compile(FFVkSPIRVCompiler *ctx, void *avctx,
 
     messages = glslang_program_SPIRV_get_messages(glslc_program);
     if (messages) {
-        ff_vk_print_shader(s, shd, AV_LOG_WARNING);
+        ff_vk_print_shader(avctx, shd, AV_LOG_WARNING);
         av_log(avctx, AV_LOG_WARNING, "%s\n", messages);
     } else {
-        ff_vk_print_shader(s, shd, AV_LOG_VERBOSE);
+        ff_vk_print_shader(avctx, shd, AV_LOG_VERBOSE);
     }
 
     glslang_shader_delete(glslc_shader);