pvr: Support clear colours with more than 32 bits
authorMatt Coster <matt.coster@imgtec.com>
Mon, 31 Oct 2022 11:03:10 +0000 (11:03 +0000)
committerMarge Bot <emma+marge@anholt.net>
Fri, 18 Nov 2022 09:32:57 +0000 (09:32 +0000)
commitfffc3866fec15bfeb25cc8c770056035a1653f98
treeba224d7e87d38c4e4eb22f6d9a2f103e754adee6
parent0ad5b0a74ef73f5fcbe1406ad9d57fe5dc00a5b1
pvr: Support clear colours with more than 32 bits

The support for this seems to already exist, but was blocked by a
conditional. Replace with an assert to ensure the format can be packed
into 4x32 bit words (true for all currently supported formats).

Signed-off-by: Matt Coster <matt.coster@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19799>
src/imagination/vulkan/pvr_cmd_buffer.c