dawn-cmake/src/dawn/tests
Corentin Wallez 1b48cc0d6f Add more supported swapchain texture usages.
Adds the CopySrc and CopyDst usages to swapchain textures when
available in backends so that the wgpu::Texture returned from
GetCurrentTexture can be used in copies.

Also adds a swapchain tests to check that these usages indeed
work.

Bug: dawn:1551
Change-Id: I8495075b0bfb5b8dd953a7811a9d75a76096b143
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/133464
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2023-05-26 15:48:12 +00:00
..
benchmarks Dawn: Deprecate DiscoverAdapters with DiscoverPhysicalDevices 2023-05-25 02:42:27 +00:00
end2end Add more supported swapchain texture usages. 2023-05-26 15:48:12 +00:00
mocks/platform Namespace dawn/common/ and dawn/utils/ in dawn:: 2023-05-17 18:41:02 +00:00
perf_tests Dawn: Rename remaining DiscoverAdapters to DiscoverPhysicalDevices 2023-05-26 09:27:20 +00:00
unittests Add SwapChain::GetCurrentTexture 2023-05-26 10:32:17 +00:00
white_box Namespace dawn/common/ and dawn/utils/ in dawn:: 2023-05-17 18:41:02 +00:00
AdapterTestConfig.cpp d3d11: enable d3d11 if dawn is not build with chromium 2023-04-14 02:05:17 +00:00
AdapterTestConfig.h d3d11: enable d3d11 if dawn is not build with chromium 2023-04-14 02:05:17 +00:00
BUILD.gn Dawn: Deprecate DiscoverAdapters with DiscoverPhysicalDevices 2023-05-25 02:42:27 +00:00
DawnNativeTest.cpp Dawn: Deprecate DiscoverAdapters with DiscoverPhysicalDevices 2023-05-25 02:42:27 +00:00
DawnNativeTest.h Add CacheRequest utilities and tests 2022-06-11 03:50:33 +00:00
DawnTest.cpp Dawn: Rename remaining DiscoverAdapters to DiscoverPhysicalDevices 2023-05-26 09:27:20 +00:00
DawnTest.h Dawn: Rename remaining DiscoverAdapters to DiscoverPhysicalDevices 2023-05-26 09:27:20 +00:00
End2EndTestsMain.cpp tint->dawn: Move src/dawn_tests -> src/dawn/tests 2022-02-09 14:54:31 +00:00
MockCallback.h Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
OWNERS tint->dawn: Move src/dawn_tests -> src/dawn/tests 2022-02-09 14:54:31 +00:00
ParamGenerator.h Split some structs out of DawnTest.h into their own file. 2022-08-15 18:55:41 +00:00
PerfTestsMain.cpp tint->dawn: Move src/dawn_tests -> src/dawn/tests 2022-02-09 14:54:31 +00:00
ToggleParser.cpp tint->dawn: Move src/dawn_tests -> src/dawn/tests 2022-02-09 14:54:31 +00:00
ToggleParser.h Enable build/header_guard 2022-04-11 18:30:50 +00:00
UnittestsMain.cpp Fixup build/include_order issues in src/dawn. 2022-04-19 20:38:44 +00:00