Skip to content

Commit

Permalink
[wgsl-in] Parse the bgra8unorm storage format (#2550)
Browse files Browse the repository at this point in the history
  • Loading branch information
nical authored Oct 10, 2023
1 parent 3c7dbc4 commit 33b75a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/front/wgsl/parse/conv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ pub fn map_storage_format(word: &str, span: Span) -> Result<crate::StorageFormat
"rgba32uint" => Sf::Rgba32Uint,
"rgba32sint" => Sf::Rgba32Sint,
"rgba32float" => Sf::Rgba32Float,
"bgra8unorm" => Sf::Bgra8Unorm,
_ => return Err(Error::UnknownStorageFormat(span)),
})
}
Expand Down

0 comments on commit 33b75a2

Please sign in to comment.