Skip to content

[CI] Rebased merge-candidates (#2167, #2208, #2168) on 13f91ca - #4

Closed
RVZO6 wants to merge 3 commits into
mainfrom
rvzo/merge-candidates-ci
Closed

RVZO6 wants to merge 3 commits into
mainfrom
rvzo/merge-candidates-ci

Conversation

@RVZO6

@RVZO6 RVZO6 commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Draft fork CI verification on windows-latest MSVC + WARP SM 6.6 for rebased Marvisak#2167 (FIND-12 dirty atomics), Marvisak#2208 (sub-dword CAS loop), and Marvisak#2168 (scoped indirect UAV barriers + zero-record skip).

…page-table loads

Coalesce 8-byte (view, start) page-table and (base, phase) view-mark
loads via raw_dword2 (mask 3, alignment 8), cache memory_null once in
the entry block across title-memory accesses, omit the second dirty
mark statically for single-byte writes, hoist the n != bits[0] guard
before bitmap word/bit loads, and guard every dirty-mark atomicBinOp
OR with a test-before-atomic rawBufferLoad check without WAVE_OPS.

Assisted-by: T3 Code (Antigravity, gemini-4-neon)
… buffer_store_short

Sub-dword raw buffer stores previously lowered to two separate
dx.op.atomicBinOp.i32 calls (AND to clear the target byte or half, then
OR to set the new bits). When two lanes or threads store to the same
byte or halfword concurrently, their clears and sets can interleave
(AND, AND, OR, OR) and produce a bitwise-OR tear such as 0xFF or 0xFFFF.

Replace the AND+OR sequence with a lock-free dx.op.atomicCompareExchange.i32
(opcode 79) CAS loop inside begin_guarded(guard): load the initial dword
from the raw RWByteAddressBuffer via rawBufferLoad.f32 (no TYPED_UAV_LOADS
required), loop with a phi updating only the target byte/half bits until
prev == old, then advance to the exit block for mark_view_write and
end_guarded.

Add a zero-GPU DXIL IR/CFG + dxil.dll validation test in emit::lower
covering byte/short, unguarded/guarded, and view_marks on/off, plus
hardware/WARP execution tests in emit::stride_tests covering distinct-lane
packing and concurrent same-slot byte/halfword races.

Assisted-by: T3 Code (Antigravity, gemini-4-neon)
Rebased onto 315cea1's list-owned argument buffer design:
- Replace both global NULL-resource UAV barriers in indirect::bound() with
  targeted UAV barriers: pre-clamp on args (and any distinct count buffer),
  and post-clamp on list.budget() alongside out's UAV -> INDIRECT_ARGUMENT
  transition.
- Skip clamp dispatch and UAV barriers when records == 0 (draw.rs returns
  early without clobbering host_pipeline/host_roots; indirect::bound keeps
  out's COMMON -> INDIRECT_ARGUMENT transition paired with done()).
- Add scoped_uav_barriers_and_zero_record_skip covering None/aliased/distinct
  count buffers, zero-record skip, transition replay, and sequential
  executions after completion (fixing the simultaneous re-submit warning
  reported by @r4tedx under VICTORY_D3D12_DEBUG=1).

Assisted-by: T3 Code (Antigravity, gemini-4-neon)
@coderabbitai

coderabbitai Bot commented Nov 25, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@RVZO6

RVZO6 commented Nov 25, 2026

Copy link
Copy Markdown
Owner Author

Verification complete (Run 45662428628 green; Marvisak#2167, Marvisak#2208, Marvisak#2168 rebased and upstream CI green).

@RVZO6 RVZO6 closed this Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant