mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-16 18:30:05 +00:00
99ceb03a1c
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
28 lines
557 B
C++
28 lines
557 B
C++
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#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
|