panfrost: Fix support for packed 24-bit formats
authorBoris Brezillon <boris.brezillon@collabora.com>
Wed, 9 Oct 2019 12:05:18 +0000 (14:05 +0200)
committerDaniel Stone <daniels@collabora.com>
Sun, 13 Oct 2019 12:44:25 +0000 (14:44 +0200)
commit35e92a11ddb1450571afc2d66286b97098d486a1
treef02cffce7cc2803d888024c35d08b50c1181e79d
parent1294f01e061d9490fa97c35f03ef845e06fd14ab
panfrost: Fix support for packed 24-bit formats

pan_pack_color() color was missing the 24-bit packed format case.
Looks like putting the clear color in a 32-bit slot does the trick.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_job.c