pan_pack_color_32(packed, out.ui[0] | (out.ui[0] << 16));
else if (size == 3 || size == 4)
pan_pack_color_32(packed, out.ui[0]);
- else if (size == 6)
- pan_pack_color_64(packed, out.ui[0], out.ui[1] | (out.ui[1] << 16)); /* RGB16F -- RGBB */
- else if (size == 8)
+ else if (size == 6 || size == 8)
pan_pack_color_64(packed, out.ui[0], out.ui[1]);
- else if (size == 16)
+ else if (size == 12 || size == 16)
memcpy(packed, out.ui, 16);
else
unreachable("Unknown generic format size packing clear colour");