mirror of
https://github.com/librempeg/librempeg
synced 2024-11-22 00:51:37 +00:00
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:
parent
df4a67be72
commit
b151d3ef0b
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user