mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-01 04:01:26 +00:00
Both sampler types generate an `OpTypeSampler` in SPIR-V so we need to make sure they're considered duplicates in the SPIR-V backend. This CL registers the generated ID with for both sampler type_names when either one is emitted. Bug: tint:272 Change-Id: If459bbb34fe8670a7e29d101686b70bf83b184c2 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/30662 Commit-Queue: dan sinclair <dsinclair@chromium.org> Commit-Queue: David Neto <dneto@google.com> Reviewed-by: David Neto <dneto@google.com>