Files
NX2navi/runtime/nvn_api_core.c
chrg6 345b393acc Give a texture handle asked for with an id out of range the reserved slot 0, inside the pool arrays.
The handle named slot 1,048,575, past the 32,768 entries of the pool arrays shaders index. A draw that binds the
handle resolved it to the stand-in, but a handle the game stores in a uniform buffer would have indexed those arrays
out of bounds on the GPU. Slot 0 is one of the 256 slots the device reports as reserved, which no game registers
into: it holds the stand-in in the arrays, and a bound handle of 0 is "no texture" already.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 22:25:01 -05:00

41 KiB