Home
last modified time | relevance | path

Searched refs:gpCI (Results 1 - 6 of 6) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkSafetyCriticalUtil.cpp300 bool graphicsPipelineHasDynamicState(const VkGraphicsPipelineCreateInfo& gpCI, VkDynamicState state) in graphicsPipelineHasDynamicState() argument
302 if (gpCI.pDynamicState == DE_NULL) in graphicsPipelineHasDynamicState()
305 if (gpCI.pDynamicState->pDynamicStates == DE_NULL) in graphicsPipelineHasDynamicState()
308 for (deUint32 i = 0; i < gpCI.pDynamicState->dynamicStateCount; ++i) in graphicsPipelineHasDynamicState()
309 if (gpCI.pDynamicState->pDynamicStates[i] == state) in graphicsPipelineHasDynamicState()
315 std::size_t calculateGraphicsPipelineHash (const VkGraphicsPipelineCreateInfo& gpCI, const std::map<deUint64, std::size_t>& objectHashes) in calculateGraphicsPipelineHash() argument
319 hashPNextChain(seed, gpCI.pNext, objectHashes); in calculateGraphicsPipelineHash()
321 hash_combine(seed, gpCI.flags); in calculateGraphicsPipelineHash()
333 if (gpCI.pStages != DE_NULL) in calculateGraphicsPipelineHash()
335 for (deUint32 i = 0; i < gpCI in calculateGraphicsPipelineHash()
[all...]
H A DvkResourceInterface.cpp140 VkGraphicsPipelineCreateInfo gpCI; in removeRedundantObjects() local
141 deMemset(&gpCI, 0, sizeof(gpCI)); in removeRedundantObjects()
142 readJSON_VkGraphicsPipelineCreateInfo(jsonReader, it->pipelineContents, gpCI); in removeRedundantObjects()
144 for (deUint32 i = 0; i < gpCI.stageCount; ++i) in removeRedundantObjects()
145 shadersInPipeline.insert(gpCI.pStages[i].module); in removeRedundantObjects()
146 renderPassesInPipeline.insert(gpCI.renderPass); in removeRedundantObjects()
147 pipelineLayoutsInPipeline.insert(gpCI.layout); in removeRedundantObjects()
525 VkPipelineOfflineCreateInfo makeGraphicsPipelineIdentifier (const std::string& testPath, const VkGraphicsPipelineCreateInfo& gpCI, const std::map<deUint64, std::size_t>& objectHashes) in makeGraphicsPipelineIdentifier() argument
529 std::size_t hashValue = calculateGraphicsPipelineHash(gpCI, objectHashe in makeGraphicsPipelineIdentifier()
[all...]
H A DvkSafetyCriticalUtil.hpp63 std::size_t calculateGraphicsPipelineHash (const VkGraphicsPipelineCreateInfo& gpCI,
/third_party/vk-gl-cts/external/vulkancts/vkscserver/
H A DvksCacheBuilder.cpp153 VkGraphicsPipelineCreateInfo gpCI{}; in exportFilesForExternalCompiler()
154 readJSON_VkGraphicsPipelineCreateInfo(jsonReader, pipeline.pipelineContents, gpCI); in exportFilesForExternalCompiler()
157 for (deUint32 i = 0; i < gpCI.stageCount; ++i) in exportFilesForExternalCompiler()
159 auto it = allShaderModules.find(gpCI.pStages[i].module); in exportFilesForExternalCompiler()
164 auto it2 = allSpirvShaders.find(gpCI.pStages[i].module); in exportFilesForExternalCompiler()
172 auto it = allRenderPasses.find(gpCI.renderPass); in exportFilesForExternalCompiler()
175 auto it2 = allRenderPasses2.find(gpCI.renderPass); in exportFilesForExternalCompiler()
187 auto it = allPipelineLayouts.find(gpCI.layout); in exportFilesForExternalCompiler()
234 std::string gpTxt = writeJSON_GraphicsPipeline_vkpccjson(filePrefix, exportedPipelines, pipeline.id, gpCI, deviceFeatures2, pipeline.deviceExtensions, samplerYcbcrConversions, samplers, descriptorSetLayouts, renderPasses, renderPasses2, pipelineLayouts); in exportFilesForExternalCompiler()
246 for (deUint32 j = 0; j < gpCI in exportFilesForExternalCompiler()
[all...]
H A DvksJson.hpp67 const vk::VkGraphicsPipelineCreateInfo& gpCI,
91 vk::VkGraphicsPipelineCreateInfo& gpCI);
H A DvksJson.cpp168 const VkGraphicsPipelineCreateInfo& gpCI, in writeJSON_GraphicsPipeline_vkpccjson()
310 vk_json::print_VkGraphicsPipelineCreateInfo(gpCI, "", true); in writeJSON_GraphicsPipeline_vkpccjson()
320 for( deUint32 j=0; j<gpCI.stageCount; ++j) in writeJSON_GraphicsPipeline_vkpccjson()
326 vk_json::print_VkShaderStageFlagBits(gpCI.pStages[j].stage, "stage", 1); in writeJSON_GraphicsPipeline_vkpccjson()
329 shaderName << filePrefix << "shader_" << pipelineIndex << "_" << gpCI.pStages[j].module.getInternal() << "."; in writeJSON_GraphicsPipeline_vkpccjson()
331 switch (gpCI.pStages[j].stage) in writeJSON_GraphicsPipeline_vkpccjson()
348 if ((j+1) >= gpCI.stageCount) in writeJSON_GraphicsPipeline_vkpccjson()
690 VkGraphicsPipelineCreateInfo& gpCI) in readJSON_VkGraphicsPipelineCreateInfo()
697 vk_json_parser::parse_VkGraphicsPipelineCreateInfo("", jsonRoot, gpCI); in readJSON_VkGraphicsPipelineCreateInfo()
165 writeJSON_GraphicsPipeline_vkpccjson(const std::string& filePrefix, deUint32 pipelineIndex, const vk::VkPipelineOfflineCreateInfo id, const VkGraphicsPipelineCreateInfo& gpCI, const vk::VkPhysicalDeviceFeatures2& deviceFeatures2, const std::vector<std::string>& deviceExtensions, const std::map<VkSamplerYcbcrConversion, VkSamplerYcbcrConversionCreateInfo>& samplerYcbcrConversions, const std::map<VkSampler, VkSamplerCreateInfo>& samplers, const std::map<VkDescriptorSetLayout, VkDescriptorSetLayoutCreateInfo>& descriptorSetLayouts, const std::map<VkRenderPass, VkRenderPassCreateInfo>& renderPasses, const std::map<VkRenderPass, VkRenderPassCreateInfo2>& renderPasses2, const std::map<VkPipelineLayout, VkPipelineLayoutCreateInfo>& pipelineLayouts) writeJSON_GraphicsPipeline_vkpccjson() argument
688 readJSON_VkGraphicsPipelineCreateInfo(Context& context, const string& graphicsPipelineCreateInfo, VkGraphicsPipelineCreateInfo& gpCI) readJSON_VkGraphicsPipelineCreateInfo() argument

Completed in 7 milliseconds