mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-18 12:38:27 +00:00
8809e1c226
* video_core: Introduce buffer cache * video_core: Use multi level page table for caches * renderer_vulkan: Remove unused stream buffer * fix build * oops forgot optimize off
20 lines
635 B
C++
20 lines
635 B
C++
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include "common/object_pool.h"
|
|
#include "shader_recompiler/ir/basic_block.h"
|
|
#include "shader_recompiler/ir/program.h"
|
|
|
|
namespace Shader {
|
|
|
|
struct Profile;
|
|
|
|
[[nodiscard]] IR::Program TranslateProgram(Common::ObjectPool<IR::Inst>& inst_pool,
|
|
Common::ObjectPool<IR::Block>& block_pool,
|
|
std::span<const u32> code, const Info&& info,
|
|
const Profile& profile);
|
|
|
|
} // namespace Shader
|