mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-07 13:45:51 +00:00
ID2D12CommandQueue::GetTimestampFrequency returns an error HRESULT when there are bugs in Windows container and vGPU implementations. To workaround, we check the return value during adapter creation and disable the timestamp query extension upon failure. Device creation is still allowed to succeed when the method returns failure. Change-Id: Ie71f8712fc9f4f50e4ce26ecfec929b5b1a126d4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/63225 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Rafael Cintron <rafael.cintron@microsoft.com>