yuzu: remove Vulkan version relaxation patch

This commit is contained in:
K900 2023-08-22 20:30:01 +03:00
parent bcf8461991
commit baf4eea5f2
2 changed files with 1 additions and 14 deletions

View File

@ -110,7 +110,7 @@ in stdenv.mkDerivation {
# This changes `ir/opt` to `ir/var/empty` in `externals/dynarmic/src/dynarmic/CMakeLists.txt`
# making the build fail, as that path does not exist
dontFixCmake = true;
patches = [./vulkan_version.patch];
cmakeFlags = [
# actually has a noticeable performance impact
"-DYUZU_ENABLE_LTO=ON"

View File

@ -1,13 +0,0 @@
Yuzu requires a version of Vulkan that has not yet been released as a stable Vulkan SDK. In case this patch fails, check which version Yuzu is currently using and verify that it still works with the version shipped in Nixpkgs.
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -314,7 +314,7 @@
find_package(zstd 1.5 REQUIRED)
if (NOT YUZU_USE_EXTERNAL_VULKAN_HEADERS)
- find_package(Vulkan 1.3.256 REQUIRED)
+ find_package(Vulkan 1.3.250 REQUIRED)
endif()
if (ENABLE_LIBUSB)