yuzu/src/video_core/macro/macro_interpreter.h

29 lines
576 B
C++
Raw Normal View History

2020-05-29 04:53:27 +00:00
// Copyright 2020 yuzu Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#pragma once
2020-05-29 04:53:27 +00:00
#include <vector>
#include "common/common_types.h"
2020-05-29 04:53:27 +00:00
#include "video_core/macro/macro.h"
namespace Tegra {
namespace Engines {
class Maxwell3D;
}
2020-05-29 04:53:27 +00:00
class MacroInterpreter final : public MacroEngine {
public:
explicit MacroInterpreter(Engines::Maxwell3D& maxwell3d_);
2020-05-29 04:53:27 +00:00
protected:
std::unique_ptr<CachedMacro> Compile(const std::vector<u32>& code) override;
private:
2020-05-29 04:53:27 +00:00
Engines::Maxwell3D& maxwell3d;
};
} // namespace Tegra