mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-29 18:51:41 +00:00
Having the [[block]] decorator on the nested Particle struct causes SPIRV-Cross to not emit it (see bug). Removing the decorator from the Particle while leaving it on the top-level struct works fine. This fixes the issue, but validation should be added to Tint to catch the problem (this work is tracked in https://bugs.chromium.org/p/tint/issues/detail?id=320). Bug: dawn:611 Change-Id: I8bef811e314ed758f805247977f8b129477abd39 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/42300 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Stephen White <senorblanco@chromium.org>