The title's pipelines written down (VICTORY_PIPELINE_BOOK=1, off) and made ahead of a run, each batch in a process of its own (victory warm)
Every pipeline the title creates goes to known-pipelines.bin beside the pipeline library, its containers to known-shaders.bin (in the cache folder; they are the title's code). `victory warm` makes their host pipelines in idle-priority processes of 200 each and lets them go: the driver's cache on disk keeps them. Those earlier runs drew with come first; what is done is noted by translator and driver (warm-done.txt); a pipeline that ends or hangs its process is named in warm-bad.txt and skipped. VICTORY_EARLY_ALL does this in the running title and ended it inside the driver. Not measured yet: how long, and how much the driver's cache grows. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
eaef3651c6
commit
2f22f6e2c2
9 files changed
+736
-10
No files matched your search
@@ -20,19 +20,19 @@ use crate::host::host;
|
||||
/// A stream's graphics state, owned (the title's stream lives only for the
|
||||
/// creation call). Subobjects the stream leaves out keep D3D12's defaults.
|
||||
pub(crate) struct GraphicsState {
|
||||
blend: D3D12_BLEND_DESC,
|
||||
sample_mask: u32,
|
||||
rasterizer: D3D12_RASTERIZER_DESC,
|
||||
depth: D3D12_DEPTH_STENCIL_DESC,
|
||||
depth_bounds: bool,
|
||||
pub(super) blend: D3D12_BLEND_DESC,
|
||||
pub(super) sample_mask: u32,
|
||||
pub(super) rasterizer: D3D12_RASTERIZER_DESC,
|
||||
pub(super) depth: D3D12_DEPTH_STENCIL_DESC,
|
||||
pub(super) depth_bounds: bool,
|
||||
/// Input elements, their names pointing into `names`.
|
||||
inputs: Vec<D3D12_INPUT_ELEMENT_DESC>,
|
||||
names: Vec<CString>,
|
||||
strip_cut: D3D12_INDEX_BUFFER_STRIP_CUT_VALUE,
|
||||
pub(super) inputs: Vec<D3D12_INPUT_ELEMENT_DESC>,
|
||||
pub(super) names: Vec<CString>,
|
||||
pub(super) strip_cut: D3D12_INDEX_BUFFER_STRIP_CUT_VALUE,
|
||||
pub(crate) topology: D3D12_PRIMITIVE_TOPOLOGY_TYPE,
|
||||
pub(crate) targets: D3D12_RT_FORMAT_ARRAY,
|
||||
depth_format: DXGI_FORMAT,
|
||||
samples: DXGI_SAMPLE_DESC,
|
||||
pub(super) depth_format: DXGI_FORMAT,
|
||||
pub(super) samples: DXGI_SAMPLE_DESC,
|
||||
}
|
||||
|
||||
impl Default for GraphicsState {
|
||||
|
||||
Reference in new issue
Block a user