Remove unused dawn::native:🤘:GetMetalDevice

Bug: None
Change-Id: I07d4c2f4afce9202619e9def9dd1a214ae0906a4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/97203
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Corentin Wallez 2022-07-26 16:28:45 +00:00 committed by Dawn LUCI CQ
parent cde5009be3
commit a55b686ded
2 changed files with 0 additions and 12 deletions

View File

@ -60,14 +60,6 @@ DAWN_NATIVE_EXPORT void WaitForCommandsToBeScheduled(WGPUDevice device);
} // namespace dawn::native::metal } // namespace dawn::native::metal
#ifdef __OBJC__
namespace dawn::native::metal {
DAWN_NATIVE_EXPORT id<MTLDevice> GetMetalDevice(WGPUDevice device);
} // namespace dawn::native::metal
#endif // __OBJC__
#pragma clang diagnostic pop #pragma clang diagnostic pop
#endif // INCLUDE_DAWN_NATIVE_METALBACKEND_H_ #endif // INCLUDE_DAWN_NATIVE_METALBACKEND_H_

View File

@ -22,10 +22,6 @@
namespace dawn::native::metal { namespace dawn::native::metal {
id<MTLDevice> GetMetalDevice(WGPUDevice device) {
return ToBackend(FromAPI(device))->GetMTLDevice();
}
AdapterDiscoveryOptions::AdapterDiscoveryOptions() AdapterDiscoveryOptions::AdapterDiscoveryOptions()
: AdapterDiscoveryOptionsBase(WGPUBackendType_Metal) {} : AdapterDiscoveryOptionsBase(WGPUBackendType_Metal) {}