Remove typedefs for deprecated types.

Bug: dawn:762
Change-Id: I1581d80898d4a98010bb14c5823a1a343c229664
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/63383
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Brandon Jones <bajones@google.com>
Reviewed-by: Brandon Jones <bajones@google.com>
This commit is contained in:
Corentin Wallez
2021-09-10 15:50:19 +00:00
committed by Dawn LUCI CQ
parent d4b85fbd76
commit 363c28e5d1
8 changed files with 13 additions and 30 deletions

View File

@@ -101,8 +101,7 @@ namespace {
// Test OOB color attachment indices are handled
TEST_F(RenderPassDescriptorValidationTest, ColorAttachmentOutOfBounds) {
std::array<wgpu::RenderPassColorAttachmentDescriptor, kMaxColorAttachments + 1>
colorAttachments;
std::array<wgpu::RenderPassColorAttachment, kMaxColorAttachments + 1> colorAttachments;
for (uint32_t i = 0; i < colorAttachments.size(); i++) {
colorAttachments[i].view =
Create2DAttachment(device, 1, 1, wgpu::TextureFormat::RGBA8Unorm);

View File

@@ -91,7 +91,7 @@ class ValidationTest : public testing::Test {
uint32_t height;
private:
wgpu::RenderPassColorAttachmentDescriptor mColorAttachment;
wgpu::RenderPassColorAttachment mColorAttachment;
};
bool HasToggleEnabled(const char* toggle) const;