SPIRV-Reflect is a lightweight library that provides a C/C++ reflection API for SPIR-V shader bytecode in Vulkan applications.
672
stars
147
forks
source link
Fix struct variable size with out-of-order offsets #264
Closed
spencer-lunarg closed 4 months ago
This is follow-up for https://github.com/KhronosGroup/SPIRV-Reflect/pull/263
I realize the struct size itself is still wrong
The size of
ubo2
is not// size = 4, padded size = 4
and should be16