-
Notifications
You must be signed in to change notification settings - Fork 0
GLSL edit in Visual Studio
Hilderin edited this page Nov 8, 2023
·
5 revisions
We suggest you install the "GLSL language integration (for VS2017, 2019 and 2022)" extension so you can fully edit your shader files with validations and syntax highligthing.
- Install the extension: GLSL language integration (for VS2017, 2019 and 2022)
- By default, it does not support Vulkan shaders. You must activate the external compiler: Tools > Options > GLSL language integration
- Set "External compiler executable file path" to glslangValidator.exe on your computer
- Set "Arguments for the external compiler" to: --target-env vulkan1.2
- Resave your shader file and the validation should now be ok for your Vulkan shader files.
Exemple:
