Home
last modified time | relevance | path

Searched refs:cacheHeader (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/gpu/vk/
DGrVkResourceProvider.cpp56 uint32_t* cacheHeader = (uint32_t*)cached->data(); in pipelineCache() local
57 if (cacheHeader[1] == VK_PIPELINE_CACHE_HEADER_VERSION_ONE) { in pipelineCache()
61 SkASSERT(cacheHeader[0] == 16 + VK_UUID_SIZE); in pipelineCache()
64 if (cacheHeader[2] == devProps.vendorID && cacheHeader[3] == devProps.deviceID && in pipelineCache()
65 !memcmp(&cacheHeader[4], supportedPipelineCacheUUID, VK_UUID_SIZE)) { in pipelineCache()
/external/skia/src/gpu/vk/
DGrVkResourceProvider.cpp56 uint32_t* cacheHeader = (uint32_t*)cached->data(); in pipelineCache() local
57 if (cacheHeader[1] == VK_PIPELINE_CACHE_HEADER_VERSION_ONE) { in pipelineCache()
61 SkASSERT(cacheHeader[0] == 16 + VK_UUID_SIZE); in pipelineCache()
64 if (cacheHeader[2] == devProps.vendorID && cacheHeader[3] == devProps.deviceID && in pipelineCache()
65 !memcmp(&cacheHeader[4], supportedPipelineCacheUUID, VK_UUID_SIZE)) { in pipelineCache()