[tint] Remove unused struct method
Bug: 409840687
Change-Id: I6d4222d0f6dc69e9e9ae8837845541357d992905
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/236076
Commit-Queue: James Price <jrprice@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
diff --git a/src/tint/lang/core/type/struct.h b/src/tint/lang/core/type/struct.h
index 90f8508..f971f92 100644
--- a/src/tint/lang/core/type/struct.h
+++ b/src/tint/lang/core/type/struct.h
@@ -152,17 +152,6 @@
/// @returns true iff this structure has been used as the given address space
bool UsedAs(core::AddressSpace usage) const { return address_space_usage_.Contains(usage); }
- /// @returns true iff this structure has been used by address space that's
- /// host-shareable.
- bool IsHostShareable() const {
- for (auto& sc : address_space_usage_) {
- if (core::IsHostShareable(sc)) {
- return true;
- }
- }
- return false;
- }
-
/// Adds the pipeline stage usage to the structure.
/// @param usage the storage usage
void AddUsage(PipelineStageUsage usage) { pipeline_stage_uses_.Add(usage); }