From 839324a331c0feaaceec2122b3bb99e6423f3f49 Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Sat, 18 Feb 2023 05:17:59 +0000 Subject: [PATCH] Make "rg11b10ufloat-renderable" also allow resolving. Fixed: dawn:1663 Change-Id: I9b856b8a1d280b0de1cc41fc512aaa1235d6d992 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/120441 Kokoro: Kokoro Reviewed-by: Austin Eng Commit-Queue: Corentin Wallez --- src/dawn/native/Format.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dawn/native/Format.cpp b/src/dawn/native/Format.cpp index 6f905ee3aa..f7f368e1b4 100644 --- a/src/dawn/native/Format.cpp +++ b/src/dawn/native/Format.cpp @@ -375,7 +375,7 @@ FormatTable BuildFormatTable(const DeviceBase* device) { AddColorFormat(wgpu::TextureFormat::RGB10A2Unorm, true, false, true, true, 4, kAnyFloat, 4, 8, 4); bool isRG11B10UfloatRenderable = device->HasFeature(Feature::RG11B10UfloatRenderable); - AddColorFormat(wgpu::TextureFormat::RG11B10Ufloat, isRG11B10UfloatRenderable, false, isRG11B10UfloatRenderable, false, 4, kAnyFloat, 3, 8, 4); + AddColorFormat(wgpu::TextureFormat::RG11B10Ufloat, isRG11B10UfloatRenderable, false, isRG11B10UfloatRenderable, isRG11B10UfloatRenderable, 4, kAnyFloat, 3, 8, 4); AddColorFormat(wgpu::TextureFormat::RGB9E5Ufloat, false, false, false, false, 4, kAnyFloat, 3); // 8 bytes color formats