a3c81745b1
Given it's intended to be an internal implementation class, we can move it into the cpp file to ensure that. This also lets us move some header dependencies into the cpp file as well.
28 lines
521 B
C++
28 lines
521 B
C++
// Copyright 2020 yuzu Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <memory>
|
|
#include <optional>
|
|
#include "common/common_types.h"
|
|
|
|
namespace Tegra {
|
|
|
|
namespace Engines {
|
|
class Maxwell3D;
|
|
}
|
|
|
|
class HLEMacro {
|
|
public:
|
|
explicit HLEMacro(Engines::Maxwell3D& maxwell3d_);
|
|
~HLEMacro();
|
|
|
|
std::optional<std::unique_ptr<CachedMacro>> GetHLEProgram(u64 hash) const;
|
|
|
|
private:
|
|
Engines::Maxwell3D& maxwell3d;
|
|
};
|
|
|
|
} // namespace Tegra
|