commit: fa7a60f4742c5599d49d055bcbece43e3e3a3deb Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Sat Apr 13 17:26:33 2024 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Sat Apr 13 17:29:40 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa7a60f4
games-emulation/pcsx2: update live Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> .../pcsx2/files/pcsx2-1.7.5700-vanilla-shaderc.patch | 18 ++++++++++++++++++ games-emulation/pcsx2/pcsx2-9999.ebuild | 1 + 2 files changed, 19 insertions(+) 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() {
