commit | 6b087819dd1ea56a50e15bcc34c97ad2fa01d463 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Tue Oct 27 15:35:56 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Tue Oct 27 15:35:56 2020 +0000 |
tree | 7f1d86c031f96736a629823d73010e38cdc31935 | |
parent | 25eeaa3d39afcc82fe9d384949d4e9c99e6e7903 [diff] [blame] |
s/OutputAttachment/RenderAttachment/g But also keep OutputAttachment so it can be gradually changed in all dependants. See https://github.com/gpuweb/gpuweb/pull/1168 and https://github.com/gpuweb/gpuweb/pull/1168 Bug: dawn:22 Change-Id: I6a1ec1de6c22ca4deac88b7fffde4b98d9d54a84 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/31040 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Stephen White <senorblanco@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
diff --git a/src/tests/end2end/SwapChainTests.cpp b/src/tests/end2end/SwapChainTests.cpp index 2a4cd93..383a477 100644 --- a/src/tests/end2end/SwapChainTests.cpp +++ b/src/tests/end2end/SwapChainTests.cpp
@@ -53,7 +53,7 @@ baseDescriptor.width = width; baseDescriptor.height = height; - baseDescriptor.usage = wgpu::TextureUsage::OutputAttachment; + baseDescriptor.usage = wgpu::TextureUsage::RenderAttachment; baseDescriptor.format = wgpu::TextureFormat::BGRA8Unorm; baseDescriptor.presentMode = wgpu::PresentMode::Mailbox; }