commit | ebdbc03b777eac27fa84939ec8115f77245b1ba8 | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Sat Oct 24 02:46:13 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Sat Oct 24 02:46:13 2020 +0000 |
tree | 35196a7c264fc63b01afffc32a03cbd0e371e9ac | |
parent | 8180c71a3552a44a91e7d5eaed8a5eecdc758bb7 [diff] |
Treat VK_SUBOPTIMAL_KHR as a valid return value of vkQueuePresentKHR vkQueuePresentKHR() may return VK_SUBOPTIMAL_KHR when "a swapchain no longer matches the surface properties exactly, but can still be used to present to the surface successfully", so it can also be treated as a valid return value that indicates vkQueuePresentKHR() has returned successfully. This patch fixes the crash when we run the dawn_end2end_test SwapChainTests.ResizingWindowOnly on the latest Intel Vulkan Windows driver. BUG=dawn:269 TEST=dawn_end2end_tests Change-Id: I571ee74ea75b7a7f6fa59c7eebeed87a2429180d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/30842 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
Dawn is an open-source and cross-platform implementation of the work-in-progress WebGPU standard. More precisely it implements webgpu.h
that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h
version that Dawn implements.webgpu.h
.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.