mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-13 08:36:08 +00:00
Metal: Initialize mSupportedExtensions in the constructor of Adapter
This patch adds a missing call of InitializeSupportedExtensions() in the constructor of Adapter on Metal backend so that we can correctly create device with required extensions on Metal. BUG=dawn:42 TEST=dawn_end2end_tests Change-Id: Ifba41d2ae43ca054df2b0f3f19503f66fe641a72 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/10500 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:
parent
93196db8ef
commit
27c3fc5bd3
@ -172,6 +172,8 @@ namespace dawn_native { namespace metal {
|
|||||||
} else {
|
} else {
|
||||||
mDeviceType = DeviceType::DiscreteGPU;
|
mDeviceType = DeviceType::DiscreteGPU;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
InitializeSupportedExtensions();
|
||||||
}
|
}
|
||||||
|
|
||||||
~Adapter() override {
|
~Adapter() override {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user