mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
games-emulation/eden: remove the patches for dev-libs/sirit
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
This commit is contained in:
@@ -98,7 +98,6 @@ PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.0.3-use-the-bundled-dynarmic-library.patch"
|
||||
"${FILESDIR}/${PN}-0.0.3-use-the-system-discord-rpc-library.patch"
|
||||
"${FILESDIR}/${PN}-0.0.3-use-the-system-mbedtls-library.patch"
|
||||
"${FILESDIR}/${PN}-0.0.3-use-the-system-sirit-library.patch"
|
||||
)
|
||||
|
||||
# [directory]=license
|
||||
|
||||
@@ -21,23 +21,6 @@ Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
|
||||
#include <vector>
|
||||
|
||||
namespace Dynarmic::Common {
|
||||
--- a/src/shader_recompiler/backend/spirv/emit_spirv.cpp
|
||||
+++ b/src/shader_recompiler/backend/spirv/emit_spirv.cpp
|
||||
@@ -491,12 +491,12 @@ void PatchPhiNodes(IR::Program& program, EmitContext& ctx) {
|
||||
// Start "before" first PHI; advance on phi_arg == 0
|
||||
size_t phi_index = static_cast<size_t>(-1);
|
||||
|
||||
- ctx.PatchDeferredPhi([&](size_t phi_arg, Id parent) -> std::pair<Id, Id> {
|
||||
+ ctx.PatchDeferredPhi([&](size_t phi_arg) -> Id {
|
||||
if (phi_arg == 0) {
|
||||
++phi_index;
|
||||
}
|
||||
IR::Inst* phi = phi_instructions[phi_index];
|
||||
- return { ctx.Def(phi->Arg(phi_arg)), parent };
|
||||
+ return ctx.Def(phi->Arg(phi_arg));
|
||||
});
|
||||
}
|
||||
} // Anonymous namespace
|
||||
--- a/src/yuzu/main.cpp
|
||||
+++ b/src/yuzu/main.cpp
|
||||
@@ -101,9 +101,10 @@ static FileSys::VirtualFile VfsDirectoryCreateFileWrapper(const FileSys::Virtual
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
From: Pavel Sobolev <contact@paveloom.dev>
|
||||
Subject: [PATCH] Use the system `sirit` library.
|
||||
|
||||
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
|
||||
|
||||
--- a/externals/CMakeLists.txt
|
||||
+++ b/externals/CMakeLists.txt
|
||||
@@ -76,7 +76,7 @@ endif()
|
||||
set(SPIRV_WERROR OFF)
|
||||
AddJsonPackage(spirv-headers)
|
||||
|
||||
-AddJsonPackage(sirit)
|
||||
+add_library(sirit SHARED IMPORTED)
|
||||
|
||||
if(MSVC AND USE_CCACHE AND sirit_ADDED)
|
||||
get_target_property(_opts sirit COMPILE_OPTIONS)
|
||||
Reference in New Issue
Block a user