suyu/src/video_core/macro/macro_jit_x64.h

28 lines
548 B
C++
Raw Normal View History

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