Repository navigation
Conversation
|
The only change outside the new test file is the AI use: an agent swarm: Claude Opus 5.5, Claude Sonnet 5.5, GPT-6.2-Sol, Gemini 4 Neon and Gemini 3.8 Flash. |
|
Review (head 6e1a5ce, diff read, not a merge-check; draft, test-only):
Fine: it drives the real AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point. |
6e1a5ce to
51929d1
Compare
|
@Foniass thanks: done in the PR's one commit, now AI use: an agent swarm: Claude Opus 5.5, Claude Sonnet 5.5, GPT-6.2-Sol, Gemini 4 Neon and Gemini 4 Hydrogen. |
|
Re-review (head 51929d1, diff read, not a merge-check;
Fine: the model's checks are explicit asserts. They would catch a break in the legacy-to- AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point. |
A recording is a stand-in PC list that keeps the words XCL's hooks send its ResourceBarrier (the title's legacy barriers through resource_barrier_x, its enhanced barriers through uav_barrier_x); a CPU model of the GPU runs recordings in a chosen submission order and reports each transition whose before-state is not the state the texture is in at that point, which is what the debug layer reports as 527 / 538. The debug layer itself is not used: it is one per process, and turning it on would remove the devices of the tests running beside these. The textures are WARP resources (their descriptions are read); nothing runs on the GPU. The cases here hold on main: the model itself, two lists submitted in their recording order (direct and compute), and a list submitted again that ends where it starts. The cases that do not hold (a list recorded before another but submitted after it, a list reset unsubmitted, KickoffX segments) come with the change that makes them hold. Part A of the plan on xcl-dev#3094 (7298369429). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
51929d1 to
b911d16
Compare
|
@Foniass thanks: both tables are now 128 slots (past DispatchMesh 78 and the enhanced AI use: an agent swarm: Claude Opus 5.5, Claude Sonnet 5.5, GPT-6.2-Sol, Gemini 4 Neon and Gemini 4 Hydrogen. |
|
Re-review (head b911d16; the diff from 51929d1, 4 lines). Both nits are addressed: the two tables now have 128 slots each, past DispatchMesh (78) and the enhanced Barrier (79), and the new test's doc comment states its reason. Still open from my last comment: the Tested section on this head, and the AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point. |
|
No open or merged PR adds this harness. It is test-only: a new AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
Part A of the plan announced on #3094 (7298369429): resolving barrier states at submission instead of in recording order. This part is test-only: the harness the later parts' regressions use, with the cases that already hold on
main.A recording is a stand-in PC list that keeps the words XCL's hooks send its
ResourceBarrier(a title's legacy barriers throughlist_x::resource_barrier_x, its enhanced barriers throughlist_x::uav_barrier_x). A CPU model of the GPU runs recordings in a chosen submission order and reports each transition whose before-state is not the state the texture is in at that point: what the debug layer reports as 527 / 538. The debug layer itself is not used, because it is one per process and turning it on would remove the devices of the tests running beside these (gpu::agility::enable_debug_layer). The textures are WARP resources (barrier_groupsreads their descriptions); nothing runs on the GPU, and without a WARP device the tests are skipped.The cases that do not hold on
main(a list recorded before another but submitted after it, thehollowedone's discriminator; a list reset unsubmitted; KickoffX segments) come with the change that makes them hold, so that every test here passes. One thing the harness showed on the way: a texture whose first move is a legacy barrier is not tracked bybarrier_groups(note_legacy_stateonly follows tracked textures; #3489), so the cases here start each texture with an enhanced barrier that names its layout.Related: #3094, #3489
@thehollowedone, you offered to review the harness and its source: thank you. The case you named (B recorded while its texture is in the old state, A submitted before B, B's barriers corrected at submission) is the first of the red cases that come with part C.
What is in it (one commit)
crates/xcl/src/hle/d3d12x/submit_order_tests.rs(new, test-only):Recording(a stand-in list),Gpu(the model), and four tests:the_gpu_model_reports_a_before_state_the_texture_is_not_in,lists_submitted_in_their_recording_order_start_where_the_one_before_left_off,a_list_submitted_again_that_ends_where_it_starts_finds_its_states,compute_lists_submitted_in_their_recording_order_find_their_states.crates/xcl/src/hle/d3d12x/mod.rs:#[cfg(test)] mod submit_order_tests;(two lines; no runtime change).Tested
b911d16c:submit_order_tests:the_gpu_model_reports_a_before_state_the_texture_is_not_in,lists_submitted_in_their_recording_order_start_where_the_one_before_left_off,a_list_submitted_again_that_ends_where_it_starts_finds_its_states,compute_lists_submitted_in_their_recording_order_find_their_states,an_unanswered_slot_is_recorded_not_a_crash): 5 passed, 0 failed (also on an RTX 5090 machine, MSVC, debug).cargo test --workspace --no-fail-fast -- --test-threads=4(leaving out the 3uma_drivertests that need a GPU upload segment this VM does not have): 2886 passed, 6 failed, 51 ignored; 28SKIPPED(the VM's usual: no wave64, no heap windows, and others). Four failures are this VM's onmaintoo (stream_recheck_keeps_the_whole_upload_baseline_over_partial_uploads,stream_recheck_partial_upload_without_an_entry_queues_a_whole_upload,stream_recheck_schedule_catches_late_writes_and_resets_milestones,test_title_runs_and_game_folder_is_untouched). The other two,gpu_scale_args_reports_uncapped_group_count_feedbackandplaced_title_textures_share_vram_and_preserve_pixels, passed when run alone, on this head and onmaind0832e61(1 passed, 0 failed each): failures of the parallel run on this VM, not of this diff, which touches only its own test module.Regression run
None: the diff is test-only (a new test module and its
#[cfg(test)]line inmod.rs), so the runtime is unchanged; a maintainer may apply thetest-onlylabel.Not tested
main(they come with the change, parts B and C).AI use
🤖 Generated with Claude Code
https://claude.ai/code/session_013oPUFCA9W9F8Qb5MPK33bR