radv: fix rowPitch for R32G32B32 formats on GFX9
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 6 May 2019 14:17:26 +0000 (16:17 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 6 May 2019 17:07:44 +0000 (19:07 +0200)
commitc10808441cc479b715caf21d993866dc396397d9
treebc179518be6e14632a49e3d67d17d0e88f7c0239
parenta032a9665f275085c825b54b62128ae90adba1c6
radv: fix rowPitch for R32G32B32 formats on GFX9

The pitch is actually the number of components per row. We found
the problem when we implemented some meta operations for these
formats and the wrong pitch has been confirmed with a small test case.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108325
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_image.c