KhronosGroup / Vulkan-ValidationLayers

Vulkan Validation Layers (VVL)
https://vulkan.lunarg.com/doc/sdk/latest/linux/khronos_validation_layer.html
Other
748 stars 400 forks source link

VUID-StandaloneSpirv-UniformConstant-04655 does not handle arrays of arrays #8236

Closed zmike closed 2 months ago

zmike commented 2 months ago

IsAllowedTypeOrArrayOfSame in spirv-val only checks for top-level arrays, which triggers false positives for arrays of arrays. This function should fully unroll nested arrays before checking the nested type.

zmike commented 2 months ago

Disregard