radv: Pass CMASK alignment to application.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 6 Feb 2017 23:24:16 +0000 (00:24 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 7 Feb 2017 00:18:53 +0000 (01:18 +0100)
commiteb01b20cc41e9501062eb25034069e484f8b1899
treeff67ed447e75a32df7988cc37d1c5bd6eeac18df
parenta864ef7f4824a8319b74d4cf1c82e2dd25672ff1
radv: Pass CMASK alignment to application.

CMASK alignment can be greater than image data alignment, so pass
it to the app so that it knows what alignment to backing memory
should have.

Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_image.c