Opt-in, inert-by-default performance work for 6 GB VRAM / 16 GB RAM PCs: - VICTORY_RAM_PRESSURE_MB: physical-RAM-gated fence-safe idle trims - VICTORY_LIST_ALLOC_CAP_MB: shed D3D12 command-allocator high-water peak - VICTORY_TRIM_MIN_MS: hold back zero-yield heavy sweeps to stop frame spikes - VICTORY_JOIN_FEWER / RELAY_EACH / TABLED_BITS: submission-path latency toggles - diagnostics-only per-frame refresh/read/dip timers (copystat/dipstat) - play-6gb.ps1 + play-6gb.cmd launcher preset (OPT=447, INPLACE=0, the above) The title is referred to only as "the title" throughout.
50 lines
1.8 KiB
TOML
50 lines
1.8 KiB
TOML
[package]
|
|
name = "victory-gpu"
|
|
description = "D3D12.X command streams and GPU memory, translated onto host D3D12."
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
publish.workspace = true
|
|
|
|
[dependencies]
|
|
mimalloc = { workspace = true, optional = true }
|
|
blake3.workspace = true
|
|
zlib-rs.workspace = true
|
|
tracing.workspace = true
|
|
anyhow.workspace = true
|
|
victory-formats.workspace = true
|
|
victory-pipeline.workspace = true
|
|
victory-shader = { workspace = true, features = ["host"] }
|
|
|
|
[build-dependencies]
|
|
blake3.workspace = true
|
|
|
|
[dev-dependencies]
|
|
tempfile.workspace = true
|
|
|
|
[features]
|
|
# Debugging switches (frame capture, the host debug layer, per-draw data).
|
|
diagnostics = []
|
|
# The Rust side allocates through mimalloc (per-thread caches) instead of the
|
|
# process heap it shares with the title and the drivers.
|
|
mimalloc = ["dep:mimalloc"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows-sys = { workspace = true, features = ["Win32_Foundation", "Win32_Security", "Win32_Security_Cryptography", "Win32_Security_WinTrust", "Win32_Storage_FileSystem", "Win32_System_Diagnostics_Debug", "Win32_System_Diagnostics_ToolHelp", "Win32_System_Kernel", "Win32_System_LibraryLoader", "Win32_System_Memory", "Win32_System_Performance", "Win32_System_ProcessStatus", "Win32_System_Registry", "Win32_System_SystemInformation", "Win32_System_Threading", "Win32_UI_Input_KeyboardAndMouse", "Win32_UI_WindowsAndMessaging"] }
|
|
windows = { workspace = true, features = [
|
|
"Win32_Graphics_Direct3D",
|
|
"Win32_Graphics_Direct3D_Fxc",
|
|
"Win32_Graphics_Direct3D12",
|
|
"Win32_Graphics_Dxgi",
|
|
"Win32_Graphics_Dxgi_Common",
|
|
"Win32_Graphics_Gdi",
|
|
"Win32_Security",
|
|
"Win32_System_LibraryLoader",
|
|
"Win32_System_Threading",
|
|
"Win32_UI_WindowsAndMessaging",
|
|
] }
|