con un clic
build-remix
// Build dxvk-remix from source. Use when the user asks to compile, build, or rebuild the project, or when code changes need to be compiled and tested.
// Build dxvk-remix from source. Use when the user asks to compile, build, or rebuild the project, or when code changes need to be compiled and tested.
Deploy built dxvk-remix to a game and launch it. Use when the user asks to deploy, test, run, or debug a game with Remix, or when built changes need to be tested in a running game.
Build and run dxvk-remix unit tests. Use when the user asks to run tests, add new tests, or verify that code changes pass existing tests.
| name | build-remix |
| description | Build dxvk-remix from source. Use when the user asks to compile, build, or rebuild the project, or when code changes need to be compiled and tested. |
All commands run in PowerShell from the repo root.
Windows 10+, Visual Studio 2019 (2022 may work), Windows SDK 10.0.19041.0, Meson 1.8.2+, Vulkan SDK 1.4.313.2+, Python 3.9+.
| Build Directory | Flavour | Use Case |
|---|---|---|
_Comp64Debug | debug | Full debug instrumentation, slow runtime |
_Comp64DebugOptimized | debugoptimized | Asserts enabled, near-release speed (recommended for development) |
_Comp64Release | release | Fastest runtime |
.\build_dxvk_all_ninja.ps1
This also generates the Visual Studio solution at _vs/dxvk-remix.sln.
.\build_dxvk.ps1 -BuildFlavour debugoptimized -BuildSubDir _Comp64DebugOptimized -Backend ninja -EnableTracy false
Once a build directory exists, rebuild only changed files:
meson compile -C _Comp64DebugOptimized
Always use meson compile, never call ninja directly. meson compile auto-activates the MSVC environment; calling ninja directly will fail because cl.exe is not on PATH.
This compiles all C++ targets and shaders together. Calling meson compile is faster than build_dxvk.ps1 since it skips the setup step.
Run inside the relevant build directory when dependency paths change (e.g. new Vulkan SDK):
cd _Comp64DebugOptimized; meson --reconfigure
Quick shader syntax check when C++ hasn't changed:
meson compile -C _Comp64DebugOptimized rtx_shaders
Shader compiler is slangc.exe (Slang language). Compiled SPIR-V output goes to _Comp64DebugOptimized/src/dxvk/rtx_shaders/*.spv.