KhronosGroup / SPIRV-Reflect

SPIRV-Reflect is a lightweight library that provides a C/C++ reflection API for SPIR-V shader bytecode in Vulkan applications.
Apache License 2.0
674 stars 147 forks source link

Use spirv.h from the Vulkan SDK #115

Open jesta88 opened 3 years ago

jesta88 commented 3 years ago

If the project's dependency is the Vulkan SDK, why is the spirv.h copy needed?

If it's there to allow people to use spirv-reflect without the Vulkan SDK, it would still be nice to have the option to use the SDK's version through a define.

chaoticbob commented 3 years ago

Totally fair point. The usage of spirv-reflect shouldn't depend on the Vulkan SDK but over the years this may have fallen through the cracks. I'll check.

I'll add an #ifdef to allow for the use of a custom spirv.h.