From f880b2e8d589eb5566f5ccfcec9c7d87f082b936 Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Fri, 1 Apr 2022 07:55:07 +0000 Subject: [PATCH] dawn.node: Fix astc-12x10-unrom-srgb Bug: dawn:1123 Change-Id: Ib1f278d0e74283e20ec77bd44aa802309904057e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/85363 Reviewed-by: Ben Clayton Commit-Queue: Corentin Wallez --- src/dawn/node/binding/Converter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dawn/node/binding/Converter.cpp b/src/dawn/node/binding/Converter.cpp index e693a34a97..d21f03e542 100644 --- a/src/dawn/node/binding/Converter.cpp +++ b/src/dawn/node/binding/Converter.cpp @@ -448,7 +448,7 @@ namespace wgpu::binding { out = wgpu::TextureFormat::ASTC12x10Unorm; return true; case interop::GPUTextureFormat::kAstc12X10UnormSrgb: - out = wgpu::TextureFormat::ASTC12x12UnormSrgb; + out = wgpu::TextureFormat::ASTC12x10UnormSrgb; return true; case interop::GPUTextureFormat::kAstc12X12Unorm: out = wgpu::TextureFormat::ASTC12x12Unorm;