From c3c61d210f0929a71e031dfb3830bf39cee583a4 Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Kristensen Date: Thu, 3 Dec 2015 23:09:09 -0800 Subject: vk: Expose two memory types for non-LLC GPUs We're required to expose a host-visible, coherent memory type. On big core GPUs that share, LLC, we can expose one such memory type that's also cached. However, on non-LLC GPUs we can't both be cached and coherent. Thus, we expose both the required coherent type and the cached but non-coherent combination. --- src/vulkan/anv_private.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vulkan/anv_private.h') diff --git a/src/vulkan/anv_private.h b/src/vulkan/anv_private.h index 3c0441b66f3..7c8cf241624 100644 --- a/src/vulkan/anv_private.h +++ b/src/vulkan/anv_private.h @@ -784,6 +784,7 @@ __gen_combine_address(struct anv_batch *batch, void *location, struct anv_device_memory { struct anv_bo bo; + uint32_t type_index; VkDeviceSize map_size; void * map; }; -- cgit v1.2.3