Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
036ded9
perf(textures): backlog-sized staging slice so world-entry texture dr…
vilaris Nov 27, 2026
c230fc6
docs(performance): audit reports and consolidated root causes
vilaris Nov 27, 2026
9a7aadd
perf(submit): small fills of upload memory no longer drain the card b…
vilaris Nov 27, 2026
a81709c
perf(descriptors): counters for heap write-watch asks, ring pages and…
vilaris Nov 27, 2026
279ca69
docs(performance): descriptor-sync experiments log, unsafe items docu…
vilaris Nov 27, 2026
c2f89f5
perf: baseline summarizer script and BASELINE.md from recorded sessions
vilaris Nov 27, 2026
4340f69
Order early pipelines by first use, boost workers while loading, log …
vilaris Nov 27, 2026
0907007
Merge branch 'perf/pipeline-order' into perf/radical-refactor
vilaris Nov 27, 2026
4175a41
Merge branch 'perf/descriptor-sync' into perf/radical-refactor
vilaris Nov 27, 2026
f2ccaec
Sweep behind flights without draining them (R8)
vilaris Nov 27, 2026
4780490
gpu: per-copy GPU-write footprint counters (measurement only)
vilaris Nov 27, 2026
824b71a
watch: ask_once asks the widest range first so contained ranges are n…
vilaris Nov 27, 2026
5b61664
docs: experiments log for memory footprint branch
vilaris Nov 27, 2026
0cf445a
Join touching copy commands in card steps (R3, reduced)
vilaris Nov 27, 2026
fc3d1d1
Document R3/R7/R8 outcomes in EXPERIMENTS.md
vilaris Nov 27, 2026
4151991
Merge branch 'perf/submit-thread' into perf/radical-refactor
vilaris Nov 27, 2026
b27e614
Name unnamed title-memory-read settles; read of a placed copy's desti…
vilaris Nov 27, 2026
9f0d734
Learned tight declarations for root UAV writes (VICTORY_TIGHT_WRITES,…
vilaris Nov 27, 2026
c810ad2
Merge branch 'perf/tight-writes' into perf/radical-refactor
vilaris Nov 27, 2026
a79bbd5
perf: tight writes on in code, no env switches for backlog slice or v…
vilaris Nov 27, 2026
f39a8f0
Make the pipelines earlier runs used from process start, in first-use…
vilaris Nov 27, 2026
b0b8af2
Texture book: deliver textures as DirectStorage requests land; conver…
vilaris Nov 27, 2026
55ef141
Merge branch 'perf/texture-book' into perf/radical-refactor
vilaris Nov 27, 2026
5d4a74c
Read constants behind a copy at its place on the card instead of wait…
vilaris Nov 27, 2026
8613d6e
fix(dstorage): do not move the converted-cache hit inside a match guard
vilaris Nov 27, 2026
15bf731
perf: refresh coherence - asked ranges found by halves, host copies n…
vilaris Nov 27, 2026
2602310
Merge branch 'perf/coherence' into perf/radical-refactor
vilaris Nov 27, 2026
10307c5
List translation: per-call shared writes off the lines all threads share
vilaris Nov 27, 2026
e210dd5
Merge branch 'perf/thin-contention' into perf/radical-refactor
vilaris Nov 27, 2026
3bee71d
docs: unified memory architecture - placement by access pattern
vilaris Nov 27, 2026
4fdc16e
port: title-memory home for constants, always on; whole-buffer port p…
vilaris Nov 27, 2026
5029b19
draw: constant views bound in title memory when no shader writes them
vilaris Nov 27, 2026
7462622
shadow: write-combined copies' shader writes stay on the card by default
vilaris Nov 27, 2026
e26e5ce
port: log reads per-frame counters through a closure; doc: lazy views…
vilaris Nov 27, 2026
21a4de5
port: page oracle with copy stamps - title copies done on the card ar…
vilaris Nov 27, 2026
af4d10c
port: no binding named like the stamp function
vilaris Nov 27, 2026
557e90d
perf: dynamic-slot settle, heap-pick marks, DirectStorage worker cap,…
vilaris Nov 27, 2026
3578c99
Merge branch 'perf/unified-memory' into perf/radical-refactor
vilaris Nov 27, 2026
8dd910c
perf: read every constant buffer as raw bytes, in place at the title'…
vilaris Nov 27, 2026
15b4467
perf(unified-memory): continued port work from the parallel session (…
vilaris Nov 27, 2026
bdfc57c
Merge branch 'perf/raw-constants' into perf/radical-refactor
vilaris Nov 27, 2026
340ece1
perf: table constant buffers as structured views of dwords, in place …
vilaris Nov 27, 2026
36f7341
perf(gpu): reduce coherence overhead and report submission costs
vilaris Nov 27, 2026
ee7fd1a
perf(memory): coalesce page faults and avoid present backlog on size …
vilaris Nov 27, 2026
bd7351c
fix(shader): use constant for wide BVH node mapping
vilaris Nov 27, 2026
2e77582
Merge branch 'main' of https://github.com/trustno1-coder/VIctory-NVID…
vilaris Nov 27, 2026
65d1578
feat: reaching 19 fps in boat mission
vilaris Nov 27, 2026
c569c03
perf(gpu): streamline buffer refreshes and defer resource retirement
vilaris Nov 27, 2026
dfea61e
perf(gpu): optimize rendering and add frame benchmarks
vilaris Nov 27, 2026
7893689
feat(gpu): expand render trace coverage and serialize write-watch
vilaris Nov 27, 2026
e08725e
fix(gpu): journal write-watch resets before ending the standing answer
vilaris Nov 27, 2026
143781e
Merge branch 'main' of https://github.com/trustno1-coder/VIctory-NVID…
vilaris Nov 27, 2026
f844ed3
perf(gpu): retire dynamic descriptors by fence instead of draining
vilaris Nov 27, 2026
f7e26e6
perf(gpu): decouple descriptor retirement and prioritize submitted work
vilaris Nov 27, 2026
f8c8f34
Optimize deferred refreshes, staging sends, and slot reclamation
vilaris Nov 27, 2026
7cfd269
Pipelines: the whole library is not saved again mid-burst or under me…
harrisotiropoulos-jpg Nov 27, 2026
120d3ed
shadow: the same AVX2 compare for the copy-back runs
WalidBenMiled Nov 27, 2026
815c06c
gpu: size the render targets' room by the peak they have held, not a …
Nov 27, 2026
f5845c0
perf(xmem): physical pages from sections of at most VICTORY_SECTION_M…
CLHelper Nov 27, 2026
89067df
test(xmem): title-free remap bench for VICTORY_SECTION_MB (ignored)
CLHelper Nov 27, 2026
67c9da9
Rust allocations through mimalloc (feature `mimalloc`)
Dastano Nov 26, 2026
6e0ea97
perf: record optional rendered-frame timing and focus
vilaris Nov 27, 2026
5e00141
perf: add opt-in host memory samples
vilaris Nov 27, 2026
24e4014
perf: attribute residency waits and normalize CPU sampling
vilaris Nov 27, 2026
242600e
Add optional fenced residency for device-local UAV buffers
vilaris Nov 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

# Local configuration (contains paths to YOUR files)
/victory.toml

.claude
# Places people tend to drop data into. Keep data outside the repo instead.
/game/
/games/
Expand Down Expand Up @@ -82,3 +82,4 @@ Thumbs.db
# What the F1 menu saved
/victory-settings.txt
/victory-settings.*.txt
docs/performance/baseline-data/
12 changes: 12 additions & 0 deletions Benchmark-VIctory.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
@echo off
setlocal EnableExtensions DisableDelayedExpansion
rem Frame-rate estimate without opening the game: replays the work a run's log
rem counted through this build's code and compares with that run's frame rate.
rem Usage: Benchmark-VIctory.cmd [path\to\play-*.log] (default: newest run with gameplay)
set "runner=%~dp0target\release\victory.exe"
if not exist "%runner%" (
echo Build first: cargo build --release --locked -p victory 1>&2
exit /b 2
)
"%runner%" bench %*
exit /b %errorlevel%
19 changes: 19 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ license = "GPL-3.0-or-later"
publish = false

[workspace.dependencies]
mimalloc = { version = "0.1", default-features = false }
# Internal crates
victory-core = { path = "crates/victory-core" }
victory-pe = { path = "crates/victory-pe" }
Expand Down
2 changes: 2 additions & 0 deletions apps/victory/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ diagnostics = [
"victory-loader/diagnostics",
"victory-shader/diagnostics",
]
# Rust allocations through mimalloc instead of the shared process heap.
mimalloc = ["victory-hle/mimalloc"]

[lints]
workspace = true
43 changes: 43 additions & 0 deletions apps/victory/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,20 @@ enum Command {
/// docs/replay.md).
#[cfg(all(windows, feature = "diagnostics"))]
Replay(replay::Replay),
/// Estimate the frame rate without the title: a run's log says what work
/// each frame had; this build runs the steps it can (write watch,
/// refreshes' copies, sending up, landing) on stand-in title memory, puts
/// them with the rest of the log's times and compares with the run's
/// frame rate. Without a log: the newest run's with gameplay.
#[cfg(windows)]
Bench {
/// A run's log (`%LOCALAPPDATA%\victory\logs\play-*.log`).
log: Option<PathBuf>,
/// An earlier report of `victory bench` (saved output, another
/// build, the same log): prints the change of the estimate.
#[arg(long)]
compare: Option<PathBuf>,
},
/// Show the resolved configuration and check it.
Config,
/// Check NVIDIA Streamline, DLSS and DLSS Frame Generation on this PC
Expand Down Expand Up @@ -308,6 +322,15 @@ fn main() -> Result<()> {
}
#[cfg(all(windows, feature = "diagnostics"))]
Command::Replay(options) => replay::run(options),
#[cfg(windows)]
Command::Bench { log, compare } => {
let log = match log {
Some(log) => log,
None => newest_gameplay_log()?,
};
print!("{}", victory_hle::bench::run(&log, compare.as_deref())?);
Ok(())
}
Command::Config => show_config(),
#[cfg(windows)]
Command::UpscalerCheck { output, device, present } => {
Expand All @@ -323,6 +346,26 @@ fn main() -> Result<()> {
}
}

/// The newest play log with gameplay frame-rate lines (`victory bench` without a log).
#[cfg(windows)]
fn newest_gameplay_log() -> Result<PathBuf> {
let base = std::env::var_os("LOCALAPPDATA").ok_or_else(|| anyhow::anyhow!("no %LOCALAPPDATA%"))?;
let dir = PathBuf::from(base).join("victory").join("logs");
let mut logs: Vec<(std::time::SystemTime, PathBuf)> = std::fs::read_dir(&dir)?
.filter_map(|e| e.ok())
.filter(|e| e.file_name().to_string_lossy().starts_with("play-"))
.filter_map(|e| Some((e.metadata().ok()?.modified().ok()?, e.path())))
.collect();
logs.sort_by(|a, b| b.0.cmp(&a.0));
for (_, path) in logs {
let Ok(text) = std::fs::read_to_string(&path) else { continue };
if !victory_hle::bench::gameplay(&victory_hle::bench::windows(&text)).is_empty() {
return Ok(path);
}
}
anyhow::bail!("no play log with gameplay in {}", dir.display())
}

fn show_config() -> Result<()> {
let cfg = victory_core::Config::load()?;
let status = |p: &Option<PathBuf>| match p {
Expand Down
18 changes: 7 additions & 11 deletions apps/victory/src/play.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ const FETCH: &str = include_str!("../../../scripts/get-nvidia-sdks.ps1");
const SETTINGS: &[(&str, &str)] = &[
// Submission and copy machinery
("VICTORY_THIN", "1"),
("VICTORY_JOIN_PARTS", "8"),
("VICTORY_JOIN_PARTS", "16"),
("VICTORY_JOIN_LISTS", "96"),
("VICTORY_RELAY", "2"),
("VICTORY_RELAY_COPY", "1"),
("VICTORY_WIDE_BACK", "1"),
Expand All @@ -44,16 +45,13 @@ const SETTINGS: &[(&str, &str)] = &[
("VICTORY_UPLOAD_AHEAD", "1"),
("VICTORY_SHOW_AFTER", "1"),
("VICTORY_MAP_THREADS", "1"),
// Shader writes into big write-combined copies stay on the card
("VICTORY_WC_NO_BACK", "1"),
("VICTORY_WC_NO_BACK_MIN_KB", "1024"),
// The title's page-mapping copies kept without Windows views
("VICTORY_SOFT_VIEWS", "copies"),
// Textures
("VICTORY_TEXTURE_POOL", "1"),
("VICTORY_RIPE_BLOCKS", "0"),
("VICTORY_TEXTURE_NO_WAIT", "1"),
("VICTORY_TEXTURE_CATCHUP", "0"),
("VICTORY_TEXTURE_CATCHUP", "1"),
("VICTORY_TEXTURE_STAGE_MS", "16"),
("VICTORY_LEVELS_ON_DEMAND", "0"),
("VICTORY_PRELUDE_UPLOADS", "1"),
Expand Down Expand Up @@ -254,10 +252,8 @@ fn settings(o: &Play, menu: &[(String, String)], streamline: Option<&Path>) -> (
if let Some(x) = framegen_x {
set("VICTORY_FRAMEGEN", "1");
set("VICTORY_FRAMEGEN_X", &x.to_string());
// Frame generation takes 1.5 to 2 GB of the card's memory, which the layer
// otherwise fills with textures: on from the start it is left a fifth of the
// budget; ready but off, a little less is held back.
set("VICTORY_TEXTURE_ROOM_PERCENT", if framegen { "80" } else { "86" });
// (The texture line leaves frame generation its room by itself:
// `resource::room_line`, a constant there, not a switch here.)
}
}
// AMD FSR 3 frame generation, made ready as DLSS frame generation is: auto, the layer uses
Expand Down Expand Up @@ -506,7 +502,7 @@ mod tests {
assert_eq!(get("VICTORY_STREAMLINE_DIR"), Some(r"C:\nvidia"));
// frame generation ready, off, with a little memory held back for it
assert_eq!((get("VICTORY_FRAMEGEN"), get("VICTORY_FRAMEGEN_X")), (Some("1"), Some("0")));
assert_eq!(get("VICTORY_TEXTURE_ROOM_PERCENT"), Some("86"));
assert_eq!(get("VICTORY_TEXTURE_ROOM_PERCENT"), None);
assert_eq!(get("VICTORY_FRAME_INTERVAL_US"), Some("1000"));
assert_eq!((get("VICTORY_MENU_DLSS"), get("VICTORY_MENU_FRAMEGEN")), (Some("quality"), Some("0")));
assert_eq!((get("VICTORY_MENU_CONSOLE"), get("VICTORY_MENU_FPS")), (Some("series-x"), Some("1000")));
Expand Down Expand Up @@ -553,7 +549,7 @@ mod tests {
// the Series S profile has no picture size of its own
assert_eq!(get("VICTORY_NATIVE_1440P"), None);
assert_eq!((get("VICTORY_DLSS_MODE"), get("VICTORY_FRAMEGEN_X")), (Some("performance"), Some("6")));
assert_eq!(get("VICTORY_TEXTURE_ROOM_PERCENT"), Some("80"));
assert_eq!(get("VICTORY_TEXTURE_ROOM_PERCENT"), None);
assert_eq!(get("VICTORY_FRAME_INTERVAL_US"), Some("16667"));
// a switch with a value is set, an empty one unset; the menu's own choices are not switches
assert_eq!((get("VICTORY_AMBIENT"), get("VICTORY_EARLY_DEPTH")), (Some("0.5"), None));
Expand Down
6 changes: 6 additions & 0 deletions apps/victory/src/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,12 @@ pub fn run(
cfg.cache_subdir("images")?
};
victory_hle::modules::d3d12x::use_shader_cache(cfg.cache_subdir("shaders")?);
// The pipelines earlier runs used are made from here on, not when the
// title creates each (its loading screen is the time to make them).
#[cfg(windows)]
if execute {
victory_hle::known_pipelines::prewarm();
}
let image = victory_loader::load(&prepared, &images)?;
// The program is mapped from the copy `load` wrote: the file's bytes
// and their patched copy are not read again, and were held for the
Expand Down
15 changes: 13 additions & 2 deletions apps/victory/src/warm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,25 @@ pub fn run(jobs: Option<usize>, limit: Option<usize>, again: bool, used: bool, t
let bad: HashSet<&str> = bad.lines().filter_map(|l| l.split(' ').next()).collect();
let early = std::fs::read_to_string(dir.join("early-pipelines.txt")).unwrap_or_default();
let early: HashSet<&str> = early.lines().collect();
// Those earlier runs drew with first, the others in no order (by key).
// Those earlier runs drew with first, in the order they first drew with
// them (`pipeline-order.txt`, the line is the place), then those listed
// without a place, then the others in no order (by key).
let order = std::fs::read_to_string(dir.join("pipeline-order.txt")).unwrap_or_default();
let mut place: std::collections::HashMap<&str, usize> = std::collections::HashMap::new();
for key in order.lines().filter_map(|l| l.split_whitespace().next()) {
let next = place.len();
place.entry(key).or_insert(next);
}
let mut all: Vec<usize> = (0..keys.len())
.filter(|&n| {
let key = keys[n].as_str();
(again || !done.contains(key)) && !bad.contains(key) && (!used || early.contains(key))
})
.collect();
all.sort_by_key(|&n| (!early.contains(keys[n].as_str()), &keys[n]));
all.sort_by_key(|&n| {
let key = keys[n].as_str();
(!early.contains(key), place.get(key).copied().unwrap_or(usize::MAX), &keys[n])
});
all.truncate(limit.unwrap_or(usize::MAX));
let cores = std::thread::available_parallelism().map_or(4, |n| n.get());
let jobs = jobs.unwrap_or(cores * 2 / 3).max(1);
Expand Down
4 changes: 4 additions & 0 deletions crates/victory-gpu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ license.workspace = true
publish.workspace = true

[dependencies]
mimalloc = { workspace = true, optional = true }
blake3.workspace = true
zlib-rs.workspace = true
tracing.workspace = true
Expand All @@ -25,6 +26,9 @@ 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
Expand Down
61 changes: 61 additions & 0 deletions crates/victory-gpu/examples/lut3d_probe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,67 @@ fn main() -> windows::core::Result<()> {
}
}
let device = device.expect("an NVIDIA adapter");
// PRELOAD=1: the composite's three samplers made first, each in a root signature
// of its own (register 0, visible to all stages), kept: the fixed order a run
// makes its known static samplers in before any pipeline
// (`pipeline::samplers`). PRELOAD=rev: in the other order.
let mut preloaded: Vec<ID3D12RootSignature> = Vec::new();
if let Some(order) = std::env::var_os("PRELOAD") {
let mut filters = vec![
D3D12_FILTER_MIN_MAG_MIP_POINT,
D3D12_FILTER_MIN_MAG_LINEAR_MIP_POINT,
D3D12_FILTER_MIN_MAG_MIP_LINEAR,
];
if order == "rev" {
filters.reverse();
}
// PRELOAD=lin: the linear one first (another place than PRELOAD=1 gives it).
if order == "lin" {
filters.swap(0, 1);
}
// PRELOAD_ODD=1: made at another register and visible to the pixel stage only
// (does the driver's table tell samplers apart by their state alone?).
let odd = std::env::var_os("PRELOAD_ODD").is_some();
for filter in filters {
let sampler = D3D12_STATIC_SAMPLER_DESC {
Filter: filter,
AddressU: D3D12_TEXTURE_ADDRESS_MODE_CLAMP,
AddressV: D3D12_TEXTURE_ADDRESS_MODE_CLAMP,
AddressW: D3D12_TEXTURE_ADDRESS_MODE_CLAMP,
MaxAnisotropy: 1,
ComparisonFunc: D3D12_COMPARISON_FUNC_NEVER,
BorderColor: D3D12_STATIC_BORDER_COLOR_TRANSPARENT_BLACK,
MaxLOD: 12.0,
ShaderRegister: if odd { 5 } else { 0 },
RegisterSpace: if odd { 7 } else { 0 },
ShaderVisibility: if odd {
D3D12_SHADER_VISIBILITY_PIXEL
} else {
D3D12_SHADER_VISIBILITY_ALL
},
..Default::default()
};
let desc = D3D12_VERSIONED_ROOT_SIGNATURE_DESC {
Version: D3D_ROOT_SIGNATURE_VERSION_1_1,
Anonymous: D3D12_VERSIONED_ROOT_SIGNATURE_DESC_0 {
Desc_1_1: D3D12_ROOT_SIGNATURE_DESC1 {
NumStaticSamplers: 1,
pStaticSamplers: &sampler,
..Default::default()
},
},
};
let mut blob: Option<ID3DBlob> = None;
D3D12SerializeVersionedRootSignature(&desc, &mut blob, None)?;
let blob = blob.unwrap();
let bytes = std::slice::from_raw_parts(
blob.GetBufferPointer().cast::<u8>(),
blob.GetBufferSize(),
);
preloaded.push(device.CreateRootSignature(0, bytes)?);
}
println!("the composite's samplers made first, one root signature each");
}
let fill = compile(s!("fill"));
let probe = compile(s!("probe"));
// SHIFT=<n>: n root signatures with static point samplers of their own made (and
Expand Down
21 changes: 11 additions & 10 deletions crates/victory-gpu/src/ambient.rs
Original file line number Diff line number Diff line change
Expand Up @@ -737,31 +737,32 @@ pub(crate) fn after(list: &HostList, role: Role, views: &Views) -> bool {
l.SetComputeRootDescriptorTable(2, views.image);
l.SetComputeRootUnorderedAccessView(3, pass.cells.GetGPUVirtualAddress());
l.SetComputeRootUnorderedAccessView(4, pass.points.GetGPUVirtualAddress());
let run = |pso: &ID3D12PipelineState, x, y, z| {
let run = |name, pso: &ID3D12PipelineState, x: u32, y: u32, z: u32| {
list.trace_gpu_pass(name, [x.into(), y.into(), z.into(), 0, 0]);
l.SetPipelineState(pso);
l.Dispatch(x, y, z);
uav_barrier(l);
};
match role {
Role::Radiance => {
run(&pass.keep, 8, 9, 1);
run(&pass.mean, 1, 1, 1);
run("ambient: keep", &pass.keep, 8, 9, 1);
run("ambient: mean", &pass.mean, 1, 1, 1);
KEPT.store(true, Ordering::Relaxed);
}
Role::Air => run(&pass.air, views.size[0].div_ceil(8), views.size[1].div_ceil(8), views.slices.div_ceil(2)),
Role::Air => run("ambient: air", &pass.air, views.size[0].div_ceil(8), views.size[1].div_ceil(8), views.slices.div_ceil(2)),
Role::Resolve => {
if constant == 0.0 {
run(&pass.place, 8, 9, 1);
run(&pass.gather, 20, 45, 1);
run("ambient: place", &pass.place, 8, 9, 1);
run("ambient: gather", &pass.gather, 20, 45, 1);
}
run(&pass.raise, views.size[0].div_ceil(8), views.size[1].div_ceil(8), 1);
run("ambient: raise", &pass.raise, views.size[0].div_ceil(8), views.size[1].div_ceil(8), 1);
}
Role::Miss => {
// The points afresh, from this frame's depth: the diffuse
// stand-in makes them later in the frame.
run(&pass.place, 8, 9, 1);
run(&pass.gather, 20, 45, 1);
run(&pass.reflect, views.size[0].div_ceil(8), views.size[1].div_ceil(8), 1);
run("ambient: place", &pass.place, 8, 9, 1);
run("ambient: gather", &pass.gather, 20, 45, 1);
run("ambient: reflect", &pass.reflect, views.size[0].div_ceil(8), views.size[1].div_ceil(8), 1);
}
}
}
Expand Down
Loading