mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 10:49:14 +00:00
Triage Dawn TODOs
Change-Id: Ia010e534df1ac8a82008b38c44cfd9dc3f0b1aa6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/53340 Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
@@ -75,7 +75,7 @@ namespace dawn_native {
|
||||
|
||||
DAWN_TRY(ValidatePresentMode(descriptor->presentMode));
|
||||
|
||||
// TODO(cwallez@chromium.org): Lift this restriction once
|
||||
// TODO(crbug.com/dawn/160): Lift this restriction once
|
||||
// wgpu::Instance::GetPreferredSurfaceFormat is implemented.
|
||||
if (descriptor->format != wgpu::TextureFormat::BGRA8Unorm) {
|
||||
return DAWN_VALIDATION_ERROR("Format must (currently) be BGRA8Unorm");
|
||||
|
||||
Reference in New Issue
Block a user