Add an original D3D12 compute binding and wave-width regression before executable intake #9

Closed
opened 2026-11-21 07:06:10 +00:00 by R0Y00 · 0 comments
R0Y00 commented 2026-11-21 07:06:10 +00:00 (Migrated from github.com)
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-21T07:06:10Z.


Research question

Can a source-built D3D12 compute fixture make binding mistakes and subgroup-width assumptions visible in deterministic readback? This extends the device-creation work in #8 and complements the hardware-coverage request in #1.

Proposed experiment

Use original HLSL and generated integer buffers. Pass a count through a root constant and use separate input and output UAVs. Compare each output word and the untouched guards with an independent CPU calculation. Cover zero work, a partial group and multiple groups. Change one constant for a negative control and check that a designated output changes.

For a second case, choose inputs that distinguish a half-local shuffle from an exchange across logical lanes 31 and 32. Record the device's native wave width and capability skips. Keep graphics-stage behavior as a separate question.

Acceptance

The fixture can run from a clean checkout with repository-built shaders. Record the focused CTest command, adapter, driver, debug-layer status and first mismatch. Verify the software path in Windows CI and the hardware path on an available contributor machine.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6525814459 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/9). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-21T07:06:10Z. --- ## Research question Can a source-built D3D12 compute fixture make binding mistakes and subgroup-width assumptions visible in deterministic readback? This extends the device-creation work in #8 and complements the hardware-coverage request in #1. ## Proposed experiment Use original HLSL and generated integer buffers. Pass a count through a root constant and use separate input and output UAVs. Compare each output word and the untouched guards with an independent CPU calculation. Cover zero work, a partial group and multiple groups. Change one constant for a negative control and check that a designated output changes. For a second case, choose inputs that distinguish a half-local shuffle from an exchange across logical lanes 31 and 32. Record the device's native wave width and capability skips. Keep graphics-stage behavior as a separate question. ## Acceptance The fixture can run from a clean checkout with repository-built shaders. Record the focused CTest command, adapter, driver, debug-layer status and first mismatch. Verify the software path in Windows CI and the hardware path on an available contributor machine.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
R0Y00/Xbox2Windows#9
No description provided.