intel/blorp: Fix Gfx7 stencil surface state valign
authorNanley Chery <nanley.g.chery@intel.com>
Fri, 30 Jul 2021 21:31:05 +0000 (14:31 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 25 Aug 2021 22:39:30 +0000 (22:39 +0000)
commitc7bcbc950c04367c6abf54cb48ef930557dcea60
tree96fbd2d44d654ee66abb897c61c1db0f02259f3a
parent1f62cddaf537cd6fcfead26ac297a85727790ba0
intel/blorp: Fix Gfx7 stencil surface state valign

Stencil on Gfx7 has a vertical alignment element of 8, but the largest
its surface state can express is 4. Apply the Gfx6 solution of changing
the alignment in blorp_surf_retile_w_to_y.

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