glsl: floatBitsToUint spelling

This commit is contained in:
Connor Fitzgerald authored and Dzmitry Malyshau committed 2022-01-24 11:08:26 -05:00
1 parent a707e9f9c0
commit 9fe52dbfbc
1 file changed
+1 -1
+1 -1
View File
@@ -2620,7 +2620,7 @@ impl<'a, W: Write> Writer<'a, W> {
let source_kind = inner.scalar_kind().unwrap();
let conv_op = match (source_kind, target_kind) {
(Sk::Float, Sk::Sint) => "floatBitsToInt",
(Sk::Float, Sk::Uint) => "floatBitsToUInt",
(Sk::Float, Sk::Uint) => "floatBitsToUint",
(Sk::Sint, Sk::Float) => "intBitsToFloat",
(Sk::Uint, Sk::Float) => "uintBitsToFloat",
// There is no way to bitcast between Uint/Sint in glsl. Use constructor conversion