Skip to content
Commit 109137ee authored by Erik Faye-Lund's avatar Erik Faye-Lund Committed by Dylan Baker
Browse files

glsl: correct bitcast-helpers



Without this, we'll incorrectly round off huge values to the nearest
representable double instead of keeping it at the exact value  as
we're supposed to.

Found by inspecting compiler-warnings.

Signed-off-by: default avatarErik Faye-Lund <erik.faye-lund@collabora.com>
Fixes: 85faf508 ("glsl: Add 64-bit integer support for constant expressions")
Reviewed-by: default avatarEric Engestrom <eric.engestrom@intel.com>
(cherry picked from commit 88f909eb)
parent f4faf5cb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment