util/llpcPipelineShaders.cpp
ShaderStage PipelineShaders::GetShaderStage(
    const Function* pFunc  // [in] Function to look up
    ) const
{
    auto entryMapIt = m_entryPointMap.find(pFunc);
    if (entryMapIt == m_entryPointMap.end())
    {
        return ShaderStageInvalid;
    }
    return entryMapIt->second;
}
// =====================================================================================================================
// Get the ABI shader stage for a particular function, or ShaderStageInvalid if not a shader entrypoint.
Get the ABI shader stage for a particular function, or ShaderStageInvalid if not a shader entrypoint.
Get the ABI shader stage for a particular function or ShaderStageInvalid if not a shader entrypoint .
ShaderStage PipelineShaders::GetShaderStage(
    const Function* pFunc  
    ) const
{
    auto entryMapIt = m_entryPointMap.find(pFunc);
    if (entryMapIt == m_entryPointMap.end())
    {
        return ShaderStageInvalid;
    }
    return entryMapIt->second;
}
ShaderStage PipelineShaders :: GetShaderStage ( const Function * pFunc ) const { auto entryMapIt = m_entryPointMap . find ( pFunc ) ; if ( entryMapIt == m_entryPointMap . end ( ) ) { return ShaderStageInvalid ; } return entryMapIt -> second ; }
Get the ABI shader stage for a particular function, or ShaderStageInvalid if not a shader entrypoint.
Get the ABI shader stage for a particular function or ShaderStageInvalid if not a shader entrypoint .
// [in] Function to look up