From 33b75a27d93c6574b11b4dd4492b85b5783d6c52 Mon Sep 17 00:00:00 2001 From: Nicolas Silva Date: Tue, 10 Oct 2023 18:13:19 +0200 Subject: [PATCH] [wgsl-in] Parse the bgra8unorm storage format (#2550) --- src/front/wgsl/parse/conv.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/front/wgsl/parse/conv.rs b/src/front/wgsl/parse/conv.rs index fea60dc09b..51977173d6 100644 --- a/src/front/wgsl/parse/conv.rs +++ b/src/front/wgsl/parse/conv.rs @@ -98,6 +98,7 @@ pub fn map_storage_format(word: &str, span: Span) -> Result Sf::Rgba32Uint, "rgba32sint" => Sf::Rgba32Sint, "rgba32float" => Sf::Rgba32Float, + "bgra8unorm" => Sf::Bgra8Unorm, _ => return Err(Error::UnknownStorageFormat(span)), }) }