Lines Matching refs:second
78 readJSON_VkSamplerYcbcrConversionCreateInfo(jsonReader, samplerYcbcr.second, sycCI); in exportFilesForExternalCompiler()
86 readJSON_VkSamplerCreateInfo(jsonReader, sampler.second, sCI); in exportFilesForExternalCompiler()
96 readJSON_VkShaderModuleCreateInfo(jsonReader, shader.second, smCI, spirvShader); in exportFilesForExternalCompiler()
105 if (renderPass.second.find("VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2") != std::string::npos) in exportFilesForExternalCompiler()
108 readJSON_VkRenderPassCreateInfo2(jsonReader, renderPass.second, rpCI); in exportFilesForExternalCompiler()
111 else if (renderPass.second.find("VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO") != std::string::npos) in exportFilesForExternalCompiler()
114 readJSON_VkRenderPassCreateInfo(jsonReader, renderPass.second, rpCI); in exportFilesForExternalCompiler()
125 readJSON_VkDescriptorSetLayoutCreateInfo(jsonReader, descriptorSetLayout.second, dsCI); in exportFilesForExternalCompiler()
133 readJSON_VkPipelineLayoutCreateInfo(jsonReader, pipelineLayout.second, plCI); in exportFilesForExternalCompiler()
193 for (deUint32 i = 0; i < it->second.setLayoutCount; ++i) in exportFilesForExternalCompiler()
195 auto it2 = allDescriptorSetLayouts.find(it->second.pSetLayouts[i]); in exportFilesForExternalCompiler()
198 descriptorSetLayouts.insert({ it2->first, it2->second }); in exportFilesForExternalCompiler()
201 for (deUint32 j = 0; j < it2->second.bindingCount; ++j) in exportFilesForExternalCompiler()
203 if (it2->second.pBindings[j].pImmutableSamplers != DE_NULL) in exportFilesForExternalCompiler()
205 for (deUint32 k = 0; k < it2->second.pBindings[j].descriptorCount; ++k) in exportFilesForExternalCompiler()
207 auto it3 = allSamplers.find(it2->second.pBindings[j].pImmutableSamplers[k]); in exportFilesForExternalCompiler()
210 samplers.insert({ it3->first, it3->second }); in exportFilesForExternalCompiler()
213 if (it3->second.pNext != DE_NULL) in exportFilesForExternalCompiler()
215 …ionInfo* info = (VkSamplerYcbcrConversionInfo*)findStructureInChain(it3->second.pNext, VK_STRUCTUR… in exportFilesForExternalCompiler()
221 samplerYcbcrConversions.insert({ it4->first, it4->second }); in exportFilesForExternalCompiler()
271 oFile.write((const char *)sit->second.data(), sit->second.size()); in exportFilesForExternalCompiler()
302 for (deUint32 i = 0; i < it->second.setLayoutCount; ++i) in exportFilesForExternalCompiler()
304 auto it2 = allDescriptorSetLayouts.find(it->second.pSetLayouts[i]); in exportFilesForExternalCompiler()
307 descriptorSetLayouts.insert({ it2->first, it2->second }); in exportFilesForExternalCompiler()
310 for (deUint32 j = 0; j < it2->second.bindingCount; ++j) in exportFilesForExternalCompiler()
312 if (it2->second.pBindings[j].pImmutableSamplers != DE_NULL) in exportFilesForExternalCompiler()
314 for (deUint32 k = 0; k < it2->second.pBindings[j].descriptorCount; ++k) in exportFilesForExternalCompiler()
316 auto it3 = allSamplers.find(it2->second.pBindings[j].pImmutableSamplers[k]); in exportFilesForExternalCompiler()
319 samplers.insert({ it3->first, it3->second }); in exportFilesForExternalCompiler()
322 if (it3->second.pNext != DE_NULL) in exportFilesForExternalCompiler()
324 VkSamplerYcbcrConversionInfo* info = (VkSamplerYcbcrConversionInfo*)(it3->second.pNext); in exportFilesForExternalCompiler()
330 samplerYcbcrConversions.insert({ it4->first, it4->second }); in exportFilesForExternalCompiler()
374 oFile.write((const char *)sit->second.data(), sit->second.size()); in exportFilesForExternalCompiler()
519 …for (auto&& it : falseToRealPipelineLayouts) destroyPipelineLayoutFunc(*pcDevice, it.second, DE_… in buildPipelineCache()
520 … : falseToRealDescriptorSetLayouts) destroyDescriptorSetLayoutFunc(*pcDevice, it.second, DE_NULL); in buildPipelineCache()
521 … for (auto&& it : falseToRealRenderPasses) destroyRenderPassFunc(*pcDevice, it.second, DE_NULL); in buildPipelineCache()
522 …for (auto&& it : falseToRealShaderModules) destroyShaderModuleFunc(*pcDevice, it.second, DE_NUL… in buildPipelineCache()
523 for (auto&& it : falseToRealSamplers) destroySamplerFunc(*pcDevice, it.second, DE_NULL); in buildPipelineCache()
524 …lseToRealSamplerYcbcrConversions) destroySamplerYcbcrConversionFunc(*pcDevice, it.second, DE_NULL); in buildPipelineCache()
629 readJSON_VkDescriptorSetLayoutCreateInfo(jsonReader, descriptorSetLayout.second, dsCI); in buildPipelineCache()
635 for (deUint32 i = 0; i < dsCI.second.bindingCount; ++i) in buildPipelineCache()
636 …t = de::max(chainedObjReservation->descriptorSetLayoutBindingLimit, dsCI.second.pBindings[i].bindi… in buildPipelineCache()
690 readJSON_VkSamplerYcbcrConversionCreateInfo(jsonReader, samplerYcbcr.second, sycCI); in buildPipelineCache()
700 readJSON_VkSamplerCreateInfo(jsonReader, sampler.second, sCI); in buildPipelineCache()
713 info->conversion = jt->second; in buildPipelineCache()
728 readJSON_VkShaderModuleCreateInfo(jsonReader, shader.second, smCI, spirvShader); in buildPipelineCache()
737 if (renderPass.second.find("VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2") != std::string::npos) in buildPipelineCache()
740 readJSON_VkRenderPassCreateInfo2(jsonReader, renderPass.second, rpCI); in buildPipelineCache()
745 … else if (renderPass.second.find("VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO") != std::string::npos) in buildPipelineCache()
748 readJSON_VkRenderPassCreateInfo(jsonReader, renderPass.second, rpCI); in buildPipelineCache()
765 for (deUint32 i = 0; i < dsCI.second.bindingCount; ++i) in buildPipelineCache()
767 if (dsCI.second.pBindings[i].pImmutableSamplers != DE_NULL) in buildPipelineCache()
773 for (deUint32 i = 0; i < dsCI.second.bindingCount; ++i) in buildPipelineCache()
775 if (dsCI.second.pBindings[i].pImmutableSamplers == DE_NULL) in buildPipelineCache()
777 newDescriptorBindings.push_back(dsCI.second.pBindings[i]); in buildPipelineCache()
781 realSamplers.push_back(std::vector<VkSampler>(dsCI.second.pBindings[i].descriptorCount)); in buildPipelineCache()
782 for (deUint32 j = 0; j < dsCI.second.pBindings[i].descriptorCount; ++j) in buildPipelineCache()
784 if (dsCI.second.pBindings[i].pImmutableSamplers[j] == DE_NULL) in buildPipelineCache()
791 auto jt = falseToRealSamplers.find(dsCI.second.pBindings[i].pImmutableSamplers[j]); in buildPipelineCache()
794 realSamplers.back()[j] = jt->second; in buildPipelineCache()
799 dsCI.second.pBindings[i].binding, // deUint32 binding; in buildPipelineCache()
800 dsCI.second.pBindings[i].descriptorType, // VkDescriptorType descriptorType; in buildPipelineCache()
801 dsCI.second.pBindings[i].descriptorCount, // deUint32 descriptorCount; in buildPipelineCache()
802 dsCI.second.pBindings[i].stageFlags, // VkShaderStageFlags stageFlags; in buildPipelineCache()
807 dsCI.second.pBindings = newDescriptorBindings.data(); in buildPipelineCache()
811 …VK_CHECK(createDescriptorSetLayoutFunc(*pcDevice, &dsCI.second, DE_NULL, &realDescriptorSetLayout)… in buildPipelineCache()
819 readJSON_VkPipelineLayoutCreateInfo(jsonReader, pipelineLayout.second, plCI); in buildPipelineCache()
827 newSetLayouts.push_back(jt->second); in buildPipelineCache()
857 newStage.module = jt->second; in buildPipelineCache()
867 gpCI.renderPass = jt->second; in buildPipelineCache()
875 gpCI.layout = jt->second; in buildPipelineCache()
899 cpCI.stage.module = jt->second; in buildPipelineCache()
907 cpCI.layout = jt->second; in buildPipelineCache()
928 …for (auto&& it : falseToRealPipelineLayouts) destroyPipelineLayoutFunc(*pcDevice, it.second, DE_… in buildPipelineCache()
929 … : falseToRealDescriptorSetLayouts) destroyDescriptorSetLayoutFunc(*pcDevice, it.second, DE_NULL); in buildPipelineCache()
930 for (auto&& it : falseToRealRenderPasses) destroyRenderPassFunc(*pcDevice, it.second, DE_NULL); in buildPipelineCache()
931 …for (auto&& it : falseToRealShaderModules) destroyShaderModuleFunc(*pcDevice, it.second, DE_NUL… in buildPipelineCache()
932 for (auto&& it : falseToRealSamplers) destroySamplerFunc(*pcDevice, it.second, DE_NULL); in buildPipelineCache()
933 …lseToRealSamplerYcbcrConversions) destroySamplerYcbcrConversionFunc(*pcDevice, it.second, DE_NULL); in buildPipelineCache()