| Bank | Contents |
|---|---|
| 0 | SDK-generated. Base vertex and base instance at 0x640 and 0x644. Storage buffer descriptors (game B fragment at 0x550, compute at 0x310). Game B bound bank 0 once for all five graphics stages, with an ordinary bind before its first submission (an observation) |
| 1 | embedded in the shader blob (above) |
| 2 | generated texture handles at word 8 + 2*slot, image handles at word 72 + 2*slot. Compute texture slot 0 is word 8 in game B |
| 3 + N | application uniform slot N, graphics and compute alike |
The bank 2 layout matches BindTexture's id*8 + 0x20 byte offset. Maxwell rounds uniform binding sizes up to 256
bytes. Binding NVN uniform slots to identically numbered banks is wrong. The generated bank's live contents change
during a submission, so a value read after the GPU ran can differ from the one a draw used.
Made from docs/layers/gpu/nvn.md at 69237645142c. GPL-3.0-or-later.