Home
last modified time | relevance | path

Searched refs:pipelineCache (Results 1 – 25 of 70) sorted by relevance

123

/external/deqp/external/vulkancts/framework/vulkan/
DvkRefUtil.cpp33 VkPipelineCache pipelineCache, in createGraphicsPipeline() argument
38 VK_CHECK(vk.createGraphicsPipelines(device, pipelineCache, 1u, pCreateInfo, pAllocator, &object)); in createGraphicsPipeline()
44 VkPipelineCache pipelineCache, in createComputePipeline() argument
49 VK_CHECK(vk.createComputePipelines(device, pipelineCache, 1u, pCreateInfo, pAllocator, &object)); in createComputePipeline()
55 VkPipelineCache pipelineCache, in createRayTracingPipelineNV() argument
60 …VK_CHECK(vk.createRayTracingPipelinesNV(device, pipelineCache, 1u, pCreateInfo, pAllocator, &objec… in createRayTracingPipelineNV()
DvkRefUtil.hpp36 VkPipelineCache pipelineCache,
41 VkPipelineCache pipelineCache,
46 VkPipelineCache pipelineCache,
DvkDeviceDriverImpl.inl235 void DeviceDriver::destroyPipelineCache (VkDevice device, VkPipelineCache pipelineCache, const VkAl… argument
237 m_vk.destroyPipelineCache(device, pipelineCache, pAllocator);
240 VkResult DeviceDriver::getPipelineCacheData (VkDevice device, VkPipelineCache pipelineCache, deUint… argument
242 return m_vk.getPipelineCacheData(device, pipelineCache, pDataSize, pData);
250 VkResult DeviceDriver::createGraphicsPipelines (VkDevice device, VkPipelineCache pipelineCache, deU… argument
252 …return m_vk.createGraphicsPipelines(device, pipelineCache, createInfoCount, pCreateInfos, pAllocat…
255 VkResult DeviceDriver::createComputePipelines (VkDevice device, VkPipelineCache pipelineCache, deUi… argument
257 …return m_vk.createComputePipelines(device, pipelineCache, createInfoCount, pCreateInfos, pAllocato…
1160 VkResult DeviceDriver::createRayTracingPipelinesNV (VkDevice device, VkPipelineCache pipelineCache,… argument
1162 …return m_vk.createRayTracingPipelinesNV(device, pipelineCache, createInfoCount, pCreateInfos, pAll…
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationUtil.cpp77 …const vk::Unique<vk::VkPipelineCache> pipelineCache (pipelineCacheData.createPipelineCache(vk, dev… in makeComputePipeline() local
78 …vk::Move<vk::VkPipeline> pipeline (createComputePipeline(vk, device, *pipelineCache, &pipeline… in makeComputePipeline()
81 pipelineCacheData.setFromPipelineCache(vk, device, *pipelineCache); in makeComputePipeline()
367 …const vk::Unique<vk::VkPipelineCache> pipelineCache (pipelineCacheData.createPipelineCache(vk, dev… in build() local
368 …vk::Move<vk::VkPipeline> pipeline (createGraphicsPipeline(vk, device, *pipelineCache, &graphic… in build()
371 pipelineCacheData.setFromPipelineCache(vk, device, *pipelineCache); in build()
465 …(const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkPipelineCache pipelineCache) in setFromPipelineCache() argument
470 VK_CHECK(vk.getPipelineCacheData(device, pipelineCache, &dataSize, DE_NULL)); in setFromPipelineCache()
475 VK_CHECK(vk.getPipelineCacheData(device, pipelineCache, &dataSize, &m_data[0])); in setFromPipelineCache()
DvktSynchronizationInternallySynchronizedObjectsTests.cpp449 …ThreadGroupThread (const Context& context, VkPipelineCache pipelineCache, const VkPipelineLayout& … in ThreadGroupThread() argument
452 , m_pipelineCache (pipelineCache) in ThreadGroupThread()
550 …CreateComputeThread (const Context& context, VkPipelineCache pipelineCache, vector<VkComputePipeli… in CreateComputeThread() argument
553 …: ThreadGroupThread (context, pipelineCache, pipelineLayout, descriptorSetLayout, queues, shaders… in CreateComputeThread()
580 …CreateGraphicThread (const Context& context, VkPipelineCache pipelineCache, vector<VkGraphicsPipel… in CreateGraphicThread() argument
583 …: ThreadGroupThread (context, pipelineCache, pipelineLayout, descriptorSetLayout, queues, shaders… in CreateGraphicThread()
641 Move<VkPipelineCache> pipelineCache = createPipelineCache(vk, device, &pipelineCacheInfo); in iterate() local
642 …Move<VkPipeline> pipeline = createComputePipeline(vk, device, *pipelineCache, &pipelineInfo… in iterate()
650 …m_context, *pipelineCache, pipelineInfo, *pipelineLayout, *descriptorSetLayout, *queues, m_shaders… in iterate()
753 Move<VkPipelineCache> pipelineCache = createPipelineCache(vk, device, &pipelineCacheInfo); in iterate() local
[all …]
/external/swiftshader/src/Vulkan/
DVkPipeline.cpp486 PipelineCache &pipelineCache = *pPipelineCache; in compileShaders() local
488 std::unique_lock<std::mutex> lock(pipelineCache.getShaderMutex()); in compileShaders()
489 const std::shared_ptr<sw::SpirvShader> *spirvShader = pipelineCache[key]; in compileShaders()
494 pipelineCache.insert(key, getShader(pipelineStage)); in compileShaders()
586 PipelineCache &pipelineCache = *pPipelineCache; in compileShaders() local
588 std::unique_lock<std::mutex> lock(pipelineCache.getShaderMutex()); in compileShaders()
589 const std::shared_ptr<sw::SpirvShader> *spirvShader = pipelineCache[shaderKey]; in compileShaders()
593 pipelineCache.insert(shaderKey, shader); in compileShaders()
603 std::unique_lock<std::mutex> lock(pipelineCache.getProgramMutex()); in compileShaders()
604 const std::shared_ptr<sw::ComputeProgram> *computeProgram = pipelineCache[programKey]; in compileShaders()
[all …]
DVkPipeline.hpp99 …lbacks *pAllocator, const VkGraphicsPipelineCreateInfo *pCreateInfo, PipelineCache *pipelineCache);
140 …llbacks *pAllocator, const VkComputePipelineCreateInfo *pCreateInfo, PipelineCache *pipelineCache);
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineEarlyDestroyTests.cpp189 …const Unique<VkPipelineCache> pipelineCache (createPipelineCache(vk, vkDevice, &pipelineCa… in testEarlyDestroy() local
214 …createGraphicsPipeline(vk, vkDevice, usePipelineCache ? *pipelineCache : DE_NULL, &graphicsPipelin… in testEarlyDestroy()
DvktPipelineMatchedAttachmentsTests.cpp186 …const Unique<VkPipelineCache> pipelineCache (createPipelineCache(vk, vkDevice, &pipelineCa… in testMatchedAttachments() local
333 …createGraphicsPipeline(vk, vkDevice, params.usePipelineCache ? *pipelineCache : DE_NULL, &graphics… in testMatchedAttachments()
/external/vulkan-validation-layers/layers/
Dbest_practices.cpp218 …eCallValidateCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint32_t crea… in PreCallValidateCreateGraphicsPipelines() argument
223 if ((createInfoCount > 1) && (!pipelineCache)) { in PreCallValidateCreateGraphicsPipelines()
234 …reCallValidateCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint32_t crea… in PreCallValidateCreateComputePipelines() argument
239 if ((createInfoCount > 1) && (!pipelineCache)) { in PreCallValidateCreateComputePipelines()
Dbest_practices.h51 …bool PreCallValidateCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint32…
54 …bool PreCallValidateCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint32_…
Dcore_validation.h503 …bool PreCallValidateCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint32_…
506 …void PostCallRecordCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint32_t…
531 …bool PreCallValidateCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint32…
534 …void PostCallRecordCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint32_…
555 …bool PreCallValidateCreateRayTracingPipelinesNV(VkDevice device, VkPipelineCache pipelineCache, ui…
559 …void PostCallRecordCreateRayTracingPipelinesNV(VkDevice device, VkPipelineCache pipelineCache, uin…
1237 … VkPipelineCache pipelineCache, uint32_t count, const VkGraphicsPipelineCreateInfo* pCreateInfos,
1260 … VkPipelineCache pipelineCache, uint32_t count, const VkComputePipelineCreateInfo* pCreateInfos,
1265 …VkPipelineCache pipelineCache, uint32_t count, const VkRayTracingPipelineCreateInfoNV* pCreateInfo…
1545 …bool PreCallValidateCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint32…
[all …]
/external/skia/src/gpu/vk/
DGrVkResourceProvider.cpp38 VkPipelineCache GrVkResourceProvider::pipelineCache() { in pipelineCache() function in GrVkResourceProvider
101 this->pipelineCache()); in createPipeline()
459 if (this->pipelineCache() == VK_NULL_HANDLE) { in storePipelineCacheData()
464 GR_VK_CALL_RESULT(fGpu, result, GetPipelineCacheData(fGpu->device(), this->pipelineCache(), in storePipelineCacheData()
472 GR_VK_CALL_RESULT(fGpu, result, GetPipelineCacheData(fGpu->device(), this->pipelineCache(), in storePipelineCacheData()
DGrVkResourceProvider.h242 VkPipelineCache pipelineCache();
/external/skqp/src/gpu/vk/
DGrVkResourceProvider.cpp39 VkPipelineCache GrVkResourceProvider::pipelineCache() { in pipelineCache() function in GrVkResourceProvider
106 this->pipelineCache()); in createPipeline()
125 this->pipelineCache()); in findOrCreateCopyPipeline()
532 this->pipelineCache(), in storePipelineCacheData()
539 this->pipelineCache(), in storePipelineCacheData()
DGrVkResourceProvider.h253 VkPipelineCache pipelineCache();
/external/vulkan-validation-layers/layers/generated/
Dchassis.h395 VkPipelineCache pipelineCache,
400 VkPipelineCache pipelineCache,
412 VkPipelineCache pipelineCache,
420 VkPipelineCache pipelineCache,
2099 VkPipelineCache pipelineCache,
2710 … PreCallValidateDestroyPipelineCache(VkDevice device, VkPipelineCache pipelineCache, const VkAlloc… in PreCallValidateDestroyPipelineCache() argument
2711 …id PreCallRecordDestroyPipelineCache(VkDevice device, VkPipelineCache pipelineCache, const VkAlloc… in PreCallRecordDestroyPipelineCache() argument
2712 …d PostCallRecordDestroyPipelineCache(VkDevice device, VkPipelineCache pipelineCache, const VkAlloc… in PostCallRecordDestroyPipelineCache() argument
2713 … PreCallValidateGetPipelineCacheData(VkDevice device, VkPipelineCache pipelineCache, size_t* pData… in PreCallValidateGetPipelineCacheData() argument
2714 …id PreCallRecordGetPipelineCacheData(VkDevice device, VkPipelineCache pipelineCache, size_t* pData… in PreCallRecordGetPipelineCacheData() argument
[all …]
Dthread_safety.cpp1051 VkPipelineCache pipelineCache, in PreCallRecordDestroyPipelineCache() argument
1054 StartWriteObject(pipelineCache); in PreCallRecordDestroyPipelineCache()
1060 VkPipelineCache pipelineCache, in PostCallRecordDestroyPipelineCache() argument
1063 FinishWriteObject(pipelineCache); in PostCallRecordDestroyPipelineCache()
1069 VkPipelineCache pipelineCache, in PreCallRecordGetPipelineCacheData() argument
1073 StartReadObject(pipelineCache); in PreCallRecordGetPipelineCacheData()
1078 VkPipelineCache pipelineCache, in PostCallRecordGetPipelineCacheData() argument
1083 FinishReadObject(pipelineCache); in PostCallRecordGetPipelineCacheData()
1119 VkPipelineCache pipelineCache, in PreCallRecordCreateGraphicsPipelines() argument
1125 StartReadObject(pipelineCache); in PreCallRecordCreateGraphicsPipelines()
[all …]
Dobject_tracker.h426 VkPipelineCache pipelineCache,
430 VkPipelineCache pipelineCache,
434 VkPipelineCache pipelineCache,
444 VkPipelineCache pipelineCache,
451 VkPipelineCache pipelineCache,
459 VkPipelineCache pipelineCache,
466 VkPipelineCache pipelineCache,
2098 VkPipelineCache pipelineCache,
2105 VkPipelineCache pipelineCache,
Dlayer_chassis_dispatch.cpp163 VkResult DispatchCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint32_t cr… in DispatchCreateComputePipelines() argument
167 …turn layer_data->device_dispatch_table.CreateComputePipelines(device, pipelineCache, createInfoCou… in DispatchCreateComputePipelines()
185 if (pipelineCache) { in DispatchCreateComputePipelines()
186 pipelineCache = layer_data->Unwrap(pipelineCache); in DispatchCreateComputePipelines()
189 …lt = layer_data->device_dispatch_table.CreateComputePipelines(device, pipelineCache, createInfoCou… in DispatchCreateComputePipelines()
202 VkResult DispatchCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint32_t c… in DispatchCreateGraphicsPipelines() argument
206 …urn layer_data->device_dispatch_table.CreateGraphicsPipelines(device, pipelineCache, createInfoCou… in DispatchCreateGraphicsPipelines()
246 if (pipelineCache) { in DispatchCreateGraphicsPipelines()
247 pipelineCache = layer_data->Unwrap(pipelineCache); in DispatchCreateGraphicsPipelines()
250 …t = layer_data->device_dispatch_table.CreateGraphicsPipelines(device, pipelineCache, createInfoCou… in DispatchCreateGraphicsPipelines()
[all …]
/external/angle/src/tests/test_utils/third_party/
Dvulkan_command_buffer_utils.cpp1544 VkPipelineCacheCreateInfo pipelineCache; in init_pipeline_cache() local
1545 pipelineCache.sType = VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO; in init_pipeline_cache()
1546 pipelineCache.pNext = NULL; in init_pipeline_cache()
1547 pipelineCache.initialDataSize = 0; in init_pipeline_cache()
1548 pipelineCache.pInitialData = NULL; in init_pipeline_cache()
1549 pipelineCache.flags = 0; in init_pipeline_cache()
1550 res = vkCreatePipelineCache(info.device, &pipelineCache, NULL, &info.pipelineCache); in init_pipeline_cache()
1706 res = vkCreateGraphicsPipelines(info.device, info.pipelineCache, 1, &pipeline, NULL, in init_pipeline()
1808 vkDestroyPipelineCache(info.device, info.pipelineCache, NULL); in destroy_pipeline_cache()
/external/angle/src/libANGLE/renderer/vulkan/
DRendererVk.h228 angle::Result getPipelineCache(vk::PipelineCache **pipelineCache);
257 vk::PipelineCache *pipelineCache,
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiNullHandleTests.cpp107 inline void release (Context& context, VkPipelineCache pipelineCache, const VkAllocationCallbacks* … in release() argument
109 context.getDeviceInterface().destroyPipelineCache(context.getDevice(), pipelineCache, pAllocator); in release()
/external/angle/src/libANGLE/renderer/metal/
Dmtl_render_utils.mm461 RenderPipelineCache *pipelineCache;
464 pipelineCache = &mBlitRenderPipelineCache;
468 pipelineCache = &mBlitPremultiplyAlphaRenderPipelineCache;
472 pipelineCache = &mBlitUnmultiplyAlphaRenderPipelineCache;
475 return pipelineCache->getRenderPipelineState(contextMtl, pipelineDesc);
/external/angle/third_party/vulkan-headers/src/include/vulkan/
Dvulkan_beta.h323 …*PFN_vkCreateRayTracingPipelinesKHR)(VkDevice device, VkPipelineCache pipelineCache, uint32_t crea…
405 VkPipelineCache pipelineCache,

123