radv: implement VK_AMD_device_coherent_memory
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 13 Nov 2019 07:58:37 +0000 (08:58 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 18 Nov 2019 08:20:19 +0000 (08:20 +0000)
commit1ebd9459e790bc14e3e58749c1d27ee0d7738a22
tree0063a10ff7166600c4eb4ce5a14f07fe6ddbbc63
parent2af7511ed2771d45c595518e746fa2f9031ba77a
radv: implement VK_AMD_device_coherent_memory

This extension adds the device coherent and device uncached memory
types. It's known to be slower than non-device coherent memory but
it might be useful for debugging.

This is only exposed for chips that support L2 uncached.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_extensions.py
src/amd/vulkan/radv_private.h