#include "compiler/translator/glsl/TranslatorESSL.h"
#include "angle_gl.h"
#include "common/utilities.h"
#include "compiler/translator/StaticType.h"
#include "compiler/translator/glsl/BuiltInFunctionEmulatorGLSL.h"
#include "compiler/translator/glsl/OutputESSL.h"
#include "compiler/translator/tree_ops/DeclarePerVertexBlocks.h"
#include "compiler/translator/tree_ops/RecordConstantPrecision.h"
#include "compiler/translator/tree_util/FindSymbolNode.h"
#include "compiler/translator/tree_util/ReplaceClipCullDistanceVariable.h"
#include "compiler/translator/tree_util/RunAtTheEndOfShader.h"
#include "compiler/translator/util.h"
namespace sh
{
namespace
{
bool EmulateClipOrigin(TCompiler *compiler, TIntermBlock *root, TSymbolTable *symbolTable)
{ … }
}
TranslatorESSL::TranslatorESSL(sh::GLenum type, ShShaderSpec spec)
: … { … }
void TranslatorESSL::initBuiltInFunctionEmulator(BuiltInFunctionEmulator *emu,
const ShCompileOptions &compileOptions)
{ … }
bool TranslatorESSL::translate(TIntermBlock *root,
const ShCompileOptions &compileOptions,
PerformanceDiagnostics * )
{ … }
bool TranslatorESSL::shouldFlattenPragmaStdglInvariantAll()
{ … }
void TranslatorESSL::writeExtensionBehavior(const ShCompileOptions &compileOptions)
{ … }
}