mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-21 07:59:58 -04:00
Describe what the code does in comments and docs.
Comments say what the code does and why, docs/maxwell.md keeps the Maxwell facts, and fetch_refs.sh clones only the checkout the build reads. Code is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -12,8 +12,6 @@
|
||||
// - A GPU write within the submission (UpdateUniformBuffer, a storage buffer a shader writes, a buffer copy or fill,
|
||||
// an image-to-buffer copy: vk_usnap_drop) drops the copies it touches from then on, so later draws read the result.
|
||||
// - The arena goes back to a free list once the submission's fence is done (completion thread).
|
||||
// The design follows MacNativeGames' NX2NAVI_UBO_SNAPSHOT (games/<game>/third_party/d2r_gfx/gfx/nvn/nvn_mtl.m usnap_take,
|
||||
// usnap_drop; MIT, Copyright (c) 2026 jhaizhou); the code is ours.
|
||||
// The copy is taken where vk_exec_record starts: at the submit call when the replay runs on the submitting thread, later
|
||||
// with NX2NAVI_REPLAY_ASYNC. NX2NAVI_UBO_SNAPSHOT=0 binds live memory as before; =ab alternates (NX2NAVI_AB).
|
||||
#include <stdlib.h>
|
||||
|
||||
Reference in New Issue
Block a user