upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/main.cpp
diff options
context:
space:
mode:
authorDadaCap <167002618+DadaCap@users.noreply.github.com>2026-11-26 07:50:38 +0100
committerDadaCap <167002618+DadaCap@users.noreply.github.com>2026-11-26 07:50:38 +0100
commit77275065bc0554a80eb523c24457dc8597c8f362 (patch)
tree3b33618c24ba84df5207178f830424eab59dfdff /runtime/src/main.cpp
parenta73a57e1339be072baf5522351c8ec7f1482b56b (diff)
xdxr: check an update's source before refitting it; bound vertex reads by VertexCount
An update whose source is not a structure of this layout (one the title never built, which D3D12 leaves undefined) made the refit follow its parent table anywhere. MODE_CHECK now compares the copied header with the layout, and the update records both tails: the refit runs when the check passes, a full build when it fails. The refit walk follows only pointers to the layout's nodes. A vertex index at or past the geometry's VertexCount is no longer read: its triangle is inactive. XdxrTriangles carries vertex_count from the desc. vk_xdxr_build_test: blas_vertex_count and eight update-source cases (zero, random, another element count, garbage tree; large and small-sort). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gt9hwRYcpySx4P4ncQ3wD5
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions