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/SampleUtils.cpp b/examples/SampleUtils.cpp index f1fbb6c..cab6cb0 100644 --- a/examples/SampleUtils.cpp +++ b/examples/SampleUtils.cpp
@@ -188,7 +188,7 @@ descriptor.sampleCount = 1; descriptor.format = wgpu::TextureFormat::Depth24PlusStencil8; descriptor.mipLevelCount = 1; - descriptor.usage = wgpu::TextureUsage::OutputAttachment; + descriptor.usage = wgpu::TextureUsage::RenderAttachment; auto depthStencilTexture = device.CreateTexture(&descriptor); return depthStencilTexture.CreateView(); }