broadcom/vc5: Fix image_h setup for both loads and stores.
authorEric Anholt <eric@anholt.net>
Wed, 24 Jan 2018 01:13:53 +0000 (12:13 +1100)
committerEric Anholt <eric@anholt.net>
Thu, 1 Feb 2018 19:02:29 +0000 (11:02 -0800)
commit06858c73485951c931bfec3a74d0117d26116905
tree40275a0ae5e2bea3be40b503b17cf2d461ff61db
parent5329f35ea12fe70e9eff131b60979b810cbc5028
broadcom/vc5: Fix image_h setup for both loads and stores.

The image_h for the tiling algorithm needs to be the padded-to-a-uifblock
height of the level, not the unpadded height or the height of level 0.
Fixes some cases of KHR-GLES3.texture_repeat_mode.* and
depthstencil-render-miplevels.
src/gallium/drivers/vc5/vc5_resource.c