summaryrefslogblamecommitdiffstats
path: root/src/video_core/macro/macro_jit_x64.h
blob: 99ee1b9e6859c63abd53b5a51c7b3b1f2330d20b (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                               


            
                                


                                   
 



                   

                                              
                                                         







                                                                                
                    
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#include "common/common_types.h"
#include "video_core/macro/macro.h"

namespace Tegra {

namespace Engines {
class Maxwell3D;
}

class MacroJITx64 final : public MacroEngine {
public:
    explicit MacroJITx64(Engines::Maxwell3D& maxwell3d_);

protected:
    std::unique_ptr<CachedMacro> Compile(const std::vector<u32>& code) override;

private:
    Engines::Maxwell3D& maxwell3d;
};

} // namespace Tegra