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/examples/ComputeBoids.cpp b/examples/ComputeBoids.cpp index f958ab4..08487da 100644 --- a/examples/ComputeBoids.cpp +++ b/examples/ComputeBoids.cpp
@@ -292,7 +292,7 @@ queue = device.GetDefaultQueue(); swapchain = GetSwapChain(device); - swapchain.Configure(GetPreferredSwapChainTextureFormat(), wgpu::TextureUsage::OutputAttachment, + swapchain.Configure(GetPreferredSwapChainTextureFormat(), wgpu::TextureUsage::RenderAttachment, 640, 480); initBuffers();