-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect highlighting for push constants #107
Comments
Do you compile shader via external compiler? Do you pass -V argument to the external compiler? |
Hm.... I compile the shaders to Spir-V simply using the "glslc.exe" from the Vulkan SDK. I do not pass any special arguments. In either case, what should that have do with the syntax highlighting? |
The syntax highlighting ask the compiler set in the options for an error list and produces the squiggles. |
I have this problem too, why do i need to pass -V argument to the external compiler? recommend remove this syntax highlighting check. because all developers understand what they are doing in any case. |
What do you mean by "remove this syntax highlighting check"? To hopefully clarify: To create the red squiggles I need to know where the (compile) errors in the code are. If you set the external compiler in the options I use this compiler to generate the red squiggles. Depending on the external compiler you may need to use options, but this is specific to the external compiler you are using. If you do not set an external compiler I use the default compiler of your OpenGL driver. This driver does not understand Vulkan specific extensions to GLSL. |
All right, i thought was it is a |
Installed product versions
Description
I simply get a red squiggly line below my push constant - which compiles and works perfectly well.
The text was updated successfully, but these errors were encountered: