Files
eden/src/video_core/macro/macro_interpreter.h
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
557 B
C++
Raw Normal View History

// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
2018-03-28 15:14:47 -05:00
#pragma once
2020-05-29 14:53:27 +10:00
#include <vector>
2018-03-28 15:14:47 -05:00
#include "common/common_types.h"
2020-05-29 14:53:27 +10:00
#include "video_core/macro/macro.h"
2018-03-28 15:14:47 -05:00
namespace Tegra {
namespace Engines {
class Maxwell3D;
}
2020-05-29 14:53:27 +10:00
class MacroInterpreter final : public MacroEngine {
2018-03-28 15:14:47 -05:00
public:
explicit MacroInterpreter(Engines::Maxwell3D& maxwell3d_);
2018-03-28 15:14:47 -05:00
2020-05-29 14:53:27 +10:00
protected:
std::unique_ptr<CachedMacro> Compile(const std::vector<u32>& code) override;
2018-03-28 15:14:47 -05:00
private:
2020-05-29 14:53:27 +10:00
Engines::Maxwell3D& maxwell3d;
};
2018-03-28 15:14:47 -05:00
} // namespace Tegra