Source/ThirdParty/ANGLE/src/libGLESv2/Program.cpp
std::string Program::decorate(const std::string &string)
{
    if (string.substr(0, 3) != "gl_" && string.substr(0, 3) != "dx_")
    {
        return "_" + string;
    }
    else
    {
        return string;
    }
}
// This method needs to match OutputHLSL::decorate
This method needs to match OutputHLSL::decorate
This method needs to match OutputHLSL :: decorate
std::string Program::decorate(const std::string &string)
{
    if (string.substr(0, 3) != "gl_" && string.substr(0, 3) != "dx_")
    {
        return "_" + string;
    }
    else
    {
        return string;
    }
}
std :: string Program :: decorate ( const std :: string & string ) { if ( string . substr ( 0 , 3 ) != " " && string . substr ( 0 , 3 ) != " " ) { return " " + string ; } else { return string ; } }
This method needs to match OutputHLSL::decorate
This method needs to match OutputHLSL :: decorate