intel/blorp: Add support for CCS_E copies with UNORM formats
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 7 Mar 2018 00:35:30 +0000 (16:35 -0800)
committerMarge Bot <eric+marge@anholt.net>
Sat, 25 Jan 2020 17:48:54 +0000 (17:48 +0000)
commitf132e0fddfad0f7f801a611ed24146327b3d21f2
tree6d4b505146d079a573b473963d00413a70cfa863
parentae0b8ba5d568f0029f868e02e388c7a71474f6eb
intel/blorp: Add support for CCS_E copies with UNORM formats

Some of the smaller bit-size formats which support CCS_E don't have a
UINT representative in their compression class.  However, we should be
able to use UNORM just fine and still get bit-exact copies.  We just
have to do a conversion to/from UNORM when we bitcast.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3554>
src/intel/blorp/blorp_blit.c