mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-17 00:47:13 +00:00
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:
committed by
Dawn LUCI CQ
parent
d4b85fbd76
commit
363c28e5d1
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user