Source/ThirdParty/ANGLE/src/libANGLE/renderer/vulkan/ProgramExecutableVk.cpp
// TODO: http://anglebug.com/3570: Move/Copy all of the necessary information into
// the ProgramExecutable, so this function can be removed.
anglebug.com/3570: Move/Copy all of the necessary information into
the ProgramExecutable, so this function can be removed.
anglebug . com / 3570 : Move / Copy all of the necessary information into the ProgramExecutable so this function can be removed .
void ProgramExecutableVk::fillProgramStateMap(
    const ContextVk *contextVk,
    gl::ShaderMap<const gl::ProgramState *> *programStatesOut)
{
    ASSERT(mProgram || mProgramPipeline);
    if (mProgram)
    {
        mProgram->fillProgramStateMap(programStatesOut);
    }
    else if (mProgramPipeline)
    {
        mProgramPipeline->fillProgramStateMap(contextVk, programStatesOut);
    }
}
void ProgramExecutableVk :: fillProgramStateMap ( const ContextVk * contextVk , gl :: ShaderMap < const gl :: ProgramState * > * programStatesOut ) { ASSERT ( mProgram || mProgramPipeline ) ; if ( mProgram ) { mProgram -> fillProgramStateMap ( programStatesOut ) ; } else if ( mProgramPipeline ) { mProgramPipeline -> fillProgramStateMap ( contextVk , programStatesOut ) ; } }
TODO: http://anglebug.com/3570: Move/Copy all of the necessary information into
the ProgramExecutable, so this function can be removed.
TODO : http : // anglebug . com / 3570 : Move / Copy all of the necessary information into the ProgramExecutable so this function can be removed .