intel/blorp: Handle bit-casting UNORM and BGRA formats
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 28 Jan 2020 00:22:14 +0000 (18:22 -0600)
committerMarge Bot <eric+marge@anholt.net>
Tue, 28 Jan 2020 18:15:29 +0000 (18:15 +0000)
commitf229579c0ab46ea7313d94552da3e57c6e291106
treebede6e46bd601fc8e5a14856d03fb2783482ba83
parent396be00640eec91191085f0d293957a35388c0b6
intel/blorp: Handle bit-casting UNORM and BGRA formats

In f132e0fddfa, I attempted to allow BLORP to do CCS_E copies by using
the UNORM formats instead.  However, the old BLORP bit-cast code could
only handle RGBA formats and asserted on anything other than UINT
formats.  The reason we didn't catch this is because it only comes up on
Gen12 platforms which aren't in our normal CI yet.

Fixes: f132e0fddfad "intel/blorp: Add support for CCS_E copies with..."
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3593>
src/intel/blorp/blorp_blit.c