You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 16, 2025. It is now read-only.
I've got glsl-language-server set up on Neovim using require'lspconfig'.glslls.setup{}. Working fine, but I'm getting diagnostics saying 'glslang: 'non-opaque uniforms outside a block': not allowed when using GLSL for Vulkan'
I'm not using Vulkan though. Is there a way to configure the language server for OpenGL Legacy?
The text was updated successfully, but these errors were encountered:
Thanks for the suggestion! I've tried adding require("lspconfig").glslls.setup({ cmd = { "glslls", "--stdin", "--target-env=opengl" } }) in my Neovim setup. So far no change, as far as I can tell. LSP works, but catered to Vulkan it seems.
@SanderNotenbaert@nolanderc I created draft PR, that solved this problem for me.
But I don't have exp in c++, and might did smth wrong. Anyway I would appreciate if you tried to test my fixes and provided some feedback if fixes work for you as well.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Uh oh!
There was an error while loading. Please reload this page.
I've got glsl-language-server set up on Neovim using
require'lspconfig'.glslls.setup{}
. Working fine, but I'm getting diagnostics saying'glslang: 'non-opaque uniforms outside a block': not allowed when using GLSL for Vulkan'
I'm not using Vulkan though. Is there a way to configure the language server for OpenGL Legacy?
The text was updated successfully, but these errors were encountered: