intel/blorp: Fix faked RGB image alignment on XeHP
authorNanley Chery <nanley.g.chery@intel.com>
Fri, 23 Jul 2021 16:02:06 +0000 (09:02 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 25 Aug 2021 22:39:30 +0000 (22:39 +0000)
commit1f62cddaf537cd6fcfead26ac297a85727790ba0
treee21b929358f7b7a5d389d6cf1d970b3db35995b7
parent79ad9cda480ef810d93bfcc7912448a4503a457b
intel/blorp: Fix faked RGB image alignment on XeHP

On XeHP, NPOT and POT formatted surfaces will use different image
alignment units when emitting surface states. When BLORP fakes an RGB
image as RED, update the image alignment to prevent assert failures when
emitting surface states.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12132>
src/intel/blorp/blorp_blit.c