mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-19 04:19:57 -04:00
Give each file of copied code one license line.
Each file that contains copied code names its copyright holder and license and points at THIRD_PARTY_NOTICES.md; zlib code keeps its full notice and the mark that it was altered. Comments and probe text only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2,12 +2,10 @@
|
||||
// buffers, the virtual-pool page table, GPU address resolution, page write generations for re-uploads, and the
|
||||
// upload batch (command buffer, staging buffers, deferred destruction) that vk_texture.c records into.
|
||||
//
|
||||
// Behaviour ported from MacNativeGames games/<game>/third_party/d2r_gfx/gfx/nvn/nx2navi_vpool.c (request checks, unmap
|
||||
// semantics, 64 KiB pages) and nvn_dirty.c (generation stamps: a texture is stale when a covered page carries a
|
||||
// generation newer than its upload), @ b75be8cf (MIT, Copyright (c) 2026 jhaizhou; origin d2r-mobile); and from LAS
|
||||
// Recomp runtime/nvn/vulkan/exec.c:2094-2131 (vk_pages_changed: every write-watch query resets the OS bits, so each
|
||||
// query stamps the pages it saw with a new generation shared by all users) and textures.c:240-270 (deferred
|
||||
// destruction) @ da35b83a (MIT, Copyright (c) 2026 Peiikai). Virtual pools are a GPU-side page table
|
||||
// Contains code Copyright (c) 2026 jhaizhou, Copyright (c) 2026 Peiikai (MIT; see THIRD_PARTY_NOTICES.md).
|
||||
// Virtual pools have 64 KiB pages. A texture is stale when a covered page carries a generation newer than its upload;
|
||||
// every write-watch query resets the OS bits, so each query stamps the pages it saw with a new generation shared by all
|
||||
// users. Virtual pools are a GPU-side page table
|
||||
// over device-local memory and dirty pages come from GetWriteWatch (mem_written_pages), so neither host VM aliasing
|
||||
// nor page protection (a fault handler) is needed.
|
||||
#include <stdio.h>
|
||||
|
||||
Reference in New Issue
Block a user