Add relaxed Vulkan flag;

This commit is contained in:
bjorn 2024-02-01 18:53:20 -08:00
parent f7c1d4cccb
commit 035d359133
1 changed files with 1 additions and 0 deletions

View File

@ -2600,6 +2600,7 @@ ShaderSource lovrGraphicsCompileShader(ShaderStage stage, ShaderSource* source,
int options = 0;
options |= GLSLANG_SHADER_AUTO_MAP_BINDINGS;
options |= GLSLANG_SHADER_AUTO_MAP_LOCATIONS;
options |= GLSLANG_SHADER_VULKAN_RULES_RELAXED;
glslang_shader_set_options(shader, options);