// Copyright 2018 yuzu Emulator Project // Licensed under GPLv2 or any later version // Refer to the license.txt file included. #include #include #include #include "common/common_types.h" namespace Maxwell3D { namespace Shader { namespace Decompiler { constexpr size_t MAX_PROGRAM_CODE_LENGTH{0x100000}; constexpr size_t MAX_SWIZZLE_DATA_LENGTH{0x100000}; std::string DecompileProgram(const std::array& program_code, const std::array& swizzle_data, u32 main_offset, const std::function& inputreg_getter, const std::function& outputreg_getter, bool sanitize_mul, const std::string& emit_cb = "", const std::string& setemit_cb = ""); } // namespace Decompiler } // namespace Shader } // namespace Maxwell3D