- F1 EXPORT SAVE writes the save as one zip into the game folder's Saves
folder; IMPORT SAVE lists the zips there to pick from. An import is put
in place at the next start, and the save there before is zipped first
("backup before import ..."). Zips made by hand are taken too: with a
folder around the save, or starting inside the saves folder. The game's
own settings (SettingsProfileSettings) are never exported or imported:
the player keeps theirs.
- A restart from the F1 menu keeps the options the game was started with
(#197).
- DLSS picked in the F1 menu fetches NVIDIA's files at the next start,
even after an earlier "no", and the menu says so (#514).
- When the driver refuses nearly every DLSS upscaling, DLSS and frame
generation are turned off for the run.
- FSR 3 frame generation is made ready only with DLSS upscaling on: the
title's own FidelityFX check stopped the game otherwise (#331, #459).
- RTX Ada, Blackwell and RTX PRO workstation cards count as cards with
DLSS frame generation.
- On a PC with two cards the game plays on the card the monitor is on, and
the preload's pipelines are kept per card.
- The warm-up restart comes after 10 seconds.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-authored-by: DueTonight <[email protected]>
Co-authored-by: mikan123pro <[email protected]>
144 lines
3.9 KiB
Rust
144 lines
3.9 KiB
Rust
//! D3D12.X on host D3D12.
|
|
//!
|
|
//! D3D12.X records commands from code inlined into the title, which writes
|
|
//! packets into the command list while its put pointer is below a limit and
|
|
//! calls the list's method otherwise. Our lists keep the limits at zero, so
|
|
//! every command arrives here as a call, to be run on host D3D12. The
|
|
//! title's GPU addresses are CPU addresses (console memory is unified).
|
|
//!
|
|
//! [`device`] is the device object titles create, [`dxgi`] its adapter side,
|
|
//! [`resource`] heaps and resources, [`fence`] fences, [`queue`] command
|
|
//! queues, [`list`] command allocators and lists, [`descriptor`]
|
|
//! descriptor heaps, [`root`] root signatures, [`query`] query heaps,
|
|
//! [`signature`] command signatures, [`pipeline`] pipeline states,
|
|
//! [`frame`] frame pacing, [`object`] what all console graphics objects
|
|
//! share, [`console`] which console model the title sees. Planned:
|
|
//! `present` (swap chain).
|
|
|
|
#[cfg(windows)]
|
|
mod ahead;
|
|
mod ambient;
|
|
#[cfg(all(windows, feature = "diagnostics"))]
|
|
mod capture;
|
|
#[cfg(windows)]
|
|
mod compose;
|
|
pub mod console;
|
|
#[cfg(all(windows, feature = "diagnostics"))]
|
|
mod copystat;
|
|
#[cfg(all(windows, feature = "diagnostics"))]
|
|
mod faultbook;
|
|
#[cfg(windows)]
|
|
mod cores;
|
|
pub mod descriptor;
|
|
pub mod device;
|
|
#[cfg(windows)]
|
|
mod draw;
|
|
pub mod dxgi;
|
|
#[cfg(windows)]
|
|
mod external;
|
|
pub mod fence;
|
|
pub mod frame;
|
|
#[cfg(all(windows, feature = "diagnostics"))]
|
|
mod book;
|
|
#[cfg(windows)]
|
|
mod heap_marks;
|
|
#[cfg(windows)]
|
|
mod host;
|
|
/// The F1 settings menu is shown (`host/menu.rs`): the title gets no keyboard meanwhile
|
|
/// (read by the input module).
|
|
pub static SETTINGS_MENU_OPEN: std::sync::atomic::AtomicBool = std::sync::atomic::AtomicBool::new(false);
|
|
#[cfg(windows)]
|
|
mod indirect;
|
|
#[cfg(windows)]
|
|
mod inplace;
|
|
#[cfg(windows)]
|
|
mod port;
|
|
#[cfg(windows)]
|
|
mod land;
|
|
pub mod list;
|
|
pub mod object;
|
|
pub mod pipeline;
|
|
#[cfg(windows)]
|
|
mod picked;
|
|
#[cfg(windows)]
|
|
mod pool;
|
|
#[cfg(all(windows, feature = "diagnostics"))]
|
|
mod popwatch;
|
|
#[cfg(windows)]
|
|
mod primitive;
|
|
pub mod query;
|
|
pub mod queue;
|
|
#[cfg(all(windows, feature = "diagnostics"))]
|
|
pub mod replay;
|
|
#[cfg(windows)]
|
|
mod residency;
|
|
pub mod resource;
|
|
pub mod save_share;
|
|
pub mod root;
|
|
#[cfg(windows)]
|
|
mod safecopy;
|
|
#[cfg(windows)]
|
|
mod sampler;
|
|
#[cfg(windows)]
|
|
pub mod shader_cache;
|
|
#[cfg(windows)]
|
|
mod memory;
|
|
#[cfg(windows)]
|
|
mod shadow;
|
|
#[cfg(windows)]
|
|
mod tiles;
|
|
pub mod signature;
|
|
#[cfg(windows)]
|
|
pub mod streamline;
|
|
mod switch;
|
|
#[cfg(all(windows, feature = "diagnostics"))]
|
|
mod ab;
|
|
#[cfg(windows)]
|
|
mod tdr;
|
|
#[cfg(windows)]
|
|
mod texture;
|
|
pub mod timeline;
|
|
#[cfg(windows)]
|
|
pub mod titlewrite;
|
|
#[cfg(windows)]
|
|
mod upload;
|
|
#[cfg(windows)]
|
|
mod watch;
|
|
#[cfg(windows)]
|
|
mod texback;
|
|
|
|
#[cfg(windows)]
|
|
pub use host::on_failure;
|
|
/// Reserves the address space for memory shaders read by address; call it
|
|
/// first thing, before the process's other allocations can fill [4 GiB, 2^37).
|
|
#[cfg(windows)]
|
|
pub use upload::reserve_space as reserve_upload_space;
|
|
|
|
/// Whether `switch` is on now, if it is one of those `VICTORY_AB` turns on and
|
|
/// off while the title runs (`ab`).
|
|
#[cfg(all(windows, feature = "diagnostics"))]
|
|
pub fn switched(switch: &str) -> Option<bool> {
|
|
ab::pick(switch)
|
|
}
|
|
|
|
/// What the frame is at (`copystat::phase`), for the sampling profiler.
|
|
#[cfg(all(windows, feature = "diagnostics"))]
|
|
pub fn frame_phase() -> u32 {
|
|
copystat::phase()
|
|
}
|
|
|
|
/// Frames the title has begun (its frame waits that ended), for logs.
|
|
pub fn frames_begun() -> u64 {
|
|
frame::current()
|
|
}
|
|
#[cfg(windows)]
|
|
pub use inplace::{title_memory_freeing, title_memory_section, title_memory_section_gone, title_memory_view};
|
|
#[cfg(windows)]
|
|
pub use shadow::title_memory_write_combined;
|
|
#[cfg(windows)]
|
|
pub use watch::{
|
|
SoftViews, kernel_writing, soft_view_guards, title_memory_allocated, title_memory_freed, title_memory_made_real,
|
|
title_memory_reading, title_memory_remapped, title_memory_remapping, title_memory_splitting, title_memory_unmapping,
|
|
title_memory_written, use_lazy_views, use_soft_views, writing as kernel_will_write,
|
|
};
|