yuzu/src/shader_recompiler/recompiler.h

21 lines
571 B
C++
Raw Normal View History

2021-02-17 03:59:28 +00: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 06:30:13 +00:00
#include "shader_recompiler/profile.h"
2021-02-17 03:59:28 +00:00
#include "shader_recompiler/shader_info.h"
namespace Shader {
2021-02-20 06:30:13 +00:00
[[nodiscard]] std::pair<Info, std::vector<u32>> RecompileSPIRV(const Profile& profile,
Environment& env, u32 start_address);
2021-02-17 03:59:28 +00:00
} // namespace Shader