You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-29 05:57:37 +02:00
vulkan: add profiling debug setting
This simply keeps all shader optimizations, but allows debug data to be generated.
This commit is contained in:
@@ -1479,7 +1479,8 @@ int ff_vk_shader_init(FFVulkanContext *s, FFVulkanShader *shd, const char *name,
|
||||
GLSLC(0, #define IS_WITHIN(v1, v2) ((v1.x < v2.x) && (v1.y < v2.y)) );
|
||||
GLSLC(0, );
|
||||
GLSLC(0, #extension GL_EXT_scalar_block_layout : require );
|
||||
if (s->extensions & FF_VK_EXT_RELAXED_EXTENDED_INSTR)
|
||||
if ((s->extensions & FF_VK_EXT_DEBUG_UTILS) &&
|
||||
(s->extensions & FF_VK_EXT_RELAXED_EXTENDED_INSTR))
|
||||
GLSLC(0, #extension GL_EXT_debug_printf : require );
|
||||
|
||||
if (stage == VK_SHADER_STAGE_TASK_BIT_EXT ||
|
||||
|
||||
Reference in New Issue
Block a user