lib/src/vulkan/glslang/glslang/MachineIndependent/linkValidate.cpp
// Accumulate used constant_id values.
//
// Return false is one was already used.
Accumulate used constant_id values.
Return false is one was already used.
Accumulate used constant_id values . Return false is one was already used .
bool TIntermediate::addUsedConstantId(int id)
{
    if (usedConstantId.find(id) != usedConstantId.end())
        return false;
    usedConstantId.insert(id);
    return true;
}
bool TIntermediate :: addUsedConstantId ( int id ) { if ( usedConstantId . find ( id ) != usedConstantId . end ( ) ) return false ; usedConstantId . insert ( id ) ; return true ; }
Accumulate used constant_id values.
Accumulate used constant_id values .