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
645 stars 145 forks source link

Reflect SPV_REFLECT_DESCRIPTOR_TYPE_SAMPLE_WEIGHT_IMAGE_QCOM when decoration_flag contains SPV_REFLECT_DECORATION_WEIGHT_TEXTURE #249

Open randallrvr opened 6 months ago

randallrvr commented 6 months ago

It seems like spirv-reflect is correctly assigning the SPV_REFLECT_DECORATION_WEIGHT_TEXTURE, but it never assigns the correct descriptor type in these instances, SPV_REFLECT_DESCRIPTOR_TYPE_SAMPLE_WEIGHT_IMAGE_QCOM.

spencer-lunarg commented 6 months ago

@raegnar do you have an example SPIR-V file to help look at the problem

randallrvr commented 6 months ago

Here is fairly minimal spir-v file (renamed as a txt so it could be uploaded) sample_qcom_spv.txt

randallrvr commented 4 months ago

Just following up, was that what you needed?

spencer-lunarg commented 4 months ago

yes the spirv is good, I just haven't had time recently to work on SPIRV-Reflect