diff options
author | Jason Ekstrand <[email protected]> | 2017-05-17 10:55:41 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-05-23 16:46:30 -0700 |
commit | c1f4343807d1040bd7b5440aa2f5fccf5f12842d (patch) | |
tree | 0ed568f85f4891cff341cec8a4262e28a65563d1 /src/intel/vulkan/anv_private.h | |
parent | eceaf7e2340fca0079300692733206b2af555bd9 (diff) |
anv: Set up memory types and heaps during physical device init
Reviewed-by: Nanley Chery <[email protected]>
Cc: "17.1" <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r-- | src/intel/vulkan/anv_private.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index 8435e5339b6..16e31d32952 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -656,7 +656,6 @@ struct anv_physical_device { * practically unlimited. However, we will never report more than 3/4 of * the total system ram to try and avoid running out of RAM. */ - uint64_t heap_size; bool supports_48bit_addresses; struct brw_compiler * compiler; struct isl_device isl_dev; @@ -666,6 +665,13 @@ struct anv_physical_device { uint32_t eu_total; uint32_t subslice_total; + struct { + uint32_t type_count; + VkMemoryType types[VK_MAX_MEMORY_TYPES]; + uint32_t heap_count; + VkMemoryHeap heaps[VK_MAX_MEMORY_HEAPS]; + } memory; + uint8_t pipeline_cache_uuid[VK_UUID_SIZE]; uint8_t driver_uuid[VK_UUID_SIZE]; uint8_t device_uuid[VK_UUID_SIZE]; |