gallium/util: make bitcast-helpers explicitly sized
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 10 Dec 2020 12:18:36 +0000 (13:18 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 15 Dec 2020 15:12:41 +0000 (15:12 +0000)
commit615c4610bb6882decc384913b28545c3cb945a1a
treefb690ab3c7393e83d8c1ea41ff1a14df01cb9622
parent0ba788d73b47aa9c40c692c95e756a39c151bf7d
gallium/util: make bitcast-helpers explicitly sized

These always work on 32-bit variables, so let's make that assumption
explicit.

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