We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcf5c1c commit b32633fCopy full SHA for b32633f
1 file changed
Graphics/Archiver/src/Archiver_GL.cpp
@@ -450,6 +450,14 @@ class CompiledShaderGL final : public SerializedShaderImpl::CompiledShader
450
Options.enable_420pack_extension = false;
451
# endif
452
453
+ if (!Options.separate_shader_objects)
454
+ {
455
+ // We do not emit binding qualifiers when separate_shader_objects disable.
456
+ // Let OpenGL driver do the binding qualifiers allocation.
457
+ Options.version = 410;
458
+ Options.enable_420pack_extension = false;
459
+ }
460
+
461
CompilerGLSL Compiler{std::move(SPIRV)};
462
Compiler.set_common_options(Options);
463
0 commit comments