mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-20 10:25:28 +00:00
Change present modes to match webgpu.h
Bug: dawn:269 Change-Id: I879ce75addde068097ec54d95ec21697d6ac2dc4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/17400 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
e5753d2fb8
commit
527045fe55
@@ -43,7 +43,7 @@ class SwapChainValidationTests : public ValidationTest {
|
||||
goodDescriptor.height = 1;
|
||||
goodDescriptor.usage = wgpu::TextureUsage::OutputAttachment;
|
||||
goodDescriptor.format = wgpu::TextureFormat::BGRA8Unorm;
|
||||
goodDescriptor.presentMode = wgpu::PresentMode::VSync;
|
||||
goodDescriptor.presentMode = wgpu::PresentMode::Mailbox;
|
||||
|
||||
badDescriptor = goodDescriptor;
|
||||
badDescriptor.width = 0;
|
||||
|
||||
Reference in New Issue
Block a user