From f36cfb93dcd54ba1afea2b990b14e84982aeed5c Mon Sep 17 00:00:00 2001 From: Connor Fitzgerald Date: Mon, 24 Jan 2022 10:09:24 -0500 Subject: [PATCH] glsl: floatBitsToUint spelling --- src/back/glsl/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/back/glsl/mod.rs b/src/back/glsl/mod.rs index 99dd55154b..8ee6759224 100644 --- a/src/back/glsl/mod.rs +++ b/src/back/glsl/mod.rs @@ -2663,7 +2663,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