#include "compiler/translator/ValidateTypeSizeLimitations.h"
#include "angle_gl.h"
#include "common/mathutil.h"
#include "compiler/translator/Diagnostics.h"
#include "compiler/translator/Symbol.h"
#include "compiler/translator/SymbolTable.h"
#include "compiler/translator/blocklayout.h"
#include "compiler/translator/tree_util/IntermTraverse.h"
#include "compiler/translator/util.h"
namespace sh
{
namespace
{
constexpr size_t kMaxVariableSizeInBytes = …;
constexpr size_t kMaxPrivateVariableSizeInBytes = …;
constexpr size_t kMaxTotalPrivateVariableSizeInBytes = …;
class ValidateTypeSizeLimitationsTraverser : public TIntermTraverser
{ … };
}
bool ValidateTypeSizeLimitations(TIntermNode *root,
TSymbolTable *symbolTable,
TDiagnostics *diagnostics)
{ … }
}