radv: Use given stride for images imported from Android.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 6 May 2019 13:44:04 +0000 (15:44 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 6 May 2019 15:36:39 +0000 (15:36 +0000)
commit8139efbbbd2f07cd4d88488ca5c34c2c19ef10d4
tree987d94569c243b9e0c167ca19d4667ca7d43bc15
parent11602ccd5dfa6c98400a484cae8d3221f325da6d
radv: Use given stride for images imported from Android.

Handled similarly as radeonsi. I checked the offsets are actually used.

Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_android.c
src/amd/vulkan/radv_image.c
src/amd/vulkan/radv_private.h