From 15c5b9a98215410783eafef8038c97d8989d010c Mon Sep 17 00:00:00 2001 From: Nicolas Silva Date: Tue, 10 Oct 2023 17:14:04 +0200 Subject: [PATCH] [wgsl-in] Parse the bgra8unorm storage format --- 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)), }) }