Vulkan: Prevent double-closing stale FD Sets the external semephore handle for Vulkan's ImportedTextureBase to null immediately after the handle is closed so there's no chance that the handle is left with a stale value that might be closed a second time if the subsequent ExportSemephore() call fails. Bug: 501762953 Fixed: 501762953 Change-Id: I1044d86da0534830f19764c3dd34f0b3cc972fa7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/302861 Auto-Submit: Brandon Jones <bajones@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Brandon Jones <bajones@chromium.org>
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.