Repository navigation
Releases
MetalVulkan 7.2
MetalVulkan now installs into Wines other than MetalSharp's: CrossOver, Gcenx's Wine (Homebrew), Sikarugir, Whisky, or one you built. A single script puts Direct3D 12 down to 3 into a prefix or a CrossOver bottle. You don't need to change Wine, and you don't need a launcher or environment variables. Start programs the way you always do.
7.2 replaces 7.1, whose installer could stop while extracting the packages. Use 7.2.
Install
-
Download these five packages and extract them side by side:
vkd3d-proton-v7.2-x86_64dxvk-v7.2-x86_64dxvk-v7.2-i386moltenvk-v7.2-universalmetalvulkan-wine-v7.2
For an arm64 bottle in CrossOver 27 Preview, take
vkd3d-proton-v7.2-arm64anddxvk-v7.2-arm64xinstead of the two x86_64 packages. -
Run the installer:
# CrossOver: a bottle, by name ./metalvulkan-wine-v7.2/install-metalvulkan.sh --bottle "My Bottle" # any other Wine: its .app (or bin/wine), and the prefix ./metalvulkan-wine-v7.2/install-metalvulkan.sh --wine "/Applications/Wine Devel.app" --prefix ~/my-prefix
--uninstall puts back everything the install replaced. The script is also in the repository as install/install-metalvulkan.sh; run from there, it downloads the latest release itself. docs/install.md has every option and setting.
What's new
- MetalVulkan's Wine module.
metalvulkan.dllandmetalvulkan.sopoint the Wine's own Vulkan at MetalVulkan's MoltenVK with ray tracing on. That is what MetalSharp Wine's own Wine changes do, and it is why stock Wines now reach feature level 12_2. DXVK loads the module before Vulkan starts. MetalSharp Wine doesn't need it, and the module does nothing there. - CrossOver. CrossOver.app itself isn't changed. The module goes into
~/Library/Application Support/MetalVulkan, and the installer adds that folder to the bottle'sDllPath. - CrossOver 27 Preview. The installer handles arm64 bottles, and puts the module inside the app when the Preview ignores the bottle's
DllPath. It is untested in the Preview itself: see "Not yet tested" below. - GTA Vice City on DXVK gets past the black screen after the intro video. A SPIRV-Cross fix passes the emulated sampler reduction to shader helper functions (metalsharp/MetalSharp#866).
- The installers extract the packages reliably (new in 7.2). macOS's
tarcould stop on the MoltenVK package with "Child process exited with status 1". This affectedinstall-metalvulkan.sh,install-x86_64-wine.shandinstall-arm64-wine.sh. - Local builds use llvm-mingw 20261020, as the release workflow does. The DXBC converter builds with a clang-format installed.
Tested
These tests used the installer only: programs were started normally, with no MetalVulkan environment variables.
| Wine | Direct3D 12 | Direct3D 11 to ddraw |
|---|---|---|
| CrossOver 26.3 | feature level 12_2, SM 6.8, DXR 1.1 | all pass, 64- and 32-bit |
| Gcenx's Wine 11.23 | feature level 12_2, SM 6.8, DXR 1.1 | all pass, 64- and 32-bit |
| an arm64 Wine 11.20 (native ARM64 and x86_64 programs) | feature level 12_2, SM 6.8, DXR 1.1 | all pass, 64-bit |
On all three, VKD3D-Proton's test suite ran 7606 checks with no failures. DXVK's D3D11 stream output test fails on all of them, as it did in 7.0.
Not yet tested
- CrossOver 27 Preview. The arm64 support is built from what WineMetalGL's installer learned in the Preview, and was tested on an arm64 Wine with the same layout. To confirm it works there, start a game from Terminal with
METALVULKAN_DEBUG=1and look formetalvulkan: Vulkan runs on …/metalvulkan/libMoltenVK.dylib.
Known limits
- MetalSharp Wine's other Wine changes aren't available on other Wines: the MetalFX and DLSS integration and the hardware-scheduling caps.
- 32-bit DirectDraw on Gcenx's Wine 11.23 crashes about once in ten runs inside Wine's own wined3d. Stock Gcenx Wine does this too, without MetalVulkan.
Packages
Each package holds its files, their licenses and SHA256SUMS.
| Package | For | Contents |
|---|---|---|
metalvulkan-wine-v7.2 |
Wines other than MetalSharp's | install-metalvulkan.sh, and the Wine module for x86_64, i386 and ARM64X |
vkd3d-proton-v7.2-x86_64 |
x86_64 Wines (Rosetta 2) | Direct3D 12 (d3d12.dll, d3d12core.dll), DXVK's dxgi.dll, d3d11.dll, d3d10core.dll, and NGX/NVAPI for DLSS on MetalFX |
vkd3d-proton-v7.2-arm64 |
arm64 Wines | the same, as ARM64X: native ARM64 programs, and x86_64 programs as ARM64EC |
dxvk-v7.2-x86_64, -i386, -arm64x |
64-bit, 32-bit and arm64 Wines | DXVK 3.1.1: ddraw.dll (d7vk: Direct3D 7 to 3), d3d8.dll, d3d9.dll, d3d10core.dll, d3d11.dll, dxgi.dll |
moltenvk-v7.2-universal |
all | MetalSharp's MoltenVK (Vulkan 1.4, arm64 + x86_64), Apple's Metal Shader Converter, and the DXBC-to-DXIL converter |
Built from 0e11232.
MetalVulkan v7.1
Built from 1d683b2. Each package holds its files, their licenses and SHA256SUMS.
- vkd3d-proton-v7.1-x86_64: VKD3D-Proton's
d3d12.dllandd3d12core.dll, with DXVK'sdxgi.dll,d3d11.dllandd3d10core.dll, for x86_64 Windows programs (x86_64-windows), and the lane's own NGX core and NVAPI (nvngx.dll,nvapi64.dll) as x86_64 Wine builtins, which run DLSS Super Resolution and Ray Reconstruction on MetalFX in an x86_64 Wine (MetalSharp's, under Rosetta). Stage them together. - vkd3d-proton-v7.1-arm64: for an arm64 Wine that runs x86_64 programs with FEX (MetalSharp Wine): VKD3D-Proton's
d3d12.dllandd3d12core.dllas ARM64X (aarch64-windows, loaded by x86_64 programs as ARM64EC), with DXVK'sdxgi.dll,d3d11.dllandd3d10core.dll, ARM64X too (x86_64-windows), and the lane's own NGX core and NVAPI (nvngx.dll,nvapi64.dll, ARM64X), which run DLSS Super Resolution and Ray Reconstruction on MetalFX. - dxvk-v7.1-x86_64, dxvk-v7.1-i386, dxvk-v7.1-arm64x: DXVK (
dxvk/, DXVK 3.1 on MoltenVK):ddraw.dll(d7vk: Direct3D 7, 6, 5 and 3),d3d8.dll,d3d9.dll,d3d10core.dll,d3d11.dllanddxgi.dllfor x86_64 programs, 32-bit programs, and as ARM64X for an arm64 Wine with FEX (MetalSharp Wine,x86_64-windows). With the VKD3D-Proton packages, Direct3D 12 to 3 on one DXVK. - moltenvk-v7.1-universal: the universal (arm64 + x86_64), ad-hoc signed
libMoltenVK.dylibandMoltenVK_icd.jsonboth lanes run on, with Apple's Metal Shader Converter library (libmetalirconverter.dylib, unmodified, Apple-signed), which MoltenVK uses to convert DXIL compute, vertex, mesh, amplification and pixel shaders for VKD3D-Proton (METALSHARP_MSC=0turns it off), and DirectXShaderCompiler's DXBC to DXIL converter (libdxbcconverter.dylib, NCSA), which hands it DXBC shaders too (METALSHARP_MSC_DXBC=0keeps them on SPIR-V). It runs MetalFX's scalers for VKD3D-Proton's and DXVK's DLSS and swap chain upscaling (mvk_metalfx.h). - metalvulkan-wine-v7.1: MetalVulkan for Wines other than MetalSharp's (CrossOver, CrossOver 27 Preview's arm64 bottles, Gcenx's Wine, Sikarugir, Whisky):
install-metalvulkan.sh, which installs Direct3D 12 to 3 into a prefix or a CrossOver bottle from this release's x86_64 (or, in an arm64 bottle, arm64 and arm64x), i386 and MoltenVK packages, and MetalVulkan's Wine module (metalvulkan.dll, a Wine builtin, withmetalvulkan.so), which DXVK loads before Vulkan starts to point the Wine's Vulkan at MetalVulkan's MoltenVK with ray tracing on (feature level 12_2), with no launcher or environment. Extract the five packages side by side and runmetalvulkan-wine-v7.1/install-metalvulkan.sh --bottle NAME(CrossOver) or--wine /path/to/Wine.app --prefix DIR.
MetalVulkan 7.0
MetalVulkan 7.0 is the first release under the new name (formerly VKD3D-Proton macOS). It is a Vulkan 1.4 implementation for macOS, MetalSharp's MoltenVK, with Direct3D 12 down to 3 on top of it. DXVK moved in from DXVK-MacOS with its full history, so one DXVK now serves VKD3D-Proton's swap chains and every older Direct3D API. The arm64 builds run their hot CPU paths on NEON, where they had no SIMD at all.
One repository, one DXVK
- DXVK lives in
dxvk/: DXVK 3.1.1 on MoltenVK, with d7vk's ddraw for Direct3D 7, 6, 5 and 3. It came from metalsharp/DXVK-MacOS, which is now archived. - The VKD3D-Proton packages' DXGI, D3D11 and D3D10 were DXVK 2.7.1 with four patches. They are now this DXVK, D3D11On12 included. On MetalSharp Wine's arm64 build, DXVK's probes that failed or hung on 2.7.1 now pass:
geometry_shaderandpipeline_stats. - New
dxvkpackages for x86_64, i386 and ARM64X:ddraw.dll,d3d8.dll,d3d9.dll,d3d10core.dll,d3d11.dllanddxgi.dll. With a VKD3D-Proton package, a Wine gets Direct3D 12 to 3 on one DXVK. - Custom Shaders Patch: DXVK's
ResolveSubresourceis hybrid patchable, so the patch's detour lands on an x86_64 entry in the ARM64X build as well. - DXVK reports itself as
v3.1.1 (MetalVulkan <revision>).
NEON on Apple Silicon (arm64 and ARM64X packages)
Neither half of an ARM64X build has SSE2, so VKD3D-Proton's and DXVK's SIMD paths were plain C or CRT calls. Speedups are per call, measured on an M-series core:
- VKD3D-Proton:
- CopyDescriptors finds each descriptor set's runs with NEON and bit scans: 3.6–4.6× faster from 32 descriptors.
- The Metal Shader Converter bridge finds a draw's changed root arguments four words at a time: 2.6–3.8× faster.
- Descriptor metadata copies and root-argument clears are inline NEON instead of CRT calls.
- Descriptor-buffer writes are STNP pairs: 4× faster for scattered 32-byte writes.
- Spin waits pause with
isb.
- DXVK:
- D3D9 constant updates: 24.3 → 20.5 ns for 64 vec4.
- D3D9 int and bool constant copies: 2.2 → 1.5 ns.
- Input signature search: 6.8 → 0.9 ns.
- Push data copies: 2.2 → 0.9 ns.
- Spin waits pause with
isb. - d7vk's software vertex processing now matches the x86 SSE2 results bit for bit.
Vulkan
- The
moltenvkpackage is a Vulkan 1.4 ICD with 178 extensions, including ray tracing pipelines and queries, mesh shaders, transform feedback, extended dynamic state 3, host image copy and Metal interop. PointVK_DRIVER_FILESat itsMoltenVK_icd.jsonto use it outside Wine. MoltenVK itself is 6.0's.
Tested
On MetalSharp Wine's arm64 build, VKD3D lane:
-
VKD3D-Proton's D3D12 harness passes all 160 tests, with the same results as 6.0,
descriptor_copiesandd3d11on12included. -
DXVK's probes:
Probe Result d3d11_draw5/6 ( stream_outputneeds transform feedback MoltenVK doesn't implement)d3d11_features34/34 d3d9_draw8/8 ddraw_draw8/8 d3d11_smoke,d3d9_smoke,d3d8_smokeOK
Built from 0de5187. Each package holds its files, their licenses and SHA256SUMS.
- vkd3d-proton-v7.0-x86_64: VKD3D-Proton's
d3d12.dllandd3d12core.dll, with DXVK'sdxgi.dll,d3d11.dllandd3d10core.dll, for x86_64 Windows programs (x86_64-windows). Also the lane's own NGX core and NVAPI (nvngx.dll,nvapi64.dll) as x86_64 Wine builtins, which run DLSS Super Resolution and Ray Reconstruction on MetalFX in an x86_64 Wine (MetalSharp's, under Rosetta). - vkd3d-proton-v7.0-arm64: for an arm64 Wine that runs x86_64 programs with FEX (MetalSharp Wine).
- VKD3D-Proton's
d3d12.dllandd3d12core.dllas ARM64X (aarch64-windows), which x86_64 programs load as ARM64EC. - DXVK's
dxgi.dll,d3d11.dllandd3d10core.dll, also ARM64X (x86_64-windows). - The lane's own NGX core and NVAPI (
nvngx.dll,nvapi64.dll, ARM64X).
- VKD3D-Proton's
- dxvk-v7.0-x86_64, dxvk-v7.0-i386, dxvk-v7.0-arm64x: DXVK (
dxvk/):ddraw.dll(d7vk),d3d8.dll,d3d9.dll,d3d10core.dll,d3d11.dllanddxgi.dll, withdxvk.conf.- x86_64: for x86_64 programs.
- i386: for 32-bit programs.
- arm64x: ARM64X, for an arm64 Wine with FEX (
x86_64-windows).
- moltenvk-v7.0-universal: MetalSharp's MoltenVK, ad-hoc signed and universal (arm64 + x86_64).
libMoltenVK.dylibandMoltenVK_icd.json, a Vulkan 1.4 ICD.- Apple's Metal Shader Converter library (
libmetalirconverter.dylib, unmodified and Apple-signed), which converts DXIL shaders to Metal for VKD3D-Proton (METALSHARP_MSC=0turns it off). - DirectXShaderCompiler's DXBC-to-DXIL converter (
libdxbcconverter.dylib, NCSA), which hands it DXBC shaders too (METALSHARP_MSC_DXBC=0keeps them on SPIR-V). - It runs MetalFX's scalers for VKD3D-Proton's and DXVK's DLSS and swap chain upscaling.
VKD3D-Proton macOS 6.0
VKD3D-Proton macOS 6.0 is built from main (2178b90, #22 and two later commits). Most of it is about speed: pipelines compile without blocking, and shaders converted by Metal Shader Converter are kept on disk. ExecuteIndirect stays on converted pipelines and runs only the counted draws and dispatches. Tessellation of DXIL shaders runs in the converter's emulation. Fence waits wake as soon as the GPU signals.
Pipelines and shaders
- Pipelines compile while their creation returns. Deferred pipelines are on by default: the creating thread starts each one and Metal's completion handler finishes it, so no thread waits on Metal. Metal compiles with every core.
- Converted shaders are kept on disk beside the pipeline cache. They are built for this GPU family and macOS, without DXIL debug information. When the in-memory cache fills, it drops only its oldest quarter. A DXBC shader is converted to DXIL once and reused with every root signature.
- Tessellation of DXIL shaders (vertex, hull and domain) goes through Metal Shader Converter's object and mesh emulation as a mesh pipeline. Before, it ran SPIR-V compute passes and restarted the render pass for every tessellated draw.
VKD3D_MSC_TESSELLATION=0keeps it on SPIR-V. Isolines, DXBC tessellation and ExecuteIndirect with such a PSO still use SPIR-V.
ExecuteIndirect
- Root arguments keep converted pipelines: command signatures write root constants and root descriptor addresses into Metal Shader Converter's top-level argument buffer. Before, such an ExecuteIndirect fell back to the PSO's SPIR-V pipeline, compiled at first use.
- Count buffers: indirect draws run only the counted draws, encoded into an indirect command buffer by a kernel outside the render pass. Dispatch-only signatures run only the counted dispatches.
- No render pass restarts: ExecuteIndirect inside a render pass no longer ends it. Before, every attachment was stored and reloaded once per ExecuteIndirect.
- 25 or more push-constant-only draws run from one indirect command buffer.
VKD3D_MSC_EXECUTE_INDIRECT=0turns converted ExecuteIndirect off.
Synchronization, encoding and present
- Fence waits wait on the timeline semaphore's Metal shared event directly instead of through a listener on another thread (
MVK_CONFIG_DIRECT_SEMAPHORE_WAIT=0keeps the listener). - Barriers: transitions between dispatches, and barriers from compute into other stages, keep the compute encoder. Enhanced barriers keep the render pass open, as ResourceBarrier does. CPU-only descriptor heaps are host-only pools.
- Command buffer prefill (encoding a command list when its recording ends, on the recording thread) is opt-in. As a default it stalled Subnautica 2's GPU queue. Recording more command lists than half the Metal queue before submitting no longer freezes
vkEndCommandBuffer. - SyncInterval 2 to 4 now holds frames (VK_EXT_present_timing relative targets). Before, it presented every refresh, like 1.
MVK_CONFIG_RAY_TRACING_MIN_APPLE_FAMILYandMVK_CONFIG_CONSERVATIVE_RASTERIZATION=0can hide two slow emulated features: ray tracing below a given GPU family, and conservative rasterization. Neither option is set by default, so both features are still reported.
DLSS and DXVK
- DLSS Super Resolution passes its bias mask (MetalFX's reactive mask), the MVJittered flag and the subrect bases of each input and the output to MetalFX. MetalFX temporal scalers are created without stopping the queue, within the GPU's input scale range.
- Assetto Corsa with Custom Shaders Patch no longer crashes with MSAA under FEX. Its detour of
ResolveSubresourcelanded on ARM64EC code; DXVK's hot-patchable entry, backported, gives it an x86_64 one. - The ARM64X NGX core and NVAPI carry Wine's builtin marker, as on x86_64.
artifacts/evidence/load-time-and-encoding-costs.md has the functional harness (139 of 156, unchanged) and perf probe results against the MetalSharp Wine 7.0 lane.
Built from 2178b90. Each package holds its files, their licenses and SHA256SUMS.
- vkd3d-proton-v6.0-x86_64: VKD3D-Proton's
d3d12.dllandd3d12core.dll, with DXVK'sdxgi.dll,d3d11.dllandd3d10core.dll, for x86_64 Windows programs (x86_64-windows), and the lane's own NGX core and NVAPI (nvngx.dll,nvapi64.dll) as x86_64 Wine builtins, which run DLSS Super Resolution and Ray Reconstruction on MetalFX in an x86_64 Wine (MetalSharp's, under Rosetta). Stage them together. - vkd3d-proton-v6.0-arm64: for an arm64 Wine that runs x86_64 programs with FEX (MetalSharp Wine): VKD3D-Proton's
d3d12.dllandd3d12core.dllas ARM64X (aarch64-windows, loaded by x86_64 programs as ARM64EC), with DXVK's x86_64dxgi.dll,d3d11.dllandd3d10core.dll(x86_64-windows), and the lane's own NGX core and NVAPI (nvngx.dll,nvapi64.dll, ARM64X), which run DLSS Super Resolution and Ray Reconstruction on MetalFX. - moltenvk-v6.0-universal: the universal (arm64 + x86_64), ad-hoc signed
libMoltenVK.dylibandMoltenVK_icd.jsonboth lanes run on, with Apple's Metal Shader Converter library (libmetalirconverter.dylib, unmodified, Apple-signed), which MoltenVK uses to convert DXIL compute, vertex, mesh, amplification and pixel shaders for VKD3D-Proton (METALSHARP_MSC=0turns it off), and DirectXShaderCompiler's DXBC to DXIL converter (libdxbcconverter.dylib, NCSA), which hands it DXBC shaders too (METALSHARP_MSC_DXBC=0keeps them on SPIR-V). It runs MetalFX's scalers for VKD3D-Proton's and DXVK's DLSS and swap chain upscaling (mvk_metalfx.h).
VKD3D-Proton macOS 5.4
VKD3D-Proton macOS 5.4 is built from main (6a1326c, #20 and #21). Most of it fixes CONTROL Resonant on the VKD3D-Proton lane: materials, window interiors, mesh shaders and ray tracing now render, and its GPU faults are gone. ExecuteIndirect now works when a command signature changes a root CBV, and timestamp queries cost less.
CONTROL Resonant
- Streamed materials rendered as block noise, and the game hit a GPU fault (#20): MoltenVK gave every sparse texture
ShaderWrite, which puts it on Metal's sparse tier 1, and tier 1 tiles of block-compressed formats aren't the rectangles Metal reports. Compressed sparse textures now stay on tier 2, whose tiles match. Binds that mixed tier 1 and tier 2 textures stalled Metal's queue for 4 s, which the game reported as a GPU fault; each bind now maps tier 1 textures first, then tier 2. - Window interiors glowed magenta and yellow (#21): Metal (macOS 27.2, placement sparse tier 2) loses mips 6 and 7 of the tail of some block-compressed sparse textures whose height isn't a power of two, such as 2048×1080 BC6H and 1920×1080 BC7. The first sparse image of each shape now runs a GPU self-test. An image whose tail doesn't hold gets an ordinary texture, bound as the sparse one. Unmapped blocks of it read zeros, both when it's created and after an unmap.
tiled_bcnow includes both shapes. - Mesh shaders failed with
E_OUTOFMEMORY(#20): SPIRV-Cross copied an array output per vertex or primitive (float2 TEXCOORD[2]) whole into each flattened member, which Metal rejects. All 49 of the game's mesh shaders now compile; 5 failed before. - Ray tracing hung with a GPU fault (#20):
vkCmdTraceRaysKHRnow accepts miss, hit and callable tables with a stride of 0, which read their first record for every index.
ExecuteIndirect
- A command signature that changes a root CBV (#21) failed with
E_NOTIMPL("Root parameter is not a raw VA"). Root CBVs are push descriptors on MoltenVK (Metal constant buffers, which read faster than through a device address). A new MoltenVK token,VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_DESCRIPTOR_BUFFER_MVK, now binds each sequence's address to the descriptor from the indirect command buffer. DirectX-Graphics-Samples' D3D12ExecuteIndirect renders the same as on D3DMetal.
Performance and debugging
- Timestamps (#20) are written on the next render or compute pass instead of a blit pass each. In Subnautica 2, Xcode's API insights fell from 689 to 112.
- GPU captures of frames with sparse binds now replay.
METALSHARP_TRACE=gpureports sparse binds that are slow or stuck.
Known open
- A dark floor decal in CONTROL Resonant still flickers.
Built from 6a1326c. Each package holds its files, their licenses and SHA256SUMS.
- vkd3d-proton-v5.4-x86_64: VKD3D-Proton's
d3d12.dllandd3d12core.dll, with DXVK'sdxgi.dll,d3d11.dllandd3d10core.dll, for x86_64 Windows programs (x86_64-windows), and the lane's own NGX core and NVAPI (nvngx.dll,nvapi64.dll) as x86_64 Wine builtins, which run DLSS Super Resolution and Ray Reconstruction on MetalFX in an x86_64 Wine (MetalSharp's, under Rosetta). Stage them together. - vkd3d-proton-v5.4-arm64: for an arm64 Wine that runs x86_64 programs with FEX (MetalSharp Wine): VKD3D-Proton's
d3d12.dllandd3d12core.dllas ARM64X (aarch64-windows, loaded by x86_64 programs as ARM64EC), with DXVK's x86_64dxgi.dll,d3d11.dllandd3d10core.dll(x86_64-windows), and the lane's own NGX core and NVAPI (nvngx.dll,nvapi64.dll, ARM64X), which run DLSS Super Resolution and Ray Reconstruction on MetalFX. - moltenvk-v5.4-universal: the universal (arm64 + x86_64), ad-hoc signed
libMoltenVK.dylibandMoltenVK_icd.jsonboth lanes run on, with Apple's Metal Shader Converter library (libmetalirconverter.dylib, unmodified, Apple-signed), which MoltenVK uses to convert DXIL compute, vertex, mesh, amplification and pixel shaders for VKD3D-Proton (METALSHARP_MSC=0turns it off), and DirectXShaderCompiler's DXBC to DXIL converter (libdxbcconverter.dylib, NCSA), which hands it DXBC shaders too (METALSHARP_MSC_DXBC=0keeps them on SPIR-V). It runs MetalFX's scalers for VKD3D-Proton's and DXVK's DLSS and swap chain upscaling (mvk_metalfx.h).
VKD3D-Proton macOS 5.3
VKD3D-Proton macOS 5.3 is built from main (2103382). It fixes black 3D in DXVK games that read constant buffers out of range, and the x86_64 package now carries the lane's own signed NGX core and NVAPI, so DLSS runs in an x86_64 Wine.
Fixes
- Black 3D on DXVK (MoltenVK's SPIRV-Cross, #19): a bounds-checked constant buffer load took the address of a vector component (
&cb.m[i]for afloat4m). Metal rejects that ("address of vector element requested"), so those shaders didn't compile and DXVK dropped their draws. PEAK (Unity, D3D11) rendered its 3D black, with 27 failed pipelines. Only an access that ends on the array element the bounds check covers now reads from the zero constant by address; anything else selects on the loaded value. PEAK renders with 0 pipeline failures, and 24 of its shaders still use the faster address path.
Packages
- x86_64 NGX and NVAPI (#18):
vkd3d-proton-v5.3-x86_64now includes the lane'snvngx.dllandnvapi64.dllas x86_64 Wine builtins, signed by this repository's CI. They run DLSS Super Resolution and Ray Reconstruction on MetalFX in an x86_64 Wine (MetalSharp's, under Rosetta).
Built from 2103382. Each package holds its files, their licenses and SHA256SUMS.
- vkd3d-proton-v5.3-x86_64: VKD3D-Proton's
d3d12.dllandd3d12core.dll, with DXVK'sdxgi.dll,d3d11.dllandd3d10core.dll, for x86_64 Windows programs (x86_64-windows), and the lane's own NGX core and NVAPI (nvngx.dll,nvapi64.dll) as x86_64 Wine builtins, which run DLSS Super Resolution and Ray Reconstruction on MetalFX in an x86_64 Wine (MetalSharp's, under Rosetta). Stage them together. - vkd3d-proton-v5.3-arm64: for an arm64 Wine that runs x86_64 programs with FEX (MetalSharp Wine): VKD3D-Proton's
d3d12.dllandd3d12core.dllas ARM64X (aarch64-windows, loaded by x86_64 programs as ARM64EC), with DXVK's x86_64dxgi.dll,d3d11.dllandd3d10core.dll(x86_64-windows), and the lane's own NGX core and NVAPI (nvngx.dll,nvapi64.dll, ARM64X), which run DLSS Super Resolution and Ray Reconstruction on MetalFX. - moltenvk-v5.3-universal: the universal (arm64 + x86_64), ad-hoc signed
libMoltenVK.dylibandMoltenVK_icd.jsonboth lanes run on, with Apple's Metal Shader Converter library (libmetalirconverter.dylib, unmodified, Apple-signed), which MoltenVK uses to convert DXIL compute, vertex, mesh, amplification and pixel shaders for VKD3D-Proton (METALSHARP_MSC=0turns it off), and DirectXShaderCompiler's DXBC to DXIL converter (libdxbcconverter.dylib, NCSA), which hands it DXBC shaders too (METALSHARP_MSC_DXBC=0keeps them on SPIR-V). It runs MetalFX's scalers for VKD3D-Proton's and DXVK's DLSS and swap chain upscaling (mvk_metalfx.h).
VKD3D-Proton macOS 5.2
VKD3D-Proton macOS 5.2 is built from main (1dcaa3e, #17). It moves most of VKD3D-Proton's remaining SPIR-V pipelines onto Apple's Metal Shader Converter, fixes accuracy bugs found along the way, and makes draws, dispatches and pipeline creation cheaper. It also fixes Subnautica 2 and God of War Ragnarök pipeline failures.
Across the 147 tests/perf scenes (x86_64 under FEX, Apple M6), the geometric mean against 5.1 is −23% CPU, −21% GPU and −9% peak memory.
What the Metal Shader Converter now takes
In 5.1, shaders of these kinds stayed on SPIR-V. In 5.2 they go through the converter:
- Typed buffers (
Buffer<T>,RWBuffer<T>). The one exception is three-component 32-bit typed SRVs. Each D3D12 view gets an exact Metal texel view, so the converter no longer reads from element 0. - Mesh shaders, with or without an amplification shader (Nanite).
- Depth-only passes: pipelines with no pixel shader, or with nothing to write at all.
- Dual-source blending.
- SM 6.8 draw parameters.
- DXBC (SM 4.x/5.x) shaders, through DirectXShaderCompiler's dxilconv. This needs the new
libdxbcconverter.dylib. SetMETALSHARP_MSC_DXBC=0to keep DXBC on SPIR-V. - The depth bounds test and min/max sampler filtering, on Apple10 GPUs with macOS 26.
Games
- Subnautica 2: its mesh pipelines that pass a texture with a min-LOD clamp to a helper function compile now. SPIRV-Cross didn't pass the clamp word along, so those pipelines failed: 0 compile failures now.
- God of War Ragnarök: its tessellation pipelines compile now. Before, the game quit around 80 s in with "The system is out of memory. Try increasing the size of the PageFile." That message was VKD3D-Proton's
E_OUTOFMEMORYfor a pipeline that failed to compile. The vertex shader packed its outputs for the hull shader in a layout the hull shader doesn't read.
Accuracy fixes
- Depth clip: nothing in front of the near plane was clipped in any D3D game. MoltenVK ran every render pass in Metal's OpenGL mode. It now uses that mode only for the draws that need it.
ResourceMinLODClamp: views were moved to their clamped mip, so textures came out blurrier andGetDimensionswas wrong. MoltenVK now hasVK_EXT_image_view_min_lod, and both paths clamp, comparison samples included.- Sampler
MipLODBias: it was ignored on M1 to M4 and on macOS 14 and 15. It is now applied on both paths. - Min/max samplers on converted shaders before Apple10: they read as linear. Those PSOs now stay on SPIR-V.
f32tof16rounds toward zero and saturates to 65504. It used to round to nearest and return +inf, which can turn bright HDR values into NaNs.- D24 depth bias is no longer 8× too small at depth 0.1, which showed as shadow acne.
- Cull distances: the converter drops
SV_CullDistance, so shaders that write it stay on SPIR-V. SV_StencilRef: the converter ignores it, so pixel shaders that write it stay on SPIR-V.- Barycentrics: wrong when they were a pixel shader's only input, because of an Apple driver bug. SPIRV-Cross now works around it.
EvaluateAttributeSnappedno longer reads 1/16 pixel low.R10G10B10A2_UINTvertex attributes now make a pipeline.- Geometry shaders:
- correct primitive IDs and winding on cut strips;
- one-pixel points;
- cut triangle strips with adjacency;
- several streams.
pow2tessellator partitioning now rounds factors up to a power of 2.- Stripped DXBC (no reflection) is bridged now.
- Fixes from reviewing the branch: a use-after-free in shadow descriptor entries, and stale views keeping freed buffers' memory.
Performance (tests/perf, Apple M6, against the 5.1 lane)
- Predication: each predicated draw used to end the render pass. 2000 predicated draws: 53 → 0.49 ms CPU and 67 → 0.91 ms GPU.
- 64-bit atomics used a hashed spin lock. Max and min are now native, and add, sub and bitwise ops split into two 32-bit atomics.
atomics64_contended: 384 → 0.08 ms CPU and 381 → 0.22 ms GPU. - Sampler feedback skips the lock when the write would change nothing.
sampler_feedback: 22.2 → 0.32 ms GPU. - Geometry shaders run up to 32 input primitives per threadgroup.
xfb_gs_dxbc: 11.3 → 1.0 ms GPU. Cube shadow maps: −36% to −51% GPU. - Cheaper bridge draws and dispatches:
- the SPIR-V bindings are no longer flushed;
- arguments identical to the last push aren't pushed again;
- dispatch arguments come from a ring buffer;
- typed views are shared between descriptors of the same range;
- conversions are cached by blob.
- Slower: out-of-bounds buffer loads on the converter take +50% to +100% GPU, because it loads through a null pointer. Typed views at offsets that are never reused cost more too, mostly from Metal validating each view.
Tests
- More than 50 new
tests/d3d12tests. - An op-level DXIL/DXBC differential test (
opdiff). - A converter feature sweep, written up in
docs/msc-feature-coverage.md. tests/run/matrix.shruns the suite on Metal 4 and Metal 3 (METALSHARP_METAL_VERSION=3acts as macOS 14 and 15), with and without the bridge, on native arm64 and on x86_64 under FEX. Every combination passes exceptd3d11on12on native arm64, which needs the lane's DXGI.
Known gaps
- Geometry and tessellation shaders stay on SPIR-V. The converter's emulation contract is written up in
docs/msc-geometry-emulation.md. - Isoline tessellation makes no pipeline.
- Tessellation followed by a geometry shader skips its draws.
- Pipeline statistics queries read 0.
- Aliasing barriers between draws end the render pass. Apple GPUs have no memory barriers inside a render pass.
ResourceMinLODClampisn't applied to gathers.
Built from 1dcaa3e. Each package holds its files, their licenses and SHA256SUMS.
- vkd3d-proton-v5.2-x86_64: VKD3D-Proton's
d3d12.dllandd3d12core.dll, with DXVK'sdxgi.dll,d3d11.dllandd3d10core.dll, for x86_64 Windows programs (x86_64-windows). Stage them together. - vkd3d-proton-v5.2-arm64: for an arm64 Wine that runs x86_64 programs with FEX (MetalSharp Wine): VKD3D-Proton's
d3d12.dllandd3d12core.dllas ARM64X (aarch64-windows, loaded by x86_64 programs as ARM64EC), with DXVK's x86_64dxgi.dll,d3d11.dllandd3d10core.dll(x86_64-windows), and the lane's own NGX core and NVAPI (nvngx.dll,nvapi64.dll, ARM64X), which run DLSS Super Resolution and Ray Reconstruction on MetalFX. - moltenvk-v5.2-universal: the universal (arm64 + x86_64), ad-hoc signed
libMoltenVK.dylibandMoltenVK_icd.jsonboth lanes run on, with Apple's Metal Shader Converter library (libmetalirconverter.dylib, unmodified, Apple-signed), which MoltenVK uses to convert DXIL compute, vertex, mesh, amplification and pixel shaders for VKD3D-Proton (METALSHARP_MSC=0turns it off), and DirectXShaderCompiler's DXBC to DXIL converter (libdxbcconverter.dylib, NCSA), which hands it DXBC shaders too (METALSHARP_MSC_DXBC=0keeps them on SPIR-V). It runs MetalFX's scalers for VKD3D-Proton's and DXVK's DLSS and swap chain upscaling (mvk_metalfx.h).
VKD3D-Proton macOS 5.1
VKD3D-Proton macOS 5.1 is built from main (a3c9d40, #15). It makes Minecraft Bedrock's Ray Traced mode render correctly on the arm64 lane, gets Unreal Engine 5 Nanite games (Subnautica 2) running and drawing the right way up, finishes the geometry-shader fixes from #11, and adds a DLSS render scale override.
Ray tracing (Minecraft Bedrock, Ray Traced mode)
Before 5.1, the game hit GPU page faults and an MMU fault, then corrupted chunks (missing surfaces, sky-coloured mirror materials), then GPU watchdog kills (kIOGPUCommandBufferCallbackErrorImpactingInteractivity) during ray-query traversal.
- Acceleration-structure copies get memory of their own. The size an app is told for a compacted or cloned BLAS is the structure's own size. It doesn't include the heap size and placement alignment. A compacted BLAS placed in the app's memory could run into the next one, and VKD3D-Proton's D3D12 games pack them tightly. Copies now write to memory of their own.
- Null and unknown structure addresses in TLAS instances and ray queries now find an empty structure that every ray misses. Before, they read memory that holds no structure, which caused the GPU page faults.
- BLAS vertices Metal can't read in place (16-bit components at offsets or strides that aren't multiples of 4, a zero stride) are repacked by a small kernel.
- A null RTAS descriptor keeps the null RTAS's address. It stored 0 before, so a ray query through it read address 0. This bug is in upstream VKD3D-Proton too.
- Shaders with ray queries stay on SPIR-V. Metal Shader Converter's modules have no binding for acceleration structures, so these shaders no longer go through it.
- The "no heap is bound" root-signature warning is logged once instead of every frame.
Unreal Engine 5 mesh shaders (Subnautica 2, UE 5.6)
- Nanite's mesh pipelines convert. SPIRV-Cross ran out of recompile passes on shaders whose helpers or 64-bit atomics turned up one per pass ("Maximum compilation loops detected"). VKD3D-Proton then crashed after the game's loading screen. All 64 of UE 5.6's Nanite hardware raster pipelines now convert, and the game runs.
- Mesh shaders draw the right way up. dxil-spirv declares D3D12's
SV_Positionas a variable of its own, and SPIRV-Cross's vertical flip skipped it. Nanite's hardware rasterizer drew the world upside down and faceted. It now matches the compute rasterizer and the vertex shaders.
Geometry shaders (#11)
- A vertex output wider than the geometry shader's input now compiles. Forza Horizon 3 failed with
assigning to 'float2' from incompatible type 'float4'(TEXCOORD, the float3NextNormal, fog parameters). The value is now narrowed or zero-padded and converted to the input's type. This is the fix from the 5.1 alpha shared in #11.
DLSS
METALSHARP_DLSS_SCALEsets the render scale for every DLSS mode. It takes a mode name (ultra_performance,performance,balanced,quality,ultra_quality,dlaa) or a fraction from 0.25 to 1, for games that pick the mode themselves. Minecraft's ray tracing resets its upscaler to Quality; with Performance it traces about 44% fewer rays and was much faster in game.
Tests
- New:
gs_narrow_dxilandgs_narrow_dxbc. tests/d3d12on the VKD3D-Proton lane (under FEX): 5.0's MoltenVK fails 4 tests (19 checks); 5.1 fails 1 (tiled3d, 1 check, failing the same way in both).- The compaction fix was checked with an offline Vulkan reproduction. Before it, the neighbouring BLAS broke in 7 of 18 slot and size layouts; with it, in 0 of 18.
- In game:
- Minecraft Bedrock 1.26.62, Ray Traced with DLSS: no chunk corruption, GPU faults or watchdog kills.
- Subnautica 2: renders upright and past the loading screen.
CI
- Metal source compilation runs on
macos-15, because GitHub no longer runsmacos-14jobs.
Known gaps
Still open from 5.0:
- Per-draw binding cost
- Predication
- Transform feedback
- DispatchRays
- Isolines
- Fence completion under heavy CPU load
- On Subnautica 2 this lane runs at about half Mullion's frame rate.
Built from a3c9d40. Each package holds its files, their licenses and SHA256SUMS.
- vkd3d-proton-v5.1-x86_64: VKD3D-Proton's
d3d12.dllandd3d12core.dll, with DXVK'sdxgi.dll,d3d11.dllandd3d10core.dll, for x86_64 Windows programs (x86_64-windows). Stage them together. - vkd3d-proton-v5.1-arm64: for an arm64 Wine that runs x86_64 programs with FEX (MetalSharp Wine): VKD3D-Proton's
d3d12.dllandd3d12core.dllas ARM64X (aarch64-windows, loaded by x86_64 programs as ARM64EC), with DXVK's x86_64dxgi.dll,d3d11.dllandd3d10core.dll(x86_64-windows), and the lane's own NGX core and NVAPI (nvngx.dll,nvapi64.dll, ARM64X), which run DLSS Super Resolution and Ray Reconstruction on MetalFX. - moltenvk-v5.1-universal: the universal (arm64 + x86_64), ad-hoc signed
libMoltenVK.dylibandMoltenVK_icd.jsonboth lanes run on, with Apple's Metal Shader Converter library (libmetalirconverter.dylib, unmodified, Apple-signed), which MoltenVK uses to convert DXIL compute, vertex and pixel shaders for VKD3D-Proton (METALSHARP_MSC=0turns it off). It runs MetalFX's scalers for VKD3D-Proton's and DXVK's DLSS and swap chain upscaling (mvk_metalfx.h).
VKD3D-Proton macOS 5.0
VKD3D-Proton macOS 5.0 is built from main (54537b6, #12). It brings DLSS Frame Generation on MetalFX, Metal pipelines compiled on background threads, the fixes reported in #11, and the roadmap's command-stream work.
Fixes for #11
- Packed geometry shader inputs (Forza Horizon 3's "duplicate member in1", Crimson Desert's packed geometry payload): SPIRV-Cross names geometry-as-mesh payload members per location and component, and reads the right component.
- GetAttributeAtVertex / PerVertexKHR (Crimson Desert): dxil-spirv's 8-bit vertex index fix from upstream (
patches/dxil-spirv/0001). SPIRV-Cross reads per-vertex inputs through Metal'svertex_valuewhere a one-triangle self-test shows it works, and falls back to an interpolated approximation with a warning where it doesn't (macOS 27.2 on M4). - Stall report: with
METALSHARP_TRACE=sync, after 5 s without a Present, VKD3D-Proton logs the fences being waited on.
Performance (tests/perf scenes, Apple M4)
- Constant buffer rows out of range read from a zero constant:
cbv_rows410 → 20 ms. - WriteBufferImmediate markers batched within a render pass:
draw_markers186 → 1.5 ms. - ALL_COMMANDS barriers between dispatches stay in the compute encoder:
alias_dispatches6.5 → 0.66 ms. - Counted ExecuteIndirect dispatches run from a compute indirect command buffer: 13.7 → 2.4 ms.
- One timestamp sample per pool per batch:
timestamps29 → 2.9 ms,queries29 → 1.8 ms. - The implicit pipeline cache is saved outside its lock. Before, the cache file doubled on every launch and never hit.
- Background pipeline compiling: MoltenVK compiles Metal pipelines on its own threads (
MVK_CONFIG_DEFERRED_PIPELINES, on unless0).
Correctness
- Timestamps resolved in the same command list that wrote them read their values. The resolve runs on the host, and timeline semaphores never go back.
- R32G32B32 typed buffer SRVs (
Buffer<float3>and the like) work without such Metal texel formats. dxil-spirv reads them as three single-component texels. - Metal Shader Converter bridge pipelines get their static samplers. Logic operations and conservative rasterization stay on SPIR-V.
- A SPIRV-Cross recompile-limit failure is fixed. It left a God of War Ragnarök compute shader unconverted ("D3D Device Crashed").
MetalFX and DLSS
- DLSS Frame Generation (NGX feature 11) on MetalFX's frame interpolator. This needs macOS 27 and the game's own
nvngx_dlssg.dll. NVAPI answers the DRS session and Reflex calls Streamline makes. - Ray Reconstruction and Frame Generation are offered only where the game ships their libraries.
- MetalFX temporal upscales take motion vectors at the output resolution (Hogwarts Legacy).
- MetalFX spatial upscaling of the swap chain is asked for when the back buffers are larger than the window too. Before, ELDEN RING stayed drawn in a corner of the screen.
VKD3D_METALFX_SPATIAL=1/0overridesvkd3d.conf.VKD3D_CONFIG_FILEmay be a Unix path.- The arm64 package ships
vkd3d.confanddxvk.conf, and the installer sets them up with the NGX core and NVAPI. This is for Wines other than MetalSharp's. nvngx.dllis signed with the Mullion NGX key, whose certificate the lane's DXGI trusts in the prefix.- MoltenVK's frame interpolator is built with the macOS 26 SDK and turned on at run time on macOS 27.
Tests
New D3D12 tests:
aliaschainexecuteindirect_dispatch_counttimestamps(including same-list resolves)static_sampler_lodtypedbuffer_rgb32(+_dxbc)view_kinds_dxil/_dxbcminmaxwave_first_helpers
Each change was checked with its own tests and scenes. The full suite was not rerun.
Known gaps
These are not covered in 5.0:
- Per-draw binding cost
- Predication
- Transform feedback
- DispatchRays
- Isolines
- Fence completion under heavy CPU load (about twice Mullion's)
Built from 54537b6. Each package holds its files, their licenses and SHA256SUMS.
- vkd3d-proton-v5.0-x86_64: VKD3D-Proton's
d3d12.dllandd3d12core.dll, with DXVK'sdxgi.dll,d3d11.dllandd3d10core.dll, for x86_64 Windows programs (x86_64-windows). Stage them together. - vkd3d-proton-v5.0-arm64: for an arm64 Wine that runs x86_64 programs with FEX (MetalSharp Wine): VKD3D-Proton's
d3d12.dllandd3d12core.dllas ARM64X (aarch64-windows, loaded by x86_64 programs as ARM64EC), with DXVK's x86_64dxgi.dll,d3d11.dllandd3d10core.dll(x86_64-windows), and the lane's own NGX core and NVAPI (nvngx.dll,nvapi64.dll, ARM64X), which run DLSS Super Resolution and Ray Reconstruction on MetalFX. - moltenvk-v5.0-universal: the universal (arm64 + x86_64), ad-hoc signed
libMoltenVK.dylibandMoltenVK_icd.jsonboth lanes run on, with Apple's Metal Shader Converter library (libmetalirconverter.dylib, unmodified, Apple-signed), which MoltenVK uses to convert DXIL compute, vertex and pixel shaders for VKD3D-Proton (METALSHARP_MSC=0turns it off). It runs MetalFX's scalers for VKD3D-Proton's and DXVK's DLSS and swap chain upscaling (mvk_metalfx.h).
VKD3D-Proton MacOS v4.9
VKD3D-Proton macOS 4.9 is built from main (2f7120c). It brings DLSS on MetalFX and MetalFX upscaling of the swap chain to the VKD3D-Proton lane, with its own NGX core and NVAPI.
What's new
DLSS through MetalFX (Direct3D 12)
- DLSS Super Resolution runs on MetalFX's temporal scaler, and DLSS Ray Reconstruction on its denoised scaler (macOS 26 or later).
- It works for games that call NGX directly and for games that go through Streamline (The Witcher 3, God of War Ragnarök).
- The lane ships its own NGX core and NVAPI (
nvngx.dll,nvapi64.dll, ARM64X, built fromngx/). They import only Windows' DLLs and DXGI.- NVAPI reports the NVIDIA GPU that DXGI shows (its adapters, LUIDs and description), so Streamline's GPU check matches.
- Both load only in programs whose DXVK configuration shows an NVIDIA GPU (
dxgi.customVendorId = 10de).
- VKD3D-Proton's command lists record the scales through their own private interface,
ID3D12GraphicsCommandListMetalFX. - DXGI (DXVK 2.7.1) sets up DLSS for those programs: it adds the NVIDIA driver's NGXCore registry values and trusts the certificate NGX checks its core against.
MetalFX upscaling at present
- With
d3d12.metalSpatialUpscale = True(ord3d11.metalSpatialUpscale) invkd3d.conf, the swap chain keeps the back buffers' size. MoltenVK then upscales it to the display with MetalFX's spatial scaler instead of stretching it.vkd3d.confis named byVKD3D_CONFIG_FILE, otherwise it's the working directory's. - The output is the layer's size on screen, including in native macOS fullscreen at an emulated display mode.
- Wine (MetalSharp Wine 0108–0110, 0113) launches the game at the display divided by the factor. It also stops reporting these smaller swap chains as suboptimal, which had made VKD3D-Proton recreate them every frame.
MoltenVK (mvk_metalfx.h)
- MetalFX temporal and denoised scales ride on
vkCmdPipelineBarrier2(VkMetalFXScaleInfoMVK). The swap chain upscaling is requested withVkSwapchainCreateInfoKHR(VkSwapchainMetalFXSpatialCreateInfoMVK). - On 64-bit, Wine's Vulkan layer hands both structures to the driver as they are, so no new Vulkan entry points are needed.
- Support is announced in
driverInfo:metalfx, andmetalfx-denoisedon macOS 26 or later.
Use it with
- MetalSharp Wine
maincbc408d or later. It sets up DLSS games, the launch size and the lane's DLL loading. - MetalSharp with metalsharp/MetalSharp#755, which writes the MetalFX lines into
vkd3d.confanddxvk.conf.
Not yet
- DLSS Frame Generation.
- Motion vectors at the output resolution (games that render them that way get a warning).
- 32-bit programs: Wine's 32-bit Vulkan thunks drop the MetalFX structures.
- Direct3D 11 games on this lane: they launch at the MetalFX size, but the lane's DXVK 2.7.1 doesn't upscale at present. They get MetalFX on the DXVK lane (DXVK-MacOS v3.1.1-macos.2).
Packages
Built from 2f7120c. Each package holds its files, their licenses and SHA256SUMS.
- vkd3d-proton-v4.9-x86_64: VKD3D-Proton's
d3d12.dllandd3d12core.dll, with DXVK'sdxgi.dll,d3d11.dllandd3d10core.dll, for x86_64 Windows programs (x86_64-windows). Stage them together. - vkd3d-proton-v4.9-arm64: for an arm64 Wine that runs x86_64 programs with FEX (MetalSharp Wine): VKD3D-Proton's
d3d12.dllandd3d12core.dllas ARM64X (aarch64-windows, loaded by x86_64 programs as ARM64EC), with DXVK's x86_64dxgi.dll,d3d11.dllandd3d10core.dll(x86_64-windows), and the lane's own NGX core and NVAPI (nvngx.dll,nvapi64.dll, ARM64X), which run DLSS Super Resolution and Ray Reconstruction on MetalFX. - moltenvk-v4.9-universal: the universal (arm64 + x86_64), ad-hoc signed
libMoltenVK.dylibandMoltenVK_icd.jsonboth lanes run on, with Apple's Metal Shader Converter library (libmetalirconverter.dylib, unmodified, Apple-signed), which MoltenVK uses to convert DXIL compute, vertex and pixel shaders for VKD3D-Proton (METALSHARP_MSC=0turns it off). It runs MetalFX's scalers for VKD3D-Proton's and DXVK's DLSS and swap chain upscaling (mvk_metalfx.h).