mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-15 03:41:34 +00:00
This patch adds a validation that the effective buffer size must be a multiple of 4 when the binding type is storage or read-only storage to match the latest WebGPU SPEC. This patch also fixes some typos in BindGroupValidationTests. Bug: dawn:1542 Test: dawn_unittest Change-Id: I30234bcf718be0d82d4a09b9980127a98ebe8172 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/105101 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@chromium.org>