mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-10 05:57:51 +00:00
Implement querying WGPUDeviceProperties from dawn_native::Adapter
This patch adds an interface GetAdapterProperties() on Adapter which can directly return a WGPUDeviceProperties object that includes the information of the adapter. BUG=chromium:996713 Change-Id: I9a7b1512d259761e198dfac3eafa718171d47241 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/13340 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
This commit is contained in:
committed by
Commit Bot service account
parent
604072bc2e
commit
cfdbaaa376
@@ -90,6 +90,7 @@ namespace dawn_native {
|
||||
DeviceType GetDeviceType() const;
|
||||
const PCIInfo& GetPCIInfo() const;
|
||||
std::vector<const char*> GetSupportedExtensions() const;
|
||||
WGPUDeviceProperties GetAdapterProperties() const;
|
||||
|
||||
explicit operator bool() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user