summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-11-24 20:30:38 +0000
committerEmil Velikov <[email protected]>2016-11-28 19:46:05 +0000
commitde138e9cede4b1996fac9256d894c80e7b48a6d7 (patch)
treec8b97b1c50dbbb89363cbee147422b10e44c403c /src/intel/vulkan/anv_private.h
parent3f9397753b9db577ad41ff1e8e72d9ae90401261 (diff)
anv: Store UUID in physical device.
Port of an equivalent commit for radv. v2: Move the call just after MMAP_VERSION (Ken). Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index edc008db715..4949a8008fa 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -506,6 +506,8 @@ struct anv_physical_device {
uint32_t eu_total;
uint32_t subslice_total;
+ uint8_t uuid[VK_UUID_SIZE];
+
struct wsi_device wsi_device;
};
@@ -597,8 +599,6 @@ struct anv_device {
pthread_cond_t queue_submit;
};
-void anv_device_get_cache_uuid(void *uuid);
-
void anv_device_init_blorp(struct anv_device *device);
void anv_device_finish_blorp(struct anv_device *device);