d3d12: keep compute repacks off transfer-only queues #1200

Closed
leonida/mandy
PyZikYG wants to merge 0 commits from copy-transfer-family-capability into main

Pull request closed

This pull request cannot be reopened because the branch was deleted.

PyZikYG commented 2026-11-24 20:05:18 +00:00

Claimed as D3D-COPY-TRANSFER-FAMILY.

Transfer-only copy families were classified only when conditional rendering was enabled. Even if a family was classified correctly, its replay table inherited the compute repack callback from the shared context. A D24 or RGB96 footprint copy could therefore record compute work on a VkQueue that cannot execute it.

Classify the family independently of predication and remove the repack callback from transfer-only replay. These copies fail during preparation on a transfer-only queue. Vulkan queues with graphics or compute support can still run the conversion.

AI-assisted: yes.

Tested

  • d3d12_rgb96: PASS on Windows.
  • d3d12_rgb96_transfer_queue: PASS on Windows. This case does not use WARP and is independently runnable under Wine on devices with a transfer-only queue family.
Claimed as [D3D-COPY-TRANSFER-FAMILY](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7142922846). Transfer-only copy families were classified only when conditional rendering was enabled. Even if a family was classified correctly, its replay table inherited the compute repack callback from the shared context. A D24 or RGB96 footprint copy could therefore record compute work on a VkQueue that cannot execute it. Classify the family independently of predication and remove the repack callback from transfer-only replay. These copies fail during preparation on a transfer-only queue. Vulkan queues with graphics or compute support can still run the conversion. AI-assisted: yes. ### Tested - `d3d12_rgb96`: PASS on Windows. - `d3d12_rgb96_transfer_queue`: PASS on Windows. This case does not use WARP and is independently runnable under Wine on devices with a transfer-only queue family.
madhyn commented 2026-11-24 20:08:04 +00:00

Tested e5cd66105 on Arch Linux + Wine 11.22 + NVIDIA RTX 3060 Ti (595.58.03 / Vulkan):

  • ctest --test-dir runtime/build/win -R "^d3d12_rgb96$" --output-on-failure: Skipped (5.53 s)

AI-assisted: yes

Tested `e5cd66105` on Arch Linux + Wine 11.22 + NVIDIA RTX 3060 Ti (595.58.03 / Vulkan): - `ctest --test-dir runtime/build/win -R "^d3d12_rgb96$" --output-on-failure`: **Skipped** (5.53 s) AI-assisted: yes
MoonEyes commented 2026-11-28 17:57:41 +00:00

Hi @PyZikYG, thanks for this pull request. It currently conflicts with main (conflicting file(s): runtime/src/vulkan_backend.h), so it carries the needs rebase label. CONTRIBUTING.md asks authors to rebase their branch on main; once it merges cleanly the label goes within the hour, and reviews start with the pull requests that do. Could you update the branch when you have a moment? If you no longer plan to continue with it, please say so here.

AI-assisted (Claude Code, Claude Opus 5.5).

Hi @PyZikYG, thanks for this pull request. It currently conflicts with `main` (conflicting file(s): `runtime/src/vulkan_backend.h`), so it carries the `needs rebase` label. CONTRIBUTING.md asks authors to rebase their branch on `main`; once it merges cleanly the label goes within the hour, and reviews start with the pull requests that do. Could you update the branch when you have a moment? If you no longer plan to continue with it, please say so here. AI-assisted (Claude Code, Claude Opus 5.5).
aslan2142 commented 2026-12-01 16:33:56 +00:00

Closing this PR because the legacy C++ Vulkan runtime (and legacy Python shader compiler) is now considered deprecated in favor of the new Rust Vulkan runtime (in progress) and the Rust DX12 runtime (d3d12/) available now. Thank you for the contribution! If you believe this PR was closed by mistake (for example, if it still applies to active tools, d3d12/, or general docs), please feel free to reopen it.

Closing this PR because the legacy C++ Vulkan runtime (and legacy Python shader compiler) is now considered deprecated in favor of the new Rust Vulkan runtime (in progress) and the Rust DX12 runtime (`d3d12/`) available now. Thank you for the contribution! If you believe this PR was closed by mistake (for example, if it still applies to active tools, `d3d12/`, or general docs), please feel free to reopen it.
Sign in to join this conversation.
No description provided.