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:
parent
cde5009be3
commit
a55b686ded
|
@ -60,14 +60,6 @@ DAWN_NATIVE_EXPORT void WaitForCommandsToBeScheduled(WGPUDevice device);
|
|||
|
||||
} // 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
|
||||
|
||||
#endif // INCLUDE_DAWN_NATIVE_METALBACKEND_H_
|
||||
|
|
|
@ -22,10 +22,6 @@
|
|||
|
||||
namespace dawn::native::metal {
|
||||
|
||||
id<MTLDevice> GetMetalDevice(WGPUDevice device) {
|
||||
return ToBackend(FromAPI(device))->GetMTLDevice();
|
||||
}
|
||||
|
||||
AdapterDiscoveryOptions::AdapterDiscoveryOptions()
|
||||
: AdapterDiscoveryOptionsBase(WGPUBackendType_Metal) {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue