[FFmpeg-cvslog] vulkan_shaderc: add debug information to shaders
Lynne
git at videolan.org
Sun Aug 11 06:21:09 EEST 2024
ffmpeg | branch: master | Lynne <dev at lynne.ee> | Wed Jul 24 11:44:06 2024 +0200| [12f868cab558af8e32829eb5ed38189ce9b93f72] | committer: Lynne
vulkan_shaderc: add debug information to shaders
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=12f868cab558af8e32829eb5ed38189ce9b93f72
---
libavfilter/vulkan_shaderc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavfilter/vulkan_shaderc.c b/libavfilter/vulkan_shaderc.c
index 455e81767e..9e8a3d17ac 100644
--- a/libavfilter/vulkan_shaderc.c
+++ b/libavfilter/vulkan_shaderc.c
@@ -51,6 +51,7 @@ static int shdc_shader_compile(FFVkSPIRVCompiler *ctx, void *avctx,
shaderc_compile_options_set_target_env(opts, shaderc_target_env_vulkan,
shaderc_env_version_vulkan_1_2);
shaderc_compile_options_set_target_spirv(opts, shaderc_spirv_version_1_5);
+ shaderc_compile_options_set_generate_debug_info(opts);
shaderc_compile_options_set_optimization_level(opts,
shaderc_optimization_level_performance);
More information about the ffmpeg-cvslog
mailing list