Overv / VulkanTutorial

Tutorial for the Vulkan graphics and compute API
https://vulkan-tutorial.com
Creative Commons Attribution Share Alike 4.0 International
3.06k stars 511 forks source link

Add compute shader compilation to cmake #362

Closed SaschaWillems closed 8 months ago

SaschaWillems commented 8 months ago

This PR conditionally adds compute shaders to the build process. If such a shader type is present (e.g. for the compute bonus chapter) it's added to build such that the corresponding SPIR-V file will be generated at compile time.

Fixes #351 Fixes #361