-
Notifications
You must be signed in to change notification settings - Fork 13
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
Cannot use this extension with vulkan glsl files #1
Comments
This should be working now with |
I am trying to specify descriptor sets in GLSL using Vulkan. I have
I am getting an error at these are the only settings I changed for the GLSL Lint extension in
What I have tried:
|
@DavidMedin I will have a look into this issue and try to reproduce your problem |
@DavidMedin the "glsllint.glslangValidatorArgs": "-V -o ./temp/out.spv" Please ensure to restart VSCode after you change the settings. Configuration reload is not yet supported see: #21 I also have tested this with 3 different glslangValdiator.exe version on Windows 10 64bit
If you still have any issues then describe them. |
That works great. Thanks! |
i have copied what you did,but did not work; |
Can you describe your problem in more detail? |
To have glslangValidator work properly for vulkan shader, additional arguments needs to be passed.
I propose to add an option to the extension to add arguments :
Additionnaly, it seems there is currently no way to execute
glslangValidator -V
without generating the binary result of the compilation to spirv shader. Maybe an option to set the output dir (-o <dir>/<filename>.spv
) could do the trick. (a workaround is to add-o /tmp/tmp.spv
to the arguments)The text was updated successfully, but these errors were encountered: