[FFmpeg-cvslog] vulkan: always enable GL_EXT_shader_explicit_arithmetic_types
Lynne
git at videolan.org
Sun Oct 6 08:13:49 EEST 2024
ffmpeg | branch: master | Lynne <dev at lynne.ee> | Sun Oct 6 07:06:04 2024 +0200| [8c250da8f3abe7ce08f37a57c17bebead29de873] | committer: Lynne
vulkan: always enable GL_EXT_shader_explicit_arithmetic_types
Implicit types were a mistake.
lowp/mediump/highp was a sin.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8c250da8f3abe7ce08f37a57c17bebead29de873
---
libavutil/vulkan.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c
index cd617496dc..a637af57f5 100644
--- a/libavutil/vulkan.c
+++ b/libavutil/vulkan.c
@@ -1479,6 +1479,7 @@ 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 );
+ GLSLC(0, #extension GL_EXT_shader_explicit_arithmetic_types : require );
if ((s->extensions & FF_VK_EXT_DEBUG_UTILS) &&
(s->extensions & FF_VK_EXT_RELAXED_EXTENDED_INSTR))
GLSLC(0, #extension GL_EXT_debug_printf : require );
More information about the ffmpeg-cvslog
mailing list