commit | 4d96762781ba5df9e56797e4f0fb3ad3685dd82d | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Mon Oct 03 17:12:12 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Oct 03 17:12:12 2022 +0000 |
tree | 2fbd4a02e2534d5cb356f465b4a34c60cf7d112e | |
parent | 5f9996dc9c4c057a6d54d4332d4e4baf2ea904a1 [diff] |
TextureVk: Don't transition to UNDEFINED in queue transitions. When an imported texture with layout UNDEFINED was never used and then exported with target layout UNDEFINED, Dawn would create a queue transition barrier with dstLayout UNDEFINED which is not allowed by the Vulkan specification. Instead detect this case and transition to GENERAL. Found by running dawn_end2end_tests with the VLL. Bug: chromium:1258986 Change-Id: I5e36efda35cb27cecc0683846a314783a8a72fe6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/103025 Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Loko Kung <lokokung@google.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.