Update and document shader compilation scripts

Will no longer fail with certain shaderStages
Refs #1126
This commit is contained in:
Sascha Willems 2024-06-04 21:31:24 +02:00
parent 9c25dad12c
commit 196e6a4c6b
3 changed files with 20 additions and 4 deletions

3
shaders/README.md Normal file
View file

@ -0,0 +1,3 @@
# Shaders
This folder contains the shaders used by the samples. Source files are available as GLSL and HLSL and also come with precompiled SPIR-V files that are consumed by the samples. To recompile shaders you can use the `compileshaders.py` scripts in the respective folders or any other means that can generate Vulkan SPIR-V from GLSL or HLSL. One such option is [this extension for Visual Studio](https://github.com/SaschaWillems/SPIRV-VSExtension).