mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-20 06:09:58 -04:00
Mesh emulation: size the task records from the arena, and log what each submission asked for.
The task records were a fixed 4096 per submission (3 KiB each): a dense patch of grass that launches more task workgroups in one submission lost the rest silently. Their count is now a push constant (NX2NAVI_MESH_EMU_TASKS, default 16384) and the arena defaults to 256 MiB. The header counts what the stages asked for past the capacities too; before the counters start over they go to a readback ring, and the perf line reports the most one submission used of the vertex slots, indices and task records, and the mesh workgroups that did not fit. The first draws the emulation skips are logged with the reason. (cherry picked from commit 81cfd91bf468f13e4debf287d080f96637a4c382) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -423,7 +423,11 @@
|
||||
# mirror_hot = 0
|
||||
# GPUs without mesh shaders (VK_EXT_mesh_shader: AMD before RDNA 2, NVIDIA before Turing): 1 runs the game's mesh
|
||||
# and task shaders (grass and other foliage) as compute shaders and draws what they make; 0 skips those draws. The
|
||||
# arena for their vertices and triangles is mesh_emu_mb MiB of video memory, with mesh_emu_tasks task records (3 KiB
|
||||
# each) per submission; with trace = perf the log says how much a submission used. Read at start.
|
||||
# mesh_emulation = 0
|
||||
# mesh_emu_mb = 256
|
||||
# mesh_emu_tasks = 16384
|
||||
# Scaling to the window when it is larger than the game resolution: fsr (AMD FSR 1) or bilinear, and FSR's sharpening
|
||||
# from 0 (off) to 100. Changes while the game runs take effect at once.
|
||||
# upscaler = fsr
|
||||
|
||||
Reference in New Issue
Block a user