freedreno: a2xx: fix clear color
authorJonathan Marek <jonathan@marek.ca>
Thu, 21 Jun 2018 21:06:30 +0000 (17:06 -0400)
committerRob Clark <robdclark@gmail.com>
Fri, 22 Jun 2018 12:23:10 +0000 (08:23 -0400)
commit94bc06b1965fb8ac8a03bbd6c20314beea76d91e
treed78a361e90fd3eeb4a684327d691f8b396ae2fbe
parentdd8553dd9543a27720c39be64692190f36c81683
freedreno: a2xx: fix clear color

the format of the CLEAR_COLOR register doesn't depend on the target format
this fixes clear color when rendering to 32-bit RGBA and 16-bit targets

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a2xx/fd2_draw.c