Home
last modified time | relevance | path

Searched refs:pStages (Results 1 – 25 of 78) sorted by relevance

1234

/external/deqp/external/vulkancts/framework/vulkan/
DvkSafetyCriticalUtil.cpp333 if (gpCI.pStages != DE_NULL) in calculateGraphicsPipelineHash()
337 hashPNextChain(seed, gpCI.pStages[i].pNext, objectHashes); in calculateGraphicsPipelineHash()
339 hash_combine(seed, deUint32(gpCI.pStages[i].flags), deUint32(gpCI.pStages[i].stage)); in calculateGraphicsPipelineHash()
340 auto it = objectHashes.find(gpCI.pStages[i].module.getInternal()); in calculateGraphicsPipelineHash()
344 hash_combine(seed, std::string(gpCI.pStages[i].pName)); in calculateGraphicsPipelineHash()
346 if (gpCI.pStages[i].pSpecializationInfo != DE_NULL) in calculateGraphicsPipelineHash()
348 if (gpCI.pStages[i].pSpecializationInfo->pMapEntries != DE_NULL) in calculateGraphicsPipelineHash()
350 for (deUint32 j = 0; j < gpCI.pStages[i].pSpecializationInfo->mapEntryCount; ++j) in calculateGraphicsPipelineHash()
351 …seed, gpCI.pStages[i].pSpecializationInfo->pMapEntries[j].constantID, gpCI.pStages[i].pSpecializat… in calculateGraphicsPipelineHash()
353 …hash_combine(seed, MemoryArea(gpCI.pStages[i].pSpecializationInfo->pData, gpCI.pStages[i].pSpecial… in calculateGraphicsPipelineHash()
[all …]
DvkPipelineConstructionUtil.cpp961 …m_internalData->monolithicPipelineCreateInfo.pStages = m_internalData->pipelineShaderStages.dat… in setupPreRasterizationShaderState3()
997 pipelinePartCreateInfo.pStages = m_internalData->pipelineShaderStages.data(); in setupPreRasterizationShaderState3()
1111 …m_internalData->monolithicPipelineCreateInfo.pStages = m_internalData->pipelineShaderStages.dat… in setupPreRasterizationMeshShaderState()
1143 pipelinePartCreateInfo.pStages = m_internalData->pipelineShaderStages.data(); in setupPreRasterizationMeshShaderState()
1281 …pipelinePartCreateInfo.pStages = hasFrag ? &m_internalData->pipelineShaderStages[stageIndex] : … in setupFragmentShaderState2()
DvkResourceInterface.cpp145 shadersInPipeline.insert(gpCI.pStages[i].module); in removeRedundantObjects()
595 if (pCreateInfoCopies[i].pStages != DE_NULL) in createGraphicsPipelines()
599 if (pCreateInfoCopies[i].pStages[j].stage == VK_SHADER_STAGE_VERTEX_BIT) in createGraphicsPipelines()
604 if (pCreateInfoCopies[i].pStages[j].stage == VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT) in createGraphicsPipelines()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_pipeline.c104 if (pipeline->graphics_create_info.pStages[i].pSpecializationInfo) in lvp_DestroyPipeline()
105 free((void *)pipeline->graphics_create_info.pStages[i].pSpecializationInfo); in lvp_DestroyPipeline()
107 free((void *)pipeline->graphics_create_info.pStages); in lvp_DestroyPipeline()
297 result = deep_copy_shader_stage(&stages[i], &src->pStages[i]); in deep_copy_graphics_create_info()
301 dst->pStages = stages; in deep_copy_graphics_create_info()
761 pCreateInfo->pStages[i].module); in lvp_graphics_pipeline_init()
762 gl_shader_stage stage = lvp_shader_stage(pCreateInfo->pStages[i].stage); in lvp_graphics_pipeline_init()
764 pCreateInfo->pStages[i].pName, in lvp_graphics_pipeline_init()
766 pCreateInfo->pStages[i].pSpecializationInfo); in lvp_graphics_pipeline_init()
784 gl_shader_stage stage = lvp_shader_stage(pCreateInfo->pStages[i].stage); in lvp_graphics_pipeline_init()
/external/deqp/external/vulkancts/vkscserver/
DvksCacheBuilder.cpp159 auto it = allShaderModules.find(gpCI.pStages[i].module); in exportFilesForExternalCompiler()
164 auto it2 = allSpirvShaders.find(gpCI.pStages[i].module); in exportFilesForExternalCompiler()
250 …h << "\\" << filePrefix << "shader_" << exportedPipelines << "_" << gpCI.pStages[j].module.getInte… in exportFilesForExternalCompiler()
252 …th << "/" << filePrefix << "shader_" << exportedPipelines << "_" << gpCI.pStages[j].module.getInte… in exportFilesForExternalCompiler()
254 switch (gpCI.pStages[j].stage) in exportFilesForExternalCompiler()
266 auto sit = spirvShaders.find(gpCI.pStages[j].module); in exportFilesForExternalCompiler()
853 VkPipelineShaderStageCreateInfo newStage = gpCI.pStages[i]; in buildPipelineCache()
854 auto jt = falseToRealShaderModules.find(gpCI.pStages[i].module); in buildPipelineCache()
860 gpCI.pStages = newStages.data(); in buildPipelineCache()
DvksJson.cpp342 vk_json::print_VkShaderStageFlagBits(gpCI.pStages[j].stage, "stage", 1); in writeJSON_GraphicsPipeline_vkpccjson()
345 …shaderName << filePrefix << "shader_" << pipelineIndex << "_" << gpCI.pStages[j].module.getInterna… in writeJSON_GraphicsPipeline_vkpccjson()
347 switch (gpCI.pStages[j].stage) in writeJSON_GraphicsPipeline_vkpccjson()
/external/vulkan-validation-layers/layers/
Dgpu_validation.cpp484 return createInfo.pStages[stage].module; in GetShaderModule()
487 createInfo->pStages[stage].module = shader_module; in SetShaderModule()
510 return createInfo.pStages[stage].module; in GetShaderModule()
513 createInfo->pStages[stage].module = shader_module; in SetShaderModule()
624 … shader_state = GetShaderModuleState(pipeline_state->graphicsPipelineCI.pStages[stage].module); in GpuPostCallRecordPipelineCreations()
629 … shader_state = GetShaderModuleState(pipeline_state->raytracingPipelineCI.pStages[stage].module); in GpuPostCallRecordPipelineCreations()
652 shader_module = pipeline_state->graphicsPipelineCI.pStages[stage].module; in GpuPostCallRecordPipelineCreations()
657 shader_module = pipeline_state->raytracingPipelineCI.pStages[stage].module; in GpuPostCallRecordPipelineCreations()
Dparameter_validation_utils.cpp955 active_shaders |= pCreateInfos[i].pStages->stage; in manual_PreCallValidateCreateGraphicsPipelines()
1171 if (pCreateInfos[i].pStages != nullptr) { in manual_PreCallValidateCreateGraphicsPipelines()
1176 … if (pCreateInfos[i].pStages[stage_index].stage == VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT) { in manual_PreCallValidateCreateGraphicsPipelines()
1178 …} else if (pCreateInfos[i].pStages[stage_index].stage == VK_SHADER_STAGE_TESSELLATION_EVALUATION_B… in manual_PreCallValidateCreateGraphicsPipelines()
2013 … "VUID-VkGraphicsPipelineCreateInfo-pStages-parameter", pCreateInfos[i].pStages[j].pName); in manual_PreCallValidateCreateGraphicsPipelines()
/external/virglrenderer/src/venus/venus-protocol/
Dvn_protocol_renderer_pipeline.h1869 val->pStages = vn_cs_decoder_alloc_temp(dec, sizeof(*val->pStages) * iter_count); in vn_decode_VkGraphicsPipelineCreateInfo_self_temp()
1870 if (!val->pStages) return; in vn_decode_VkGraphicsPipelineCreateInfo_self_temp()
1872 …e_VkPipelineShaderStageCreateInfo_temp(dec, &((VkPipelineShaderStageCreateInfo *)val->pStages)[i]); in vn_decode_VkGraphicsPipelineCreateInfo_self_temp()
1875 val->pStages = NULL; in vn_decode_VkGraphicsPipelineCreateInfo_self_temp()
1967 if (val->pStages) { in vn_replace_VkGraphicsPipelineCreateInfo_handle_self()
1969 …lace_VkPipelineShaderStageCreateInfo_handle(&((VkPipelineShaderStageCreateInfo *)val->pStages)[i]); in vn_replace_VkGraphicsPipelineCreateInfo_handle_self()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMiscTests.cpp895 vertexInputPipelineInfo.pStages = de::dataOrNull(allBadStages); in iterate()
923 preRasterShaderPipelineInfo.pStages = de::dataOrNull(preRasterStagesVec); in iterate()
947 fragShaderPipelineInfo.pStages = de::dataOrNull(fragShaderStagesVec); in iterate()
965 fragOutputPipelineInfo.pStages = de::dataOrNull(allBadStages); in iterate()
987 linkedPipelineInfo.pStages = de::dataOrNull(allBadStages); in iterate()
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c97 if (pCreateInfo->pStages[i].stage == VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT || in radv_pipeline_get_tessellation_state()
98 pCreateInfo->pStages[i].stage == VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT) { in radv_pipeline_get_tessellation_state()
2730 const VkPipelineShaderStageCreateInfo **pStages, in radv_fill_shader_info() argument
2844 radv_get_wave_size(pipeline->device, pStages[i], in radv_fill_shader_info()
2848 pStages[i], i, in radv_fill_shader_info()
3043 const VkPipelineShaderStageCreateInfo **pStages, in radv_create_shaders() argument
3064 if (pStages[i]) { in radv_create_shaders()
3065 modules[i] = radv_shader_module_from_handle(pStages[i]->module); in radv_create_shaders()
3075 radv_hash_shaders(hash, pStages, pipeline->layout, key, get_hash_flags(device)); in radv_create_shaders()
3109 const VkPipelineShaderStageCreateInfo *stage = pStages[i]; in radv_create_shaders()
[all …]
Dradv_meta_fast_clear.c339 .pStages = stages, in create_pipeline()
385 .pStages = stages, in create_pipeline()
431 .pStages = stages, in create_pipeline()
Dradv_shader.h445 const VkPipelineShaderStageCreateInfo **pStages,
Dradv_meta_blit2d.c853 .pStages = pipeline_shader_stages, in blit2d_init_color_pipeline()
1044 .pStages = pipeline_shader_stages, in blit2d_init_depth_only_pipeline()
1234 .pStages = pipeline_shader_stages, in blit2d_init_stencil_only_pipeline()
Dradv_meta_decompress.c172 .pStages = (VkPipelineShaderStageCreateInfo[]) { in create_pipeline()
Dradv_meta_resolve_fs.c262 .pStages = pipeline_shader_stages, in create_resolve_pipeline()
631 .pStages = pipeline_shader_stages, in create_depth_stencil_resolve_pipeline()
/external/mesa3d/src/gallium/drivers/zink/
Dzink_pipeline.c166 pci.pStages = shader_stages; in zink_create_gfx_pipeline()
/external/vulkan-validation-layers/layers/generated/
Dvk_safe_struct.cpp3296 pStages(nullptr), in safe_VkGraphicsPipelineCreateInfo()
3313 if (stageCount && in_struct->pStages) { in safe_VkGraphicsPipelineCreateInfo()
3314 pStages = new safe_VkPipelineShaderStageCreateInfo[stageCount]; in safe_VkGraphicsPipelineCreateInfo()
3316 pStages[i].initialize(&in_struct->pStages[i]); in safe_VkGraphicsPipelineCreateInfo()
3328 if (stageCount && pStages) in safe_VkGraphicsPipelineCreateInfo()
3330 …if (pStages[i].stage == VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT || pStages[i].stage == VK_SHADER_… in safe_VkGraphicsPipelineCreateInfo()
3377 pStages(nullptr), in safe_VkGraphicsPipelineCreateInfo()
3394 pStages = nullptr; in safe_VkGraphicsPipelineCreateInfo()
3410 if (stageCount && src.pStages) { in safe_VkGraphicsPipelineCreateInfo()
3411 pStages = new safe_VkPipelineShaderStageCreateInfo[stageCount]; in safe_VkGraphicsPipelineCreateInfo()
[all …]
Dparameter_validation.cpp3097 … pCreateInfos[createInfoIndex].stageCount, pCreateInfos[createInfoIndex].pStages, VK_STRUCTURE_TYP… in PreCallValidateCreateGraphicsPipelines()
3099 if (pCreateInfos[createInfoIndex].pStages != NULL) in PreCallValidateCreateGraphicsPipelines()
3105 …erStageRequiredSubgroupSizeCreateInfoEXT", pCreateInfos[createInfoIndex].pStages[stageIndex].pNext… in PreCallValidateCreateGraphicsPipelines()
3107 …", AllVkPipelineShaderStageCreateFlagBits, pCreateInfos[createInfoIndex].pStages[stageIndex].flags… in PreCallValidateCreateGraphicsPipelines()
3109 …rStageFlagBits", AllVkShaderStageFlagBits, pCreateInfos[createInfoIndex].pStages[stageIndex].stage… in PreCallValidateCreateGraphicsPipelines()
3111 …dexVector{ createInfoIndex, stageIndex }), pCreateInfos[createInfoIndex].pStages[stageIndex].modul… in PreCallValidateCreateGraphicsPipelines()
3113 …dexVector{ createInfoIndex, stageIndex }), pCreateInfos[createInfoIndex].pStages[stageIndex].pName… in PreCallValidateCreateGraphicsPipelines()
3115 … if (pCreateInfos[createInfoIndex].pStages[stageIndex].pSpecializationInfo != NULL) in PreCallValidateCreateGraphicsPipelines()
3117 …CreateInfos[createInfoIndex].pStages[stageIndex].pSpecializationInfo->mapEntryCount, &pCreateInfos… in PreCallValidateCreateGraphicsPipelines()
3119 … if (pCreateInfos[createInfoIndex].pStages[stageIndex].pSpecializationInfo->pMapEntries != NULL) in PreCallValidateCreateGraphicsPipelines()
[all …]
/external/mesa3d/src/intel/vulkan/
Danv_pipeline.c1285 const VkPipelineShaderStageCreateInfo *sinfo = &info->pStages[i]; in anv_pipeline_compile_graphics()
1630 gl_shader_stage s = vk_to_mesa_shader_stage(info->pStages[i].stage); in anv_pipeline_compile_graphics()
1917 const VkPipelineShaderStageCreateInfo *sinfo = &pCreateInfo->pStages[i]; in copy_non_dynamic_state()
2090 switch (info->pStages[i].stage) { in anv_pipeline_validate_create_info()
/external/mesa3d/include/vulkan/
Dvulkan_beta.h157 const VkPipelineShaderStageCreateInfo* pStages; member
/external/deqp/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderSmokeTestsEXT.cpp1842 fragShaderInfo.pStages = &fragShaderStageCreateInfo; in iterate()
1931 preRastShaderInfo.pStages = &vertShaderStageCreateInfo; in iterate()
1934 preRastShaderInfo.pStages = &meshShaderStageCreateInfo; in iterate()
/external/swiftshader/src/Vulkan/
DVkPipeline.cpp476 const VkPipelineShaderStageCreateInfo &stageInfo = pCreateInfo->pStages[stageIndex]; in compileShaders()
/external/mesa3d/src/freedreno/vulkan/
Dtu_pipeline.c1964 if (pipeline_info->pStages[i].stage == VK_SHADER_STAGE_GEOMETRY_BIT) { in tu_pipeline_shader_key_init()
2038 vk_to_mesa_shader_stage(builder->create_info->pStages[i].stage); in tu_pipeline_builder_compile_shaders()
2039 stage_infos[stage] = &builder->create_info->pStages[i]; in tu_pipeline_builder_compile_shaders()
2267 stages |= builder->create_info->pStages[i].stage; in tu_pipeline_builder_parse_shader_stages()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBufferTests.cpp291 const VkPipelineShaderStageCreateInfo* pStages) in makeGraphicsPipeline() argument
428 pStages, // const VkPipelineShaderStageCreateInfo* pStages; in makeGraphicsPipeline()

1234