broadcom/vc5: Fix alignment of miplevel 1 with UIF.
authorEric Anholt <eric@anholt.net>
Fri, 2 Feb 2018 16:50:51 +0000 (08:50 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 3 Feb 2018 00:27:49 +0000 (16:27 -0800)
commit6a862b0de711955902d4d58f1b0c6063e76207a6
treed03f3f37e83d97df4779163dcc8242080983b532
parent5c57e0a54989764ed6aed54582f2d9e51b064726
broadcom/vc5: Fix alignment of miplevel 1 with UIF.

The alignment here means that we can't get back the padded height from the
size/stride any more, so it's now a field in the slice as well.

Fixes piglit fbo-generatemipmap-formats RGBA16 NPOT.
src/gallium/drivers/vc5/vc5_resource.c
src/gallium/drivers/vc5/vc5_resource.h
src/gallium/drivers/vc5/vc5_screen.h