#include "compiler/translator/tree_ops/ForcePrecisionQualifier.h"
#include "angle_gl.h"
#include "common/debug.h"
#include "compiler/translator/Compiler.h"
#include "compiler/translator/tree_util/IntermTraverse.h"
#include "compiler/translator/util.h"
namespace sh
{
namespace
{
class TPrecisionTraverser : public TIntermTraverser
{ … };
TPrecisionTraverser::TPrecisionTraverser(TSymbolTable *symbolTable)
: … { … }
void TPrecisionTraverser::overwriteVariablePrecision(TType *type) const
{ … }
bool TPrecisionTraverser::visitDeclaration(Visit visit, TIntermDeclaration *node)
{ … }
}
bool ForceShaderPrecisionToMediump(TIntermNode *root, TSymbolTable *symbolTable, GLenum shaderType)
{ … }
}