Lines Matching defs:std
63 void ResourceInterface::initTestCase (const std::string& casePath)
68 const std::string& ResourceInterface::getCasePath() const
93 std::mutex& ResourceInterface::getStatMutex ()
127 std::set<VkSamplerYcbcrConversion> samplerYcbcrConversionsInPipeline;
128 std::set<VkSampler> samplersInPipeline;
129 std::set<VkShaderModule> shadersInPipeline;
130 std::set<VkRenderPass> renderPassesInPipeline;
131 std::set<VkPipelineLayout> pipelineLayoutsInPipeline;
132 std::set<VkDescriptorSetLayout> descriptorSetLayoutsInPipeline;
138 if (it->pipelineContents.find("VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO") != std::string::npos)
149 else if (it->pipelineContents.find("VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO") != std::string::npos)
248 std::map<deUint64, std::size_t> cpToIndex;
249 for (std::size_t i = 0; i < m_commandPoolMemoryConsumption.size(); ++i)
253 std::size_t j = cpToIndex[memC.second.commandPool];
267 std::vector<deUint8> ResourceInterface::exportData () const
274 void ResourceInterface::importData (std::vector<deUint8>& importText) const
284 void ResourceInterface::registerObjectHash (deUint64 handle, std::size_t hashValue) const
289 const std::map<deUint64,std::size_t>& ResourceInterface::getObjectHashes () const
302 std::map<std::string, std::vector<PipelinePoolSizeInfo>> pipelineInfoPerTest;
307 auto it = std::find_if(begin(m_pipelineSizes), end(m_pipelineSizes), vksc_server::PipelineIdentifierEqual(pipeline.id));
321 pit = pipelineInfoPerTest.insert({ test, std::vector<PipelinePoolSizeInfo>() }).first;
339 std::vector<PipelinePoolSizeInfo> finalPoolSizes;
344 auto it = std::find_if(begin(finalPoolSizes), end(finalPoolSizes), [&ppsi1](const PipelinePoolSizeInfo& x) { return (x.size == ppsi1.size); });
367 std::vector<VkPipelinePoolSize> ResourceInterface::getPipelinePoolSizes () const
374 auto it = std::find_if(begin(m_pipelineSizes), end(m_pipelineSizes), vksc_server::PipelineIdentifierEqual(pipelineIdentifier));
391 std::size_t ResourceInterface::getCacheDataSize () const
479 std::vector<std::string> extensions;
525 VkPipelineOfflineCreateInfo makeGraphicsPipelineIdentifier (const std::string& testPath, const VkGraphicsPipelineCreateInfo& gpCI, const std::map<deUint64, std::size_t>& objectHashes)
529 std::size_t hashValue = calculateGraphicsPipelineHash(gpCI, objectHashes);
530 memcpy(pipelineID.pipelineIdentifier, &hashValue, sizeof(std::size_t));
534 VkPipelineOfflineCreateInfo makeComputePipelineIdentifier (const std::string& testPath, const VkComputePipelineCreateInfo& cpCI, const std::map<deUint64, std::size_t>& objectHashes)
538 std::size_t hashValue = calculateComputePipelineHash(cpCI, objectHashes);
539 memcpy(pipelineID.pipelineIdentifier, &hashValue, sizeof(std::size_t));
554 std::vector<VkPipelineOfflineCreateInfo> pipelineIDs;
555 std::vector<deUint8> idInPNextChain;
556 std::vector<VkGraphicsPipelineCreateInfo> pCreateInfoCopies;
580 std::vector<VkPipelineViewportStateCreateInfo> viewportStateCopies (createInfoCount);
712 auto it = std::find_if(begin(m_pipelineInput.pipelines), end(m_pipelineInput.pipelines), vksc_server::PipelineIdentifierEqual(pipelineIDs[i]));
747 std::vector<VkPipelineOfflineCreateInfo> pipelineIDs;
748 std::vector<deUint8> idInPNextChain;
749 std::vector<VkComputePipelineCreateInfo> pCreateInfoCopies;
804 auto it = std::find_if(begin(m_pipelineInput.pipelines), end(m_pipelineInput.pipelines), vksc_server::PipelineIdentifierEqual(pipelineIDs[i]));
839 auto pit = std::find_if(begin(m_pipelineInput.pipelines), end(m_pipelineInput.pipelines), vksc_server::PipelineIdentifierEqual(it->second));
957 if(!std::string(m_testCtx.getCommandLine().getPipelineCompilerPath()).empty())
960 std::string( m_testCtx.getCommandLine().getPipelineCompilerPath()),
961 std::string( m_testCtx.getCommandLine().getPipelineCompilerDataDir()),
962 std::string( m_testCtx.getCommandLine().getPipelineCompilerArgs()),
963 std::string( m_testCtx.getCommandLine().getPipelineCompilerOutputFile()),
964 std::string( m_testCtx.getCommandLine().getPipelineCompilerLogFile()),
965 std::string( m_testCtx.getCommandLine().getPipelineCompilerFilePrefix()) );
1042 m_address = std::string(testCtx.getCommandLine().getServerAddress());
1049 m_server = std::make_shared<vksc_server::Server>(m_address);
1152 std::vector<int> caseFraction = m_testCtx.getCommandLine().getCaseFraction();
1160 m_cacheData = std::move(response.binary);