mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-15 01:26:06 +00:00
When generating a unary operation we need to make sure we correctly generate the load otherwise the resulting SPIR-V will be invalid. This CL adds the required GenerateLoadIfNeeded call into the unary generation. Bug: tint292 Change-Id: Ia04314726afdda8f63a78e8e52f996681373db6e Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/31620 Commit-Queue: dan sinclair <dsinclair@chromium.org> Commit-Queue: David Neto <dneto@google.com> Reviewed-by: David Neto <dneto@google.com>