Closed mrjbom closed 3 years ago
This extention does not compile shaders into SPIRV or any binary format.
Shader compilation is used by the extension only internally to highlight syntax errors in your shader code. As a default a separate OpenGL thread that compiles the shader on the primary graphics card is used. You can also select an external compiler executable to use for this purpose in the options menu.
If I have understood you correctly you have specified an external compiler. Does the error tagging (error squiggles) work correctly when you do not specify an external compiler? You can see screenshots of the output of this extension in many of the github issues for instance #74.
I am facing such a problem:
I have set the following settings:
When I compile shaders, I don't get any errors or warnings.
Did you also try to use the External compiler executable file path field?
Oops, I didn't notice this field, I expected the arguments and the compiler path to be specified together. Thank you for your help!
Thanks for clearing this up!
Installed product versions
Description
How can I compile my shaders? I absolutely do not observe such a possibility. How should I get the extension to do this? In the extension settings, I specified the path to glslc.exe and the argument is "-c"