mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-19 01:46:35 +00:00
Remove redundant RenderPass in Dawn unittests
This patch removes all the redundant creations of RenderPass in Dawn unittests. In these tests render passes are actually never used. BUG=dawn:6 Change-Id: I6301a150ea21af1a7ccc3b7ce2dd78351eb7e179 Reviewed-on: https://dawn-review.googlesource.com/c/4720 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
This commit is contained in:
committed by
Commit Bot service account
parent
1541c8ba7a
commit
e7bb3fd119
@@ -44,7 +44,6 @@ TEST_F(QueueSubmitValidationTest, SubmitWithMappedBuffer) {
|
||||
// Create a command buffer that reads from the mappable buffer.
|
||||
dawn::CommandBuffer commands;
|
||||
{
|
||||
dawn::RenderPassDescriptor renderpass = CreateSimpleRenderPass();
|
||||
dawn::CommandBufferBuilder builder = device.CreateCommandBufferBuilder();
|
||||
builder.CopyBufferToBuffer(buffer, 0, targetBuffer, 0, 4);
|
||||
commands = builder.GetResult();
|
||||
|
||||
Reference in New Issue
Block a user