#include "compiler/translator/tree_ops/glsl/RegenerateStructNames.h"
#include "common/debug.h"
#include "compiler/translator/Compiler.h"
#include "compiler/translator/ImmutableStringBuilder.h"
#include "compiler/translator/SymbolTable.h"
#include "compiler/translator/tree_util/IntermTraverse.h"
#include <set>
namespace sh
{
namespace
{
constexpr const ImmutableString kPrefix("_webgl_struct_");
}
class RegenerateStructNamesTraverser : public TIntermTraverser
{ … };
void RegenerateStructNamesTraverser::visitSymbol(TIntermSymbol *symbol)
{ … }
bool RegenerateStructNamesTraverser::visitBlock(Visit, TIntermBlock *block)
{ … }
bool RegenerateStructNames(TCompiler *compiler, TIntermBlock *root, TSymbolTable *symbolTable)
{ … }
}