dawn-cmake/include/dawn
Corentin Wallez 324e446f9c Vulkan: Add support for using dedicated allocation when importing images.
This is required to make importing images work on some systems. The
ideal version would be detecting whether dedicated allocations are
needed as Vulkan provides reflection for that. However this reflection
doesn't work on Nvidia, so instead Dawn requires a
NeedsDedicatedAllocation enum on import that's Yes/No/Detect so the
application can force use of a specific code path.

Support for this enum and toggling dedicated allocations on/off is added
for all external memory service implementations.

Vulkan image wrapping tests are modified to add test parameters so that
the Yes/No/Detect code paths are covered by tests.

This is technically post-V1 work, but gl_tests in Chromium fail on
Nvidia workstations without this fix, which makes it hard to debug other
issues.

Bug: dawn:1552, dawn:206, dawn:1260

Change-Id: Iee4f7bb9dbec520432ec623551221ef9e4d3d984
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/103560
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2022-10-03 15:03:52 +00:00
..
native Vulkan: Add support for using dedicated allocation when importing images. 2022-10-03 15:03:52 +00:00
platform Add dawn version hash to cache keys. 2022-06-24 23:39:49 +00:00
wire dawn::wire::client: ReserveTexture: remove defaulting of descriptor 2022-06-28 15:55:16 +00:00
BUILD.gn Remove old src/include folder 2022-06-18 16:16:11 +00:00
EnumClassBitmasks.h Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
dawn_proc.h Enable build/header_guard 2022-04-11 18:30:50 +00:00
dawn_thread_dispatch_proc.h Enable build/header_guard 2022-04-11 18:30:50 +00:00
dawn_wsi.h Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00