broadcom/vc5: Fix setup of integer surface clear values.
authorEric Anholt <eric@anholt.net>
Wed, 28 Mar 2018 05:02:17 +0000 (22:02 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 29 Mar 2018 00:48:41 +0000 (17:48 -0700)
commit1fe4c748f743d003fc9052f4a7d0925ab8c5919e
treeaffa9188adc734af850a779a8778c6e31bd76650
parent123ee3762722e2703459cc9b966b8cbf64a63769
broadcom/vc5: Fix setup of integer surface clear values.

I'm disappointed that the compiler didn't warn me about use of
uninitialized uc in these paths.  Just use the incoming clear color
instead of the packing temporary if we're doing our own packing.

Fixes GTF-GLES3.gtf.GL3Tests.color_buffer_float.color_buffer_float_clamp_*
src/gallium/drivers/vc5/vc5_draw.c