#include "compiler/translator/BuiltInFunctionEmulator.h"
#include "angle_gl.h"
#include "compiler/translator/Symbol.h"
#include "compiler/translator/tree_util/IntermTraverse.h"
namespace sh
{
class BuiltInFunctionEmulator::BuiltInFunctionEmulationMarker : public TIntermTraverser
{ … };
BuiltInFunctionEmulator::BuiltInFunctionEmulator() { … }
void BuiltInFunctionEmulator::addEmulatedFunction(const TSymbolUniqueId &uniqueId,
const char *emulatedFunctionDefinition)
{ … }
void BuiltInFunctionEmulator::addEmulatedFunctionWithDependency(
const TSymbolUniqueId &dependency,
const TSymbolUniqueId &uniqueId,
const char *emulatedFunctionDefinition)
{ … }
bool BuiltInFunctionEmulator::isOutputEmpty() const
{ … }
void BuiltInFunctionEmulator::outputEmulatedFunctions(TInfoSinkBase &out) const
{ … }
const char *BuiltInFunctionEmulator::findEmulatedFunction(int uniqueId) const
{ … }
bool BuiltInFunctionEmulator::setFunctionCalled(const TFunction *function)
{ … }
bool BuiltInFunctionEmulator::setFunctionCalled(int uniqueId)
{ … }
void BuiltInFunctionEmulator::markBuiltInFunctionsForEmulation(TIntermNode *root)
{ … }
void BuiltInFunctionEmulator::cleanup()
{ … }
void BuiltInFunctionEmulator::addFunctionMap(BuiltinQueryFunc queryFunc)
{ … }
void BuiltInFunctionEmulator::WriteEmulatedFunctionName(TInfoSinkBase &out, const char *name)
{ … }
}