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
672 stars 147 forks source link

Fix empty calloc returning false Alloc Failure #240

Closed spencer-lunarg closed 8 months ago

spencer-lunarg commented 8 months ago

seems physical_pointer_struct_count of zero returns a false SPV_REFLECT_RESULT_ERROR_ALLOC_FAILED on Windows