Skip to content

Broken in VSCode 1.44 with VulkanSDK 1.2.135 #15

Description

@W4RH4WK

After some time I got around to writing some shader code once again and it seems like this extension is now broken, at least for me.

glslangValidator.exe is in my path seems to be working fine:

PS C:\Users\w4rh4wk\git\raygun> glslangValidator.exe -l -Iresources/shaders .\resources\shaders\raygen.rgen
.\resources\shaders\raygen.rgen
WARNING: ./resources/shaders/raytracer_bindings.h:23: '#pragma once' : not implemented 
ERROR: ./resources/shaders/raygen.h:25: '' :  syntax error, unexpected IDENTIFIER, expecting LEFT_BRACE or COMMA or SEMICOLON
ERROR: 1 compilation errors.  No code generated.


ERROR: Linking ray-generation stage: Missing entry point: Each stage requires one entry point

Not setting glsllint.glslangValidatorPath results in an error telling me that the binary is not available.

Providing the full path does not result in an error, but no linting is done by the extension.

My config:

{
  "glsllint.glslangValidatorPath": "D:\\dev\\VulkanSDK\\1.2.135.0\\Bin\\glslangValidator.exe",
  "glsllint.glslangValidatorArgs": "-l -Iresources/shaders"
}

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions