Skip to content

D3D12.X: attribute CPU-write looks only during activity runs - #180

Draft
bmjask wants to merge 1 commit into
stack/176-durable-preparation-outcomesfrom
stack/177-activity-cpu-write-looks
Draft

bmjask wants to merge 1 commit into
stack/176-durable-preparation-outcomesfrom
stack/177-activity-cpu-write-looks

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #179.

This is an internal draft stack in bmjask/xcl; it is not an upstream merge request.

What and why

This unit isolates d3d12.x: attribute cpu-write looks only during activity runs as one reviewable step in the redesign.

What is in it

  • 188fe97c is the cleaned-stack form of integrated commit 62672862.

The patch content is preserved; only ancestry changed to omit a canceled add/revert sequence.

Tested

Tests were not rerun while packaging this already-integrated change into the draft stack.

Regression run

Not run during stack packaging.

Not tested

  • Windows MSVC build and test suite
  • D3D12 GPU execution
  • scripts/smoke.ps1 main/head comparison

AI use

Codex, GPT-5.6-sol, removed canceled ancestry, created the stack branch, and drafted this description. It did not author new code during stack packaging.

@bmjask
bmjask force-pushed the stack/176-durable-preparation-outcomes branch from ae4034c to d2e6be3 Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/177-activity-cpu-write-looks branch 2 times, most recently from 3f28475 to fafc3c9 Compare November 27, 2026 01:00
@bmjask
bmjask force-pushed the stack/176-durable-preparation-outcomes branch from b25a42c to bc63db7 Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/177-activity-cpu-write-looks branch from fafc3c9 to 3175bf6 Compare November 27, 2026 05:14
XCL_ACTIVITY now reports the foreground cost of each serialized look before title submission: write-watch bytes, ranges and dirty pages; sparse lock, scan and upload phases; and remaining texture refresh work.

When activity reporting is disabled, remove the prior unconditional sparse timing clocks, range-byte sums, atomic counter updates and power-of-two timing logs. GetWriteWatch retains its atomic retrieve-and-reset behavior.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/177-activity-cpu-write-looks branch from 3175bf6 to f31ed5a Compare November 27, 2026 12:34
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