moltenvk: build with the 14.4 SDK
MoltenVK can take advantage of newer Metal features when built with the latest Darwin SDK.
This commit is contained in:
parent
b0e2c787ba
commit
0cabb33e1d
@ -3,19 +3,16 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
gitUpdater,
|
||||
apple-sdk_14,
|
||||
darwinMinVersionHook,
|
||||
cereal,
|
||||
libcxx,
|
||||
glslang,
|
||||
simd,
|
||||
spirv-cross,
|
||||
spirv-headers,
|
||||
spirv-tools,
|
||||
vulkan-headers,
|
||||
xcbuildHook,
|
||||
AppKit,
|
||||
Foundation,
|
||||
Metal,
|
||||
QuartzCore,
|
||||
enableStatic ? stdenv.hostPlatform.isStatic,
|
||||
# MoltenVK supports using private APIs to implement some Vulkan functionality.
|
||||
# Applications that use private APIs can’t be distributed on the App Store,
|
||||
@ -31,13 +28,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
strictDeps = true;
|
||||
|
||||
buildInputs = [
|
||||
AppKit
|
||||
Foundation
|
||||
Metal
|
||||
QuartzCore
|
||||
apple-sdk_14
|
||||
cereal
|
||||
(darwinMinVersionHook "10.15")
|
||||
glslang
|
||||
simd
|
||||
spirv-cross
|
||||
spirv-headers
|
||||
spirv-tools
|
||||
|
@ -172,14 +172,7 @@ impure-cmds // appleSourcePackages // chooseLibs // {
|
||||
|
||||
lsusb = callPackage ../os-specific/darwin/lsusb { };
|
||||
|
||||
moltenvk = callPackage ../os-specific/darwin/moltenvk {
|
||||
stdenv = pkgs.overrideSDK stdenv {
|
||||
darwinMinVersion = "10.15";
|
||||
darwinSdkVersion = "12.3";
|
||||
};
|
||||
inherit (apple_sdk.frameworks) AppKit Foundation Metal QuartzCore;
|
||||
inherit (apple_sdk.libs) simd;
|
||||
};
|
||||
moltenvk = callPackage ../os-specific/darwin/moltenvk { };
|
||||
|
||||
openwith = callPackage ../os-specific/darwin/openwith { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user