Section arena in pages; graphics docs and benchmark comparison

At render distance 32 the single section arena grew past the 4 GiB buffer
limit and the renderer panicked. Sections now live in pages of at most
256 MiB (or the device's buffer limit); draws keep their order and bind each
page once per run of consecutive draws in it, so translucent sections stay
back to front. docs/graphics.md describes the settings, the benchmark and
what changed; graphics_bench.py --compare prints a before/after table and
keeps each game's log.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-13 17:10:07 +02:00
parent ad9cd6c67e
commit 7f1e197428
19 changed files with 366 additions and 130 deletions
+4
View File
@@ -74,6 +74,10 @@ $C bench 10 # avg/1%-low FPS and p50/p95/p99/max frame tim
$C quit # save and exit
```
`fly X1 Y1 Z1 X2 Y2 Z2 SECONDS [PITCH]` moves the camera along a line at
constant speed and replies with the same summary as `bench`, plus CPU and GPU
time per frame; [the graphics benchmark](graphics.md#benchmark) is built on it.
Other commands: `status`, `key KEY down|up|tap`, `mouse left|right|middle
down|up|click`, `turn`, `tp X Y Z`, `hotbar N`, `give ITEM [COUNT]`,
`render-distance N`, `time TICKS`, `resume`, `stats [reset]`, `open WORLD [SEED]