summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-04-13 13:26:33 -0400
committerIonen Wolkens <ionen@gentoo.org>2024-04-13 13:29:40 -0400
commitfa7a60f4742c5599d49d055bcbece43e3e3a3deb (patch)
tree46ce5f892bf8522c0052bdfd053f96fbba94d9be
parentapp-admin/djbdns-logparse: support python-3.12, drop 3.9 (diff)
downloadgentoo-fa7a60f4742c5599d49d055bcbece43e3e3a3deb.tar.gz
gentoo-fa7a60f4742c5599d49d055bcbece43e3e3a3deb.tar.bz2
gentoo-fa7a60f4742c5599d49d055bcbece43e3e3a3deb.zip
games-emulation/pcsx2: update live
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
-rw-r--r--games-emulation/pcsx2/files/pcsx2-1.7.5700-vanilla-shaderc.patch18
-rw-r--r--games-emulation/pcsx2/pcsx2-9999.ebuild1
2 files changed, 19 insertions, 0 deletions
diff --git a/games-emulation/pcsx2/files/pcsx2-1.7.5700-vanilla-shaderc.patch b/games-emulation/pcsx2/files/pcsx2-1.7.5700-vanilla-shaderc.patch
new file mode 100644
index 000000000000..aa447b30b6fc
--- /dev/null
+++ b/games-emulation/pcsx2/files/pcsx2-1.7.5700-vanilla-shaderc.patch
@@ -0,0 +1,18 @@
+This does not exist in normal shaderc and was modified[1] by PCSX2
+for use in their CI/appimage making it impossible to use system's
+(despite they do not bundle it). So not much choices but to remove
+usage.
+
+Partial (for simplification) revert of [2], hopefully temporary.
+
+[1] https://github.com/PCSX2/pcsx2/commit/1cd4ba269854646
+[2] https://github.com/PCSX2/pcsx2/commit/fbfdf1200d27260
+--- a/pcsx2/GS/Renderers/Vulkan/VKShaderCache.cpp
++++ b/pcsx2/GS/Renderers/Vulkan/VKShaderCache.cpp
+@@ -113,6 +113,4 @@
+ {
+ options.SetGenerateDebugInfo();
+- if (GSDeviceVK::GetInstance()->GetOptionalExtensions().vk_khr_shader_non_semantic_info)
+- options.SetEmitNonSemanticDebugInfo();
+
+ options.SetOptimizationLevel(shaderc_optimization_level_zero);
diff --git a/games-emulation/pcsx2/pcsx2-9999.ebuild b/games-emulation/pcsx2/pcsx2-9999.ebuild
index 2ca40ad4ee99..b1a0cb87549d 100644
--- a/games-emulation/pcsx2/pcsx2-9999.ebuild
+++ b/games-emulation/pcsx2/pcsx2-9999.ebuild
@@ -79,6 +79,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-1.7.4667-flags.patch
"${FILESDIR}"/${PN}-1.7.5232-cubeb-automagic.patch
+ "${FILESDIR}"/${PN}-1.7.5700-vanilla-shaderc.patch
)
src_prepare() {