gallium/util: add a half float array to util_color

For convenient packing into half floats.
This commit is contained in:
Marek Olšák 2013-01-11 16:45:54 +01:00
parent 7824ab8070
commit 1dfe8eead9
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ union util_color {
ubyte ub;
ushort us;
uint ui;
ushort h[4]; /* half float */
float f[4];
double d[4];
};