Skip to content

Commit e03088b

Browse files
authored
naga: Correct spelling in wgsl parsing rg11b10float -> rg11b10ufloat in accordance with spec https://www.w3.org/TR/WGSL/#texel-format-rg11b10ufloat
1 parent 04a3401 commit e03088b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

naga/src/front/wgsl/parse/conv.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ pub fn map_storage_format(word: &str, span: Span) -> Result<'_, crate::StorageFo
115115
"rgba8sint" => Sf::Rgba8Sint,
116116
"rgb10a2uint" => Sf::Rgb10a2Uint,
117117
"rgb10a2unorm" => Sf::Rgb10a2Unorm,
118-
"rg11b10float" => Sf::Rg11b10Ufloat,
118+
"rg11b10ufloat" => Sf::Rg11b10Ufloat,
119119
"r64uint" => Sf::R64Uint,
120120
"rg32uint" => Sf::Rg32Uint,
121121
"rg32sint" => Sf::Rg32Sint,

0 commit comments

Comments
 (0)