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 <bclayton@google.com>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Corentin Wallez 2022-04-01 07:55:07 +00:00 committed by Dawn LUCI CQ
parent 5234f46a37
commit f880b2e8d5
1 changed files with 1 additions and 1 deletions

View File

@ -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;