mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 07:36:15 +00:00
Remove indirection for colorAttachments
This is to match the work in progress webgpu.h header. BUG=dawn:22 Change-Id: I1371cda1b7666de8eb8283fa7e5da935d17e1d52 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/9381 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
0c4d75931a
commit
a838c7d497
@@ -114,9 +114,8 @@ ValidationTest::DummyRenderPass::DummyRenderPass(const dawn::Device& device)
|
||||
mColorAttachment.clearColor = { 0.0f, 0.0f, 0.0f, 0.0f };
|
||||
mColorAttachment.loadOp = dawn::LoadOp::Clear;
|
||||
mColorAttachment.storeOp = dawn::StoreOp::Store;
|
||||
mColorAttachments[0] = &mColorAttachment;
|
||||
|
||||
colorAttachmentCount = 1;
|
||||
colorAttachments = mColorAttachments;
|
||||
colorAttachments = &mColorAttachment;
|
||||
depthStencilAttachment = nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user