Skip to content

D3D12.X: preserve CPU writes during sparse copy-back - #186

Draft
bmjask wants to merge 1 commit into
stack/182-retained-pipeline-agefrom
stack/183-sparse-copyback-cpu-writes
Draft

bmjask wants to merge 1 commit into
stack/182-retained-pipeline-agefrom
stack/183-sparse-copyback-cpu-writes

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #185.

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

What and why

This unit isolates d3d12.x: preserve cpu writes during sparse copy-back as one reviewable step in the redesign.

What is in it

  • 81b5d052 is the cleaned-stack form of integrated commit 06f0ea06.

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/182-retained-pipeline-age branch from b26fad0 to 6e782ab Compare November 27, 2026 00:46
@bmjask
bmjask force-pushed the stack/183-sparse-copyback-cpu-writes branch from 81b5d05 to 12dfcfb Compare November 27, 2026 00:46
@bmjask
bmjask force-pushed the stack/182-retained-pipeline-age branch from 6e782ab to b3c28e6 Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/183-sparse-copyback-cpu-writes branch 2 times, most recently from 64ae41f to 7724ec4 Compare November 27, 2026 05:14
A synchronous GPU copy-back previously replaced an entire committed page span and then accepted those bytes as sent state. If the CPU had changed one of its 64-byte chunks after the last upload, that newer value was lost. Land only chunks whose current hash still matches the last-sent hash; leave dirty chunks and hashes unchanged for the next upload look.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/182-retained-pipeline-age branch from 3d8182c to b9cb41b Compare November 27, 2026 12:35
@bmjask
bmjask force-pushed the stack/183-sparse-copyback-cpu-writes branch from 7724ec4 to 776c594 Compare November 27, 2026 12:35
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