diff options
author | Kristian Høgsberg Kristensen <[email protected]> | 2015-12-03 23:09:09 -0800 |
---|---|---|
committer | Kristian Høgsberg Kristensen <[email protected]> | 2015-12-04 09:51:47 -0800 |
commit | c3c61d210f0929a71e031dfb3830bf39cee583a4 (patch) | |
tree | 1cd31476e8c6292fffb8064a3f0bd027db9929d0 /src/vulkan/anv_private.h | |
parent | 773592051be92f3f8c3ac11492b22d2bf4e96020 (diff) |
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.
Diffstat (limited to 'src/vulkan/anv_private.h')
-rw-r--r-- | src/vulkan/anv_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; }; |