mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-17 11:29:58 -04:00
Clear a new depth image where the game makes it, not ahead of the part being recorded, and drop the depth copy switch.
A new depth or stencil image was cleared in the upload batch, which runs before the whole part being recorded. Bound into pool memory, the image shares its bytes with the live texture at its address, so the clear could wipe depth that earlier draws of the same part still read: the sun's shadowing went fully dark for one frame a few times a minute where the game resizes its shadow maps. The clear now goes in at the replay's position, as it already did for reused images (depth_init_inline, default 1; 0 is the old order). The switch that copied the live image's depth into the new one is removed: every such image was cleared by the game before anything read it, and the copies cost smoothness. From a contributor's diff and measurements at a town gate: 0 dark frames in 5,423 with the change, 12 in 2,728 without. Checked here on the combined build in Hyrule Field before the Market's gate: every new depth image is started at the replay's position, none in the upload batch, and none had to end an open pass. The dark frames themselves were not counted here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -206,11 +206,11 @@
|
||||
# memory = auto
|
||||
# A new texture created over a live texture's memory starts with that content instead of empty.
|
||||
# tex_alias = 1
|
||||
# Test, off by default: a new depth image made over a live one of the same format at the same address takes its depth
|
||||
# for the region both cover, instead of starting cleared. The game remakes its depth targets at other sizes many times a
|
||||
# minute in some places, and a cleared one shows everything near the camera as in shadow for one frame. ab switches it
|
||||
# in blocks of game time for comparisons; depth_alias_log = 1 logs each such image with its frame.
|
||||
# depth_alias = 0
|
||||
# A new depth image is cleared at the place in the frame where the game makes it (1, default), not ahead of the
|
||||
# frame's other work: made ahead, the clear could wipe depth that draws of the same frame still read, and the sun's
|
||||
# shadow went fully dark for one frame a few times a minute where the game resizes its shadow maps (a town gate).
|
||||
# 0: cleared ahead, as before. depth_alias_log = 1 logs each new depth image made over a live texture, with its frame.
|
||||
# depth_init_inline = 1
|
||||
# Small texture uploads stage in ranges of a few kept buffers instead of a new buffer each (0 = a buffer each).
|
||||
# stg_arena = 1
|
||||
# With astc = gpu: the compute shader reads the blocks in the game's tiled layout, so the CPU only copies the
|
||||
|
||||
Reference in New Issue
Block a user