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:
parent
5234f46a37
commit
f880b2e8d5
|
@ -448,7 +448,7 @@ namespace wgpu::binding {
|
||||||
out = wgpu::TextureFormat::ASTC12x10Unorm;
|
out = wgpu::TextureFormat::ASTC12x10Unorm;
|
||||||
return true;
|
return true;
|
||||||
case interop::GPUTextureFormat::kAstc12X10UnormSrgb:
|
case interop::GPUTextureFormat::kAstc12X10UnormSrgb:
|
||||||
out = wgpu::TextureFormat::ASTC12x12UnormSrgb;
|
out = wgpu::TextureFormat::ASTC12x10UnormSrgb;
|
||||||
return true;
|
return true;
|
||||||
case interop::GPUTextureFormat::kAstc12X12Unorm:
|
case interop::GPUTextureFormat::kAstc12X12Unorm:
|
||||||
out = wgpu::TextureFormat::ASTC12x12Unorm;
|
out = wgpu::TextureFormat::ASTC12x12Unorm;
|
||||||
|
|
Loading…
Reference in New Issue