mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-05 10:13:15 +00:00
* shader_recompiler: Use push constants for user data regs * shader: Add some GR2 instructions * shader: Add some instructions * shader: Add instructions for knack * touchups * spirv: Better names * buffer_cache: Ignore non gpu modified images * clang format * Add log * more fixes
16 lines
537 B
C++
16 lines
537 B
C++
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <vector>
|
|
#include "shader_recompiler/backend/bindings.h"
|
|
#include "shader_recompiler/ir/program.h"
|
|
#include "shader_recompiler/profile.h"
|
|
|
|
namespace Shader::Backend::SPIRV {
|
|
|
|
[[nodiscard]] std::vector<u32> EmitSPIRV(const Profile& profile, const RuntimeInfo& runtime_info,
|
|
const IR::Program& program, Bindings& binding);
|
|
|
|
} // namespace Shader::Backend::SPIRV
|