broadcom/vc5: Fix height padding of small UIF slices.
authorEric Anholt <eric@anholt.net>
Thu, 2 Nov 2017 18:47:30 +0000 (11:47 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 7 Nov 2017 17:40:24 +0000 (09:40 -0800)
commit73ec70bf13a939e687ddf9c2a7e08962042a09eb
treec2bccc724f3ed18a85334913d9410329521a8812
parente23c6991bed6597c777b145a3f24b79e1d28be56
broadcom/vc5: Fix height padding of small UIF slices.

The HW doesn't pad the slice's height to make a full 4x4 group of UIF
blocks.  We just need to pad to columns, and the start of the next column
appears in the bottom of the previous column's last block.

Fixes piglit fs-textureOffset-2D.
src/gallium/drivers/vc5/vc5_resource.c