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
691 stars 149 forks source link

Add 16-bit format support #201

Closed spencer-lunarg closed 1 year ago

spencer-lunarg commented 1 year ago

layout(location = 0) in float16_t a; was showing SPV_REFLECT_FORMAT_UNDEFINED but now shows SPV_REFLECT_FORMAT_R16_SFLOAT as expected

spencer-lunarg commented 1 year ago

there was a glsl file, not going to lie I lost it, can get it back though quick

chaoticbob commented 1 year ago

Might be useful to have around in case it's needed in the future for som reason.

spencer-lunarg commented 1 year ago

ya, in future I will just keep them with it as well

chaoticbob commented 1 year ago

Awesome, thanks!