mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-13 00:26:00 +00:00
The special-case for zero-valued constructors is unnecessary, as an empty initializer list already correctly zero-initializes for all types. This was causing an additional {} to be emitted for empty structures, which the MSL compiler rejects. Fixed: tint:821 Change-Id: Ib48c73eadef15b517e14b248229ecfbbfeb13f81 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/51822 Commit-Queue: James Price <jrprice@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Auto-Submit: James Price <jrprice@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>