chromium/third_party/angle/src/compiler/translator/BuiltInFunctionEmulator.cpp

//
// Copyright 2002 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//

#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)
{}

// static
void BuiltInFunctionEmulator::WriteEmulatedFunctionName(TInfoSinkBase &out, const char *name)
{}

}  // namespace sh