// Copyright 2016 Citra Emulator Project // Licensed under GPLv2 or any later version // Refer to the license.txt file included. #pragma once #include "common/arch.h" #if CITRA_ARCH(x86_64) #include #include #include "common/common_types.h" #include "video_core/shader/shader.h" namespace Pica::Shader { class JitShader; class JitX64Engine final : public ShaderEngine { public: JitX64Engine(); ~JitX64Engine() override; void SetupBatch(ShaderSetup& setup, unsigned int entry_point) override; void Run(const ShaderSetup& setup, UnitState& state) const override; private: std::unordered_map> cache; }; } // namespace Pica::Shader #endif // CITRA_ARCH(x86_64)