1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-29 05:57:37 +02:00

hwcontext_vulkan: enable VK_KHR_shader_relaxed_extended_instruction

This commit is contained in:
Lynne
2024-10-03 04:27:53 +02:00
parent 0d5bfd0b21
commit 535e5eb7f3
4 changed files with 43 additions and 0 deletions

View File

@@ -1481,6 +1481,8 @@ int ff_vk_shader_init(FFVulkanContext *s, FFVulkanShader *shd, const char *name,
GLSLC(0, #extension GL_EXT_scalar_block_layout : require );
GLSLC(0, #extension GL_EXT_buffer_reference : require );
GLSLC(0, #extension GL_EXT_buffer_reference2 : require );
if (s->extensions & FF_VK_EXT_RELAXED_EXTENDED_INSTR)
GLSLC(0, #extension GL_EXT_debug_printf : require );
if (stage == VK_SHADER_STAGE_TASK_BIT_EXT ||
stage == VK_SHADER_STAGE_MESH_BIT_EXT)