mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-22 23:31:19 +00:00
When extracting values out of constant arrays we sometimes generate a temporary variable. That generation was over eager in the creation of the variable and was also creating it for constant vector extractions where it was providing the wrong souce type. Bug: tint:318 Change-Id: I8d16182fd1fcf7d7aba0b0e1b7d947137efc136b Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/32801 Reviewed-by: Sarah Mashayekhi <sarahmashay@google.com> Reviewed-by: Ryan Harrison <rharrison@chromium.org> Auto-Submit: dan sinclair <dsinclair@chromium.org> Commit-Queue: dan sinclair <dsinclair@chromium.org>