radv: Check for shareable images in central place.
authorBas Nieuwenhuizen <basni@chromium.org>
Mon, 26 Nov 2018 15:26:37 +0000 (16:26 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 4 Dec 2018 00:21:38 +0000 (01:21 +0100)
commit12e35a64c005b0c08ee83dbde11f7a11764c0437
tree99f091176fb1c693051006d3fd678ed696d81f1d
parent3bf48741e128b60f6430b32cc47197f62075b1e9
radv: Check for shareable images in central place.

One place to put the logic makes things easier to change.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_image.c