summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index 306670f012f..57b39a72af4 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -620,7 +620,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;
@@ -631,6 +630,17 @@ struct anv_physical_device {
uint8_t uuid[VK_UUID_SIZE];
+ 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];
+
struct wsi_device wsi_device;
int local_fd;
};