mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-10 05:57:51 +00:00
Add C overload for dawn_native::Adapter::GetProperties
This helps Chromium move to using this method and stop using dawn_native::AdapterType/BackendType. Bug: dawn:824 Change-Id: I9e16edd271d3406bc45e3b9fd472bd94bbf53b30 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/75583 Auto-Submit: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Brandon Jones <bajones@chromium.org> Commit-Queue: Brandon Jones <bajones@chromium.org>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
4d21968257
commit
03b3594f79
@@ -108,6 +108,7 @@ namespace dawn_native {
|
||||
// Essentially webgpu.h's wgpuAdapterGetProperties while we don't have WGPUAdapter in
|
||||
// dawn.json
|
||||
void GetProperties(wgpu::AdapterProperties* properties) const;
|
||||
void GetProperties(WGPUAdapterProperties* properties) const;
|
||||
|
||||
std::vector<const char*> GetSupportedExtensions() const;
|
||||
std::vector<const char*> GetSupportedFeatures() const;
|
||||
|
||||
Reference in New Issue
Block a user