Overv / VulkanTutorial

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

Add compute shader compilation to cmake #362

Closed SaschaWillems closed 1 year ago

SaschaWillems commented 1 year 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