mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-17 01:50:05 +00:00
81d1a1133d
Keeps the implementation hidden from the intended API and lessens the header dependencies on the interpreter's header.
29 lines
576 B
C++
29 lines
576 B
C++
// Copyright 2020 yuzu Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <vector>
|
|
|
|
#include "common/common_types.h"
|
|
#include "video_core/macro/macro.h"
|
|
|
|
namespace Tegra {
|
|
namespace Engines {
|
|
class Maxwell3D;
|
|
}
|
|
|
|
class MacroInterpreter final : public MacroEngine {
|
|
public:
|
|
explicit MacroInterpreter(Engines::Maxwell3D& maxwell3d_);
|
|
|
|
protected:
|
|
std::unique_ptr<CachedMacro> Compile(const std::vector<u32>& code) override;
|
|
|
|
private:
|
|
Engines::Maxwell3D& maxwell3d;
|
|
};
|
|
|
|
} // namespace Tegra
|