yuzu/src/shader_recompiler/recompiler.h

21 lines
571 B
C++
Raw Normal View History

2021-02-17 06:59:28 +03:00
// Copyright 2021 yuzu Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#pragma once
#include <utility>
#include <vector>
#include "common/common_types.h"
#include "shader_recompiler/environment.h"
2021-02-20 09:30:13 +03:00
#include "shader_recompiler/profile.h"
2021-02-17 06:59:28 +03:00
#include "shader_recompiler/shader_info.h"
namespace Shader {
2021-02-20 09:30:13 +03:00
[[nodiscard]] std::pair<Info, std::vector<u32>> RecompileSPIRV(const Profile& profile,
Environment& env, u32 start_address);
2021-02-17 06:59:28 +03:00
} // namespace Shader