util/format_rgb9e5: Get rid of the rgb9e5 union
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 3 Aug 2016 16:39:00 +0000 (09:39 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 5 Aug 2016 16:06:59 +0000 (09:06 -0700)
The rgb9e5 format is a packed format defined in terms of slicing up a
single 32-bit value.  The bitfields are far more confusing than simple
shifts and require that we check the endianness.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>

No differences found