diff options
author | Jason Ekstrand <[email protected]> | 2017-02-27 09:36:20 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-04-27 20:08:46 -0700 |
commit | d4d9258b6151781893f662002a2f07fe06410838 (patch) | |
tree | 78779b1c0341eab2825abf6448c6859d2f297a46 /src/intel/vulkan/anv_device.c | |
parent | 02767cb4ffb83a0c2c19ce182e10993a64b41fb3 (diff) |
anv/physical_device: Rename uuid to pipeline_cache_uuid
We're about to have more UUIDs for different things so this one really
needs to be properly labeled.
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_device.c')
-rw-r--r-- | src/intel/vulkan/anv_device.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 767f7469d19..4d0d613d61f 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -121,7 +121,7 @@ anv_physical_device_init_uuids(struct anv_physical_device *device) _mesa_sha1_update(&sha1_ctx, &device->chipset_id, sizeof(device->chipset_id)); _mesa_sha1_final(&sha1_ctx, sha1); - memcpy(device->uuid, sha1, VK_UUID_SIZE); + memcpy(device->pipeline_cache_uuid, sha1, VK_UUID_SIZE); return VK_SUCCESS; } @@ -721,7 +721,8 @@ void anv_GetPhysicalDeviceProperties( }; strcpy(pProperties->deviceName, pdevice->name); - memcpy(pProperties->pipelineCacheUUID, pdevice->uuid, VK_UUID_SIZE); + memcpy(pProperties->pipelineCacheUUID, + pdevice->pipeline_cache_uuid, VK_UUID_SIZE); } void anv_GetPhysicalDeviceProperties2KHR( |