vulkan: always enable GL_EXT_shader_explicit_arithmetic_types

Implicit types were a mistake.
lowp/mediump/highp was a sin.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Lynne 2024-10-06 07:06:04 +02:00 committed by Paul B Mahol
parent df4a67be72
commit b151d3ef0b

View File

@ -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, #define IS_WITHIN(v1, v2) ((v1.x < v2.x) && (v1.y < v2.y)) );
GLSLC(0, ); GLSLC(0, );
GLSLC(0, #extension GL_EXT_scalar_block_layout : require ); 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) && if ((s->extensions & FF_VK_EXT_DEBUG_UTILS) &&
(s->extensions & FF_VK_EXT_RELAXED_EXTENDED_INSTR)) (s->extensions & FF_VK_EXT_RELAXED_EXTENDED_INSTR))
GLSLC(0, #extension GL_EXT_debug_printf : require ); GLSLC(0, #extension GL_EXT_debug_printf : require );