broadcom/vc5: Set up the padded height at surface creation time.
authorEric Anholt <eric@anholt.net>
Tue, 14 Nov 2017 23:52:53 +0000 (15:52 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 18 Nov 2017 00:09:55 +0000 (16:09 -0800)
commit8d5994098f62c509094127aad99c6abff9cb53b1
tree73baa2151f182ade0d8d8b2b3fb3eb7926aa7147
parent87391e23cf2110051c3c74281402a690b67ccc7f
broadcom/vc5: Set up the padded height at surface creation time.

This centralizes the calculation in the surface, instead of in each
load/store.
src/gallium/drivers/vc5/vc5_rcl.c
src/gallium/drivers/vc5/vc5_resource.c
src/gallium/drivers/vc5/vc5_resource.h