macro_jit_x64.h 529 B

1234567891011121314151617181920212223242526
  1. // SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. #include "common/common_types.h"
  5. #include "video_core/macro/macro.h"
  6. namespace Tegra {
  7. namespace Engines {
  8. class Maxwell3D;
  9. }
  10. class MacroJITx64 final : public MacroEngine {
  11. public:
  12. explicit MacroJITx64(Engines::Maxwell3D& maxwell3d_);
  13. protected:
  14. std::unique_ptr<CachedMacro> Compile(const std::vector<u32>& code) override;
  15. private:
  16. Engines::Maxwell3D& maxwell3d;
  17. };
  18. } // namespace Tegra