radv: Set correct metadata size for GFX9+.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 25 Jul 2019 14:53:34 +0000 (16:53 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 25 Jul 2019 15:07:53 +0000 (17:07 +0200)
commit7e1fe81f565fb72c63705b516d3e3b4c06184fc5
tree13977406b954410a88a63e861071d269c6bdd61b
parent832cedfdee015f276420d79fc4d9df1a2733daff
radv: Set correct metadata size for GFX9+.

Without correct size, radeonsi assumes the metadata is incorrect,
which can and will cause issues.

Since the metadata is really incorrect without the size, let us
fix that.

Fixes: e43cc3e3afc "radv/gfx9: handle GFX9 opaque metadata"
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_image.c