mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 21:47:47 +00:00
s/sharable/shareable
Fixed: tint:660 Change-Id: I5b98597acb771f6b07a16a85d85d8ae5249e495d Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/45283 Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: David Neto <dneto@google.com>
This commit is contained in:
committed by
Commit Bot service account
parent
722b5a2d18
commit
25eef8d2cf
@@ -34,9 +34,9 @@ enum class StorageClass {
|
||||
kFunction
|
||||
};
|
||||
|
||||
/// @returns true if the StorageClass is host-sharable
|
||||
/// @returns true if the StorageClass is host-shareable
|
||||
/// @see https://gpuweb.github.io/gpuweb/wgsl.html#host-shareable
|
||||
inline bool IsHostSharable(StorageClass sc) {
|
||||
inline bool IsHostShareable(StorageClass sc) {
|
||||
return sc == ast::StorageClass::kUniform || sc == ast::StorageClass::kStorage;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user