DXVK
Experimental non-complete NVAPI D3D11 implementation forThis repository provide a very (very very) basic proof-of-concept implementation of the NVAPI extensions for DXVK. It is mostly a direct copy DXVK-AGS, but adjusted for NVAPI.
This implementation currently advertises Depth bounds test
only.
This implemenation has been tested with a single game only: Assetto Corsa Competizione, based on Unreal Engine 4. Due to the complexity of the API this implementation wont most likely work with anything else. Unreal Engine 4 is so kind to query every method is uses before actually using a method. Any engine or program that uses the NVAPI methods directly will fail.
How to build
Like DXVK, this library is being built as a Windows DLL using MinGW, and has essentially the same build requirements.
Run:
./package-release.sh master /your/path
How to use
- Copy
nvapi64.dll
into thesystem32
folder of your x64 Wine prefix. - Make sure that your prefix uses the native version of nvapi64.
- Disable the
nvapiHack
in DXVK.
References and inspirations
- DXVK
- DXVK-AGS
- NVAPI
- https://github.com/pchome/dxvk-nvapi-module
- https://github.com/SveSop/nvapi_standalone
- https://github.com/falahati/NvAPIWrapper/blob/master/NvAPIWrapper/Native/Helpers/FunctionId.cs
Many thanks to the coresponding authors!