diff options
Diffstat (limited to 'src/compiler/glsl/float64.glsl')
-rw-r--r-- | src/compiler/glsl/float64.glsl | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/compiler/glsl/float64.glsl b/src/compiler/glsl/float64.glsl index 7c6f18d962e..7f6d3a86e34 100644 --- a/src/compiler/glsl/float64.glsl +++ b/src/compiler/glsl/float64.glsl @@ -88,10 +88,7 @@ uint64_t __fneg64(uint64_t __a) { uvec2 a = unpackUint2x32(__a); - uint t = a.y; - - t ^= (1u << 31); - a.y = mix(t, a.y, __is_nan(__a)); + a.y ^= (1u << 31); return packUint2x32(a); } |