added PipelineCacheCreateInfo struct.

This commit is contained in:
2022-10-28 17:57:09 +08:00
parent f8646ca880
commit 8fc83ba9b3
10 changed files with 16 additions and 19 deletions

View File

@@ -55,11 +55,8 @@ namespace
VkPipelineCache CreatePipelineCache(VkDevice device,const VkPhysicalDeviceProperties &pdp)
{
VkPipelineCacheCreateInfo pipelineCache;
pipelineCache.sType = VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO;
pipelineCache.pNext = nullptr;
pipelineCache.flags = 0;
PipelineCacheCreateInfo pipelineCache;
pipelineCache.initialDataSize = 0;
pipelineCache.pInitialData = nullptr;