vc4: Fix clear color setup for RGB565.
authorEric Anholt <eric@anholt.net>
Sat, 10 Jan 2015 21:58:58 +0000 (10:58 +1300)
committerEric Anholt <eric@anholt.net>
Sun, 11 Jan 2015 04:17:19 +0000 (17:17 +1300)
commitc1226629846613f9442e5fc5ad9be305176a4f0f
treeb7ff07f7a7be8f706fc5625dae0a31953db91ebb
parent355156d2f75ffb5fae90dd6583ae3cf465ba40b4
vc4: Fix clear color setup for RGB565.

The util_pack_color() thing only sets up the low bits of the union, so
only return them, too.  Fixes intermittent failure on
fbo-alphatest-formats and es3conform's framebuffer-objects test under
simulation.
src/gallium/drivers/vc4/vc4_draw.c