Source/ThirdParty/ANGLE/src/libGLESv2/Context.cpp
void Context::lookupAttributeMapping(TranslatedAttribute *attributes)
{
    for (int i = 0; i < MAX_VERTEX_ATTRIBS; i++)
    {
        if (attributes[i].active)
        {
            attributes[i].semanticIndex = getCurrentProgram()->getSemanticIndex(i);
        }
    }
}
// Fill in the semanticIndex field of the array of TranslatedAttributes based on the active GLSL program.
Fill in the semanticIndex field of the array of TranslatedAttributes based on the active GLSL program.
Fill in the semanticIndex field of the array of TranslatedAttributes based on the active GLSL program .
void Context::lookupAttributeMapping(TranslatedAttribute *attributes)
{
    for (int i = 0; i < MAX_VERTEX_ATTRIBS; i++)
    {
        if (attributes[i].active)
        {
            attributes[i].semanticIndex = getCurrentProgram()->getSemanticIndex(i);
        }
    }
}
void Context :: lookupAttributeMapping ( TranslatedAttribute * attributes ) { for ( int i = 0 ; i < MAX_VERTEX_ATTRIBS ; i ++ ) { if ( attributes [ i ] . active ) { attributes [ i ] . semanticIndex = getCurrentProgram ( ) -> getSemanticIndex ( i ) ; } } }
Fill in the semanticIndex field of the array of TranslatedAttributes based on the active GLSL program.
Fill in the semanticIndex field of the array of TranslatedAttributes based on the active GLSL program .