/external/vulkan-validation-layers/layers/ |
D | shader_validation.h | 223 const auto headerSize = 2 * sizeof(uint32_t) + VK_UUID_SIZE; in Load() 230 uint8_t expected_uuid[VK_UUID_SIZE]; in Load() 232 if (memcmp(&data[2], expected_uuid, VK_UUID_SIZE) != 0) return; // different version in Load() 242 …const auto headerSize = 2 * sizeof(uint32_t) + VK_UUID_SIZE; // 4 bytes for header size + 4 bytes… in Write() 260 out = (uint32_t *)(reinterpret_cast<uint8_t *>(out) + VK_UUID_SIZE); in Write() 282 void Sha1ToVkUuid(const char *sha1_str, uint8_t uuid[VK_UUID_SIZE]) { in Sha1ToVkUuid() argument 286 char padded_sha1_str[2 * VK_UUID_SIZE + 1] = {}; in Sha1ToVkUuid() 287 strncpy(padded_sha1_str, sha1_str, 2 * VK_UUID_SIZE + 1); in Sha1ToVkUuid() 289 for (uint32_t i = 0; i < VK_UUID_SIZE; ++i) { in Sha1ToVkUuid()
|
/external/mesa3d/src/freedreno/vulkan/ |
D | tu_pipeline_cache.c | 220 VK_UUID_SIZE) != 0) in tu_pipeline_cache_load() 324 memcpy(header->uuid, device->physical_device->cache_uuid, VK_UUID_SIZE); in tu_GetPipelineCacheData()
|
D | tu_device.c | 58 memset(uuid, 0, VK_UUID_SIZE); in tu_device_get_cache_uuid() 65 snprintf((char *) uuid + 6, VK_UUID_SIZE - 10, "tu"); in tu_device_get_cache_uuid() 102 char buf[VK_UUID_SIZE * 2 + 1]; in tu_physical_device_init() 103 disk_cache_format_hex_id(buf, device->cache_uuid, VK_UUID_SIZE * 2); in tu_physical_device_init() 759 memcpy(pProperties->properties.pipelineCacheUUID, pdevice->cache_uuid, VK_UUID_SIZE); in tu_GetPhysicalDeviceProperties2() 773 memcpy(properties->driverUUID, pdevice->driver_uuid, VK_UUID_SIZE); in tu_GetPhysicalDeviceProperties2() 774 memcpy(properties->deviceUUID, pdevice->device_uuid, VK_UUID_SIZE); in tu_GetPhysicalDeviceProperties2()
|
D | tu_private.h | 188 uint8_t driver_uuid[VK_UUID_SIZE]; 189 uint8_t device_uuid[VK_UUID_SIZE]; 190 uint8_t cache_uuid[VK_UUID_SIZE];
|
/external/swiftshader/src/Vulkan/ |
D | VkPipelineCache.cpp | 86 memcpy(header->pipelineCacheUUID, SWIFTSHADER_UUID, VK_UUID_SIZE); in PipelineCache()
|
D | VkPipelineCache.hpp | 126 uint8_t pipelineCacheUUID[VK_UUID_SIZE];
|
D | VkPhysicalDevice.cpp | 566 memset(properties->deviceUUID, 0, VK_UUID_SIZE); in getIdProperties() 567 memset(properties->driverUUID, 0, VK_UUID_SIZE); in getIdProperties() 570 memcpy(properties->deviceUUID, SWIFTSHADER_UUID, VK_UUID_SIZE); in getIdProperties()
|
/external/mesa3d/src/vulkan/util/ |
D | vk_util.h | 226 uint8_t uuid[VK_UUID_SIZE];
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_device.c | 415 STATIC_ASSERT(VK_UUID_SIZE <= sizeof(sha1)); in init_uuids() 424 memcpy(device->pipeline_cache_uuid, sha1, VK_UUID_SIZE); in init_uuids() 431 memcpy(device->driver_uuid, build_id_data(note), VK_UUID_SIZE); in init_uuids() 441 memcpy(device->device_uuid, sha1, VK_UUID_SIZE); in init_uuids() 962 pdevice->pipeline_cache_uuid, VK_UUID_SIZE); in v3dv_GetPhysicalDeviceProperties() 978 memcpy(id_props->deviceUUID, pdevice->device_uuid, VK_UUID_SIZE); in v3dv_GetPhysicalDeviceProperties2() 979 memcpy(id_props->driverUUID, pdevice->driver_uuid, VK_UUID_SIZE); in v3dv_GetPhysicalDeviceProperties2()
|
D | v3dv_pipeline_cache.c | 395 if (memcmp(header.uuid, pdevice->pipeline_cache_uuid, VK_UUID_SIZE) != 0) in pipeline_cache_load() 634 memcpy(header.uuid, pdevice->pipeline_cache_uuid, VK_UUID_SIZE); in v3dv_GetPipelineCacheData()
|
D | v3dv_private.h | 142 uint8_t pipeline_cache_uuid[VK_UUID_SIZE]; 143 uint8_t device_uuid[VK_UUID_SIZE]; 144 uint8_t driver_uuid[VK_UUID_SIZE];
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_pipeline_cache.c | 477 if (memcmp(header.uuid, device->physical_device->cache_uuid, VK_UUID_SIZE) != 0) in radv_pipeline_cache_load() 589 memcpy(header->uuid, device->physical_device->cache_uuid, VK_UUID_SIZE); in radv_GetPipelineCacheData()
|
D | radv_private.h | 287 uint8_t driver_uuid[VK_UUID_SIZE]; 288 uint8_t device_uuid[VK_UUID_SIZE]; 289 uint8_t cache_uuid[VK_UUID_SIZE];
|
D | radv_device.c | 115 memset(uuid, 0, VK_UUID_SIZE); in radv_device_get_cache_uuid() 126 memcpy(uuid, sha1, VK_UUID_SIZE); in radv_device_get_cache_uuid() 133 ac_compute_driver_uuid(uuid, VK_UUID_SIZE); in radv_get_driver_uuid() 139 ac_compute_device_uuid(info, uuid, VK_UUID_SIZE); in radv_get_device_uuid() 405 char buf[VK_UUID_SIZE * 2 + 1]; in radv_physical_device_try_create() 406 disk_cache_format_hex_id(buf, device->cache_uuid, VK_UUID_SIZE * 2); in radv_physical_device_try_create() 1651 memcpy(pProperties->pipelineCacheUUID, pdevice->cache_uuid, VK_UUID_SIZE); in radv_GetPhysicalDeviceProperties() 1660 memcpy(p->deviceUUID, pdevice->device_uuid, VK_UUID_SIZE); in radv_get_physical_device_properties_1_1() 1661 memcpy(p->driverUUID, pdevice->driver_uuid, VK_UUID_SIZE); in radv_get_physical_device_properties_1_1()
|
/external/skqp/src/gpu/vk/ |
D | GrVkResourceProvider.cpp | 61 SkASSERT(cacheHeader[0] == 16 + VK_UUID_SIZE); in pipelineCache() 65 !memcmp(&cacheHeader[4], supportedPipelineCacheUUID, VK_UUID_SIZE)) { in pipelineCache()
|
/external/skia/src/gpu/vk/ |
D | GrVkResourceProvider.cpp | 57 SkASSERT(cacheHeader[0] == 16 + VK_UUID_SIZE); in pipelineCache() 61 !memcmp(&cacheHeader[4], supportedPipelineCacheUUID, VK_UUID_SIZE)) { in pipelineCache()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_pipeline_cache.c | 510 if (memcmp(header.uuid, pdevice->pipeline_cache_uuid, VK_UUID_SIZE) != 0) in anv_pipeline_cache_load() 591 memcpy(header.uuid, device->physical->pipeline_cache_uuid, VK_UUID_SIZE); in anv_GetPipelineCacheData()
|
D | anv_device.c | 241 STATIC_ASSERT(VK_UUID_SIZE <= sizeof(sha1)); in anv_physical_device_init_uuids() 259 memcpy(device->pipeline_cache_uuid, sha1, VK_UUID_SIZE); in anv_physical_device_init_uuids() 261 gen_uuid_compute_driver_id(device->driver_uuid, &device->info, VK_UUID_SIZE); in anv_physical_device_init_uuids() 262 gen_uuid_compute_device_id(device->device_uuid, &device->isl_dev, VK_UUID_SIZE); in anv_physical_device_init_uuids() 1652 pdevice->pipeline_cache_uuid, VK_UUID_SIZE); in anv_GetPhysicalDeviceProperties() 1661 memcpy(p->deviceUUID, pdevice->device_uuid, VK_UUID_SIZE); in anv_get_physical_device_properties_1_1() 1662 memcpy(p->driverUUID, pdevice->driver_uuid, VK_UUID_SIZE); in anv_get_physical_device_properties_1_1()
|
D | anv_private.h | 1134 uint8_t pipeline_cache_uuid[VK_UUID_SIZE]; 1135 uint8_t driver_uuid[VK_UUID_SIZE]; 1136 uint8_t device_uuid[VK_UUID_SIZE];
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkDeviceProperties.inl | 74 …memcpy(propertyType.deviceUUID, allPropertiesBlobs.vk11.deviceUUID, sizeof(deUint8) * VK_UUID_SIZE… 75 …memcpy(propertyType.driverUUID, allPropertiesBlobs.vk11.driverUUID, sizeof(deUint8) * VK_UUID_SIZE…
|
D | vkRayTracingUtil.hpp | 463 …DE_SERIALIZED_FIELD(DRIVER_UUID, VK_UUID_SIZE), // VK_UUID_SIZE bytes of data matching VkPhysica… 464 …DE_SERIALIZED_FIELD(COMPAT_UUID, VK_UUID_SIZE), // VK_UUID_SIZE bytes of data identifying the co…
|
D | vkStructTypes.inl | 371 deUint8 pipelineCacheUUID[VK_UUID_SIZE]; 1654 deUint8 deviceUUID[VK_UUID_SIZE]; 1655 deUint8 driverUUID[VK_UUID_SIZE]; 1772 deUint8 deviceUUID[VK_UUID_SIZE]; 1773 deUint8 driverUUID[VK_UUID_SIZE]; 2651 deUint8 uuid[VK_UUID_SIZE];
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineCacheTests.cpp | 1714 deUint8 PipelineCacheUUID[VK_UUID_SIZE]; 1745 if (m_header.HeaderLength - VK_UUID_SIZE != 16) in CacheHeaderTestInstance() 1757 …m_header.PipelineCacheUUID, &m_context.getDeviceProperties().pipelineCacheUUID, VK_UUID_SIZE) != 0) in CacheHeaderTestInstance() 1827 dataSize = 16 + VK_UUID_SIZE - 1; in InvalidSizeTestInstance()
|
/external/deqp/external/vulkancts/modules/vulkan/query_pool/ |
D | vktQueryPoolPerformanceTests.cpp | 60 const size_t stringSize = VK_UUID_SIZE * 2 + DE_LENGTH_OF_ARRAY(bytesPerPart) - 1; in uuidToHex() 88 DE_ASSERT(ptr == &uuid[VK_UUID_SIZE]); in uuidToHex()
|
/external/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_device.c | 382 memset(uuid, 0, VK_UUID_SIZE); in lvp_device_get_cache_uuid() 383 snprintf(uuid, VK_UUID_SIZE, "val-%s", MESA_GIT_SHA1 + 4); in lvp_device_get_cache_uuid()
|