mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 02:39:11 +00:00
tint: Rename 'static_assert' to 'const_assert'
Bug: tint:1807 Change-Id: I2c2a205ada01ad14d0bf6620a3dc3ec84dd7ee67 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/117212 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
9dc48bcef3
commit
c98d57d662
@@ -111,8 +111,8 @@ struct OffsetBinOp : Offset {
|
||||
struct LoadStoreKey {
|
||||
type::AddressSpace const address_space; // buffer address space
|
||||
type::Access const access; // buffer access
|
||||
type::Type const* buf_ty = nullptr; // buffer type
|
||||
type::Type const* el_ty = nullptr; // element type
|
||||
type::Type const* buf_ty = nullptr; // buffer type
|
||||
type::Type const* el_ty = nullptr; // element type
|
||||
bool operator==(const LoadStoreKey& rhs) const {
|
||||
return address_space == rhs.address_space && access == rhs.access && buf_ty == rhs.buf_ty &&
|
||||
el_ty == rhs.el_ty;
|
||||
|
||||
Reference in New Issue
Block a user