Repository navigation
Conversation
d3d12_xdxr_rt_test builds into slot-133 buffers. Nothing built with every address (vertices, indices, destination, scratch) in the title's own memory with no resource over it, which is reached through title windows. The header read back at the destination must have the triangles' bounds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Tested on Windows 11 (26300), NVIDIA GeForce RTX 4060, driver 621.14, VS 2022 RelWithDebInfo + Ninja, merged onto AI-assisted (Claude). |
|
Reviewed cf8490c: coverage-only addition. I only read the code for the new check (it needs Windows + MSVC + GPU, so it was not executed): the dispatch mirrors check_title_memory's proven root-view pattern, and the asserted box at destination bytes 16-39 matches MODE_HEADER in runtime/src/xdxr_build.comp, with expected bounds {-5,0,1}/{4,8,9} correct for the six vertices. What did run (Linux): check_no_game_data.py on the file -> clean; the portable title_va_alias test builds and passes on the PR tree; Linux-built sources are unchanged from main. A GPU run of the d3d12_title_va / d3d12_title_va_shadow ctest entries remains the one open check. Nits: the check never bumps the Recommendation: Merge |
|
Thanks @potatoe0100 and @PierreEbele.
AI-assisted (Claude Code, Claude Opus 5.5). |
…fail it Review notes by PierreEbele on ProjectLeonida#1816. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…fail it Review notes by PierreEbele on ProjectLeonida#1816. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The red CI jobs here are failures that
Nothing in this PR touches those files. AI-assisted (Claude Code). |
|
Independent native Windows GPU check of
RTX 3060 Ti 8 GiB, NVIDIA 610.88, Windows 11 build 26100, MSVC 19.44 RelWithDebInfo. Synthetic inputs only. AI-assisted testing. |
97070ee to
1eea816
Compare
Item: RT-BVH-BUILD-TITLE-VA (#1608). Test only.
I claimed this item to translate the addresses of acceleration-structure builds. #1723 merged that fix first, and it covers more (the BLAS addresses in TLAS instances, copies sized by the build), so my version is dropped. What is left is one case its tests don't have.
d3d12_xdxr_rt_testbuilds into slot-133 buffers. The newcheck_bvh_buildind3d12_title_va_testbuilds a BLAS with the vertices, indices, destination and scratch all in the title's own memory and no resource over any of it, so every address goes through a title window. The test shader reads the header back at the destination and it must have the triangles' bounds. Before anything is submitted, the test checks that every address got a GPU copy, so a missing translation fails without losing the device.The check is skipped with
LEONIDA_GEOMETRY_MB> 0 (d3d12_geometry_views), like the geometry-only checks next to it are skipped without it.Tested on RTX 5060 Ti, driver 621.01, Windows 10 22H2, main
0d80bc5df:d3d12_title_vaandd3d12_title_va_shadowpass, bounds -5 0 1 to 4 8 9.d3d12_com,d3d12_xdxr_rt,xbox_bvh_builder,d3d12_rebound_*andd3d12_api_descriptor_copy*pass.LEONIDA_RT_AS=offthe builds are dropped, and the test fails at the address check, before the submission.d3d12_geometry_viewsfails on this machine, at!root_blob.empty()inmain, before any check runs (the Windows 10 host serializer returned no blob for the heap-directly-indexed root signature). This change does not touch that code. I did not run it on main without the change.Noticed while placing the check: a stream pool's two alias ranges stay in the table after the pool's memory is freed (
remove_title_memoryand dropping the pair do not remove them). When the test allocated its block at those addresses, two parts of it shared one copy and the build read zeros. That is why the check runs beforecheck_stream_pool. Whether the retail title ever reuses a pool's addresses I have not checked.AI-assisted (Claude Code).
🤖 Generated with Claude Code