Vulkan validation error: "OpTypeStruct containing an OpTypeRuntimeArray must be decorated with Block or BufferBlock" #2322
Labels
area: back-end
Outputs of shader conversion
kind: bug
Something isn't working
lang: SPIR-V
Binary SPIR-V input and output
Milestone
I ran into an issue in webonnx/wonnx#161 that causes a large amount of validation errors (due to the large number of shaders compiled by that project). This was surfaced when I updated the validation layers (I'm now at 1.3.243.0-1 of
vulkan-validation-layers
on Arch Linux), and I think the root cause is naga emitting invalid SPIR-V.The validation errors all look like this:
And I think the reason we're seeing them is that every shader starts with a preamble like this:
The text was updated successfully, but these errors were encountered: