gallium/util: add bitcast helpers for double and uint
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 10 Dec 2020 12:20:53 +0000 (13:20 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 15 Dec 2020 15:12:41 +0000 (15:12 +0000)
commitc314893988d4b7408383d5c0357319082c347fc6
tree329888ab06d69d79ad8c569f72b4091317f9c7a1
parent615c4610bb6882decc384913b28545c3cb945a1a
gallium/util: add bitcast helpers for double and uint

This complements u_bitcast_f2u and u_bitcast_u2f with similar helpers
to cast between double and unsigned integers as well.

Reviewed-by: Hoe Hao Cheng <haochengho12907@gmail.com>
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8034>
src/gallium/auxiliary/util/u_bitcast.h