gallium/util: add a half float array to util_color
For convenient packing into half floats.
This commit is contained in:
parent
7824ab8070
commit
1dfe8eead9
|
@ -52,6 +52,7 @@ union util_color {
|
|||
ubyte ub;
|
||||
ushort us;
|
||||
uint ui;
|
||||
ushort h[4]; /* half float */
|
||||
float f[4];
|
||||
double d[4];
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue