Home
last modified time | relevance | path

Searched refs:VK_UUID_SIZE (Results 1 – 24 of 24) sorted by relevance

/external/vulkan-validation-layers/layers/
Dshader_validation.h135 const auto headerSize = 2 * sizeof(uint32_t) + VK_UUID_SIZE; in Load()
142 uint8_t expected_uuid[VK_UUID_SIZE]; in Load()
144 if (memcmp(&data[2], expected_uuid, VK_UUID_SIZE) != 0) return; // different version in Load()
154 …const auto headerSize = 2 * sizeof(uint32_t) + VK_UUID_SIZE; // 4 bytes for header size + 4 bytes… in Write()
172 out = (uint32_t *)(reinterpret_cast<uint8_t *>(out) + VK_UUID_SIZE); in Write()
194 void Sha1ToVkUuid(const char *sha1_str, uint8_t uuid[VK_UUID_SIZE]) { in Sha1ToVkUuid() argument
198 char padded_sha1_str[2 * VK_UUID_SIZE + 1] = {}; in Sha1ToVkUuid()
199 strncpy(padded_sha1_str, sha1_str, 2 * VK_UUID_SIZE + 1); in Sha1ToVkUuid()
201 for (uint32_t i = 0; i < VK_UUID_SIZE; ++i) { in Sha1ToVkUuid()
/external/swiftshader/src/Vulkan/
DVkPhysicalDevice.cpp271 memset(properties->deviceUUID, 0, VK_UUID_SIZE); in getProperties()
272 memset(properties->driverUUID, 0, VK_UUID_SIZE); in getProperties()
275 memcpy(properties->deviceUUID, SWIFTSHADER_UUID, VK_UUID_SIZE); in getProperties()
/external/mesa3d/src/intel/vulkan/
Danv_pipeline_cache.c328 uint8_t uuid[VK_UUID_SIZE];
358 if (memcmp(header.uuid, pdevice->pipeline_cache_uuid, VK_UUID_SIZE) != 0) in anv_pipeline_cache_load()
448 memcpy(header.uuid, pdevice->pipeline_cache_uuid, VK_UUID_SIZE); in anv_GetPipelineCacheData()
Danv_device.c241 STATIC_ASSERT(VK_UUID_SIZE <= sizeof(sha1)); in anv_physical_device_init_uuids()
251 memcpy(device->pipeline_cache_uuid, sha1, VK_UUID_SIZE); in anv_physical_device_init_uuids()
258 memcpy(device->driver_uuid, build_id_data(note), VK_UUID_SIZE); in anv_physical_device_init_uuids()
272 memcpy(device->device_uuid, sha1, VK_UUID_SIZE); in anv_physical_device_init_uuids()
945 pdevice->pipeline_cache_uuid, VK_UUID_SIZE); in anv_GetPhysicalDeviceProperties()
969 memcpy(id_props->deviceUUID, pdevice->device_uuid, VK_UUID_SIZE); in anv_GetPhysicalDeviceProperties2KHR()
970 memcpy(id_props->driverUUID, pdevice->driver_uuid, VK_UUID_SIZE); in anv_GetPhysicalDeviceProperties2KHR()
Danv_private.h785 uint8_t pipeline_cache_uuid[VK_UUID_SIZE];
786 uint8_t driver_uuid[VK_UUID_SIZE];
787 uint8_t device_uuid[VK_UUID_SIZE];
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline_cache.c437 uint8_t uuid[VK_UUID_SIZE];
458 if (memcmp(header.uuid, device->physical_device->cache_uuid, VK_UUID_SIZE) != 0) in radv_pipeline_cache_load()
564 memcpy(header->uuid, device->physical_device->cache_uuid, VK_UUID_SIZE); in radv_GetPipelineCacheData()
Dradv_device.c54 memset(uuid, 0, VK_UUID_SIZE); in radv_device_get_cache_uuid()
62 snprintf((char*)uuid + 10, VK_UUID_SIZE - 10, "radv"); in radv_device_get_cache_uuid()
69 ac_compute_driver_uuid(uuid, VK_UUID_SIZE); in radv_get_driver_uuid()
75 ac_compute_device_uuid(info, uuid, VK_UUID_SIZE); in radv_get_device_uuid()
248 char buf[VK_UUID_SIZE * 2 + 1]; in radv_physical_device_init()
249 disk_cache_format_hex_id(buf, device->cache_uuid, VK_UUID_SIZE * 2); in radv_physical_device_init()
772 memcpy(pProperties->pipelineCacheUUID, pdevice->cache_uuid, VK_UUID_SIZE); in radv_GetPhysicalDeviceProperties()
792 memcpy(properties->driverUUID, pdevice->driver_uuid, VK_UUID_SIZE); in radv_GetPhysicalDeviceProperties2KHR()
793 memcpy(properties->deviceUUID, pdevice->device_uuid, VK_UUID_SIZE); in radv_GetPhysicalDeviceProperties2KHR()
Dradv_private.h270 uint8_t driver_uuid[VK_UUID_SIZE];
271 uint8_t device_uuid[VK_UUID_SIZE];
272 uint8_t cache_uuid[VK_UUID_SIZE];
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationCrossInstanceSharingTests.cpp295 const deUint8 driverUUID[VK_UUID_SIZE],
296 const deUint8 deviceUUID[VK_UUID_SIZE]);
304 deUint8 m_driverUUID[VK_UUID_SIZE];
305 deUint8 m_deviceUUID[VK_UUID_SIZE];
310 const deUint8 driverUUID[VK_UUID_SIZE], in DeviceId() argument
311 const deUint8 deviceUUID[VK_UUID_SIZE]) in DeviceId() argument
/external/skqp/src/gpu/vk/
DGrVkResourceProvider.cpp61 SkASSERT(cacheHeader[0] == 16 + VK_UUID_SIZE); in pipelineCache()
65 !memcmp(&cacheHeader[4], supportedPipelineCacheUUID, VK_UUID_SIZE)) { in pipelineCache()
/external/skia/src/gpu/vk/
DGrVkResourceProvider.cpp61 SkASSERT(cacheHeader[0] == 16 + VK_UUID_SIZE); in pipelineCache()
65 !memcmp(&cacheHeader[4], supportedPipelineCacheUUID, VK_UUID_SIZE)) { in pipelineCache()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineCacheTests.cpp1556 deUint8 PipelineCacheUUID[VK_UUID_SIZE];
1587 if (m_header.HeaderLength - VK_UUID_SIZE != 16) in CacheHeaderTestInstance()
1599 …m_header.PipelineCacheUUID, &m_context.getDeviceProperties().pipelineCacheUUID, VK_UUID_SIZE) != 0) in CacheHeaderTestInstance()
1669 dataSize = 16 + VK_UUID_SIZE - 1; in InvalidSizeTestInstance()
/external/deqp/external/vulkancts/framework/vulkan/
DvkStructTypes.inl246 deUint8 pipelineCacheUUID[VK_UUID_SIZE];
1651 deUint8 deviceUUID[VK_UUID_SIZE];
1652 deUint8 driverUUID[VK_UUID_SIZE];
DvkBasicTypes.inl10 #define VK_UUID_SIZE (static_cast<size_t> (16)) macro
DvkVulkan_c.inl110 #define VK_UUID_SIZE 16 macro
1782 deUint8 pipelineCacheUUID[VK_UUID_SIZE];
4142 deUint8 deviceUUID[VK_UUID_SIZE];
4143 deUint8 driverUUID[VK_UUID_SIZE];
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiFeatureInfo.cpp3197 if ((deMemCmp(IDProperties[0].deviceUUID, IDProperties[1].deviceUUID, VK_UUID_SIZE) != 0) || in deviceProperties2()
3198 (deMemCmp(IDProperties[0].driverUUID, IDProperties[1].driverUUID, VK_UUID_SIZE) != 0) || in deviceProperties2()
3207 if ((deMemCmp(IDProperties[0].deviceLUID, IDProperties[1].deviceLUID, VK_UUID_SIZE) != 0) || in deviceProperties2()
/external/mesa3d/include/vulkan/
Dvulkan.h107 #define VK_UUID_SIZE 16 macro
1709 uint8_t pipelineCacheUUID[VK_UUID_SIZE];
4251 uint8_t deviceUUID[VK_UUID_SIZE];
4252 uint8_t driverUUID[VK_UUID_SIZE];
/external/skia/include/third_party/vulkan/vulkan/
Dvulkan_core.h107 #define VK_UUID_SIZE 16 macro
1879 uint8_t pipelineCacheUUID[VK_UUID_SIZE];
4286 uint8_t deviceUUID[VK_UUID_SIZE];
4287 uint8_t driverUUID[VK_UUID_SIZE];
/external/skqp/include/third_party/vulkan/vulkan/
Dvulkan_core.h107 #define VK_UUID_SIZE 16 macro
1879 uint8_t pipelineCacheUUID[VK_UUID_SIZE];
4286 uint8_t deviceUUID[VK_UUID_SIZE];
4287 uint8_t driverUUID[VK_UUID_SIZE];
/external/vulkan-headers/include/vulkan/
Dvulkan_core.h105 #define VK_UUID_SIZE 16 macro
2044 uint8_t pipelineCacheUUID[VK_UUID_SIZE];
4453 uint8_t deviceUUID[VK_UUID_SIZE];
4454 uint8_t driverUUID[VK_UUID_SIZE];
Dvulkan.hpp37133 && ( memcmp( deviceUUID, rhs.deviceUUID, VK_UUID_SIZE * sizeof( uint8_t ) ) == 0 ) in operator ==()
37134 && ( memcmp( driverUUID, rhs.driverUUID, VK_UUID_SIZE * sizeof( uint8_t ) ) == 0 ) in operator ==()
37150 uint8_t deviceUUID[VK_UUID_SIZE];
37151 uint8_t driverUUID[VK_UUID_SIZE];
38351 … && ( memcmp( pipelineCacheUUID, rhs.pipelineCacheUUID, VK_UUID_SIZE * sizeof( uint8_t ) ) == 0 ) in operator ==()
38367 uint8_t pipelineCacheUUID[VK_UUID_SIZE];
/external/swiftshader/include/vulkan/
Dvulkan_core.h105 #define VK_UUID_SIZE 16 macro
1997 uint8_t pipelineCacheUUID[VK_UUID_SIZE];
4406 uint8_t deviceUUID[VK_UUID_SIZE];
4407 uint8_t driverUUID[VK_UUID_SIZE];
Dvulkan.hpp13408 && ( memcmp( deviceUUID, rhs.deviceUUID, VK_UUID_SIZE * sizeof( uint8_t ) ) == 0 ) in operator ==()
13409 && ( memcmp( driverUUID, rhs.driverUUID, VK_UUID_SIZE * sizeof( uint8_t ) ) == 0 ) in operator ==()
13425 uint8_t deviceUUID[VK_UUID_SIZE];
13426 uint8_t driverUUID[VK_UUID_SIZE];
27789 … && ( memcmp( pipelineCacheUUID, rhs.pipelineCacheUUID, VK_UUID_SIZE * sizeof( uint8_t ) ) == 0 ) in operator ==()
27805 uint8_t pipelineCacheUUID[VK_UUID_SIZE];
/external/deqp/external/vulkancts/scripts/src/
Dvulkan.h.in107 #define VK_UUID_SIZE 16 macro
1779 uint8_t pipelineCacheUUID[VK_UUID_SIZE];
4139 uint8_t deviceUUID[VK_UUID_SIZE];
4140 uint8_t driverUUID[VK_UUID_SIZE];