Descriptor type validation doesn't handle OpGroupDecorate #20
Closed
Description
Issue by phaulos (MIGRATED)
Thursday Mar 09, 2017 at 22:22 GMT
Originally opened as KhronosGroup/Vulkan-LoaderAndValidationLayers#1549
dEQP-VK.spirv_assembly.instruction.compute.decoration_group.all
is failing with:
ERROR: Type mismatch on descriptor slot 0.0 (used as type `ptr to uniform struct of (oddtype)`) but descriptor of type VK_DESCRIPTOR_TYPE_STORAGE_BUFFER (code 0x0000000d from SC at Unknown:2631)
...
Looking at the SPIR-V BufferBlock
decoration is applied to 0.0
through OpGroupDecorate
. This is not something glslang does so it might be that validation simply doesn't handle it.