[tests] Handle sRGB-preferred surface format in ConfigureWithViewFormats On some GPUs, such as Intel Arc GPUs on Linux Vulkan, the preferred surface format is sRGB instead of BGRA8Unorm/RGBA8Unorm, so the test hit DAWN_UNREACHABLE() and aborted. Reinterpret sRGB formats as their linear counterpart as well. Bug: 578756716 Change-Id: I8ba070bb0a1f1cac8046c2996c11e001af393029 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/354455 Reviewed-by: Shao, Jiawei <jiawei.shao@intel.com> Commit-Queue: Li, Hao X <hao.x.li@intel.com>
Dawn is an open-source and cross-platform implementation of the 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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.