[PR #424] [CLOSED] d3d12: execute fixed-count indirect mesh dispatches on Vulkan #475

Closed
opened 2026-11-26 20:18:00 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/424
Author: @PyZikYG
Created: 11/24/2026
Status: ❌ Closed

Base: main ← Head: vulkan-mesh-dispatch


📝 Commits (1)

  • 1fc1ff4 d3d12: execute fixed-count indirect mesh dispatches on Vulkan

📊 Changes

7 files changed (+77 additions, -22 deletions)

View changed files

📝 docs/d3d12_vulkan.md (+8 -4)
📝 runtime/shims/d3d12_com.cpp (+13 -7)
📝 runtime/shims/d3d12_vulkan_device.cpp (+2 -2)
📝 runtime/src/command_list.h (+15 -4)
📝 runtime/src/vulkan_backend.h (+2 -0)
📝 runtime/src/vulkan_replay.h (+20 -2)
📝 runtime/test/d3d12_mesh_test.cpp (+17 -3)

📄 Description

Claimed in the coordination issue as D3D-MESH-INDIRECT-EXEC.

Depends on: #377 (overlap at mesh signature creation), #337 (indirect argument range rules)

CreateCommandSignature recognizes DISPATCH_MESH, but the Vulkan backend cannot replay it. This change captures the graphics PSO, root arguments and render targets at recording time and replays the strided GPU arguments with vkCmdDrawMeshTasksIndirectEXT. It covers signatures with one DISPATCH_MESH argument and a fixed command count. GPU count buffers and signatures that change root arguments remain unsupported.

AI-assisted: yes.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/424 **Author:** [@PyZikYG](https://github.com/PyZikYG) **Created:** 11/24/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `vulkan-mesh-dispatch` --- ### 📝 Commits (1) - [`1fc1ff4`](https://github.com/ubiquitarianism/leonida/commit/1fc1ff430912d6742a0c98dd2bd88f26fd284377) d3d12: execute fixed-count indirect mesh dispatches on Vulkan ### 📊 Changes **7 files changed** (+77 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `docs/d3d12_vulkan.md` (+8 -4) 📝 `runtime/shims/d3d12_com.cpp` (+13 -7) 📝 `runtime/shims/d3d12_vulkan_device.cpp` (+2 -2) 📝 `runtime/src/command_list.h` (+15 -4) 📝 `runtime/src/vulkan_backend.h` (+2 -0) 📝 `runtime/src/vulkan_replay.h` (+20 -2) 📝 `runtime/test/d3d12_mesh_test.cpp` (+17 -3) </details> ### 📄 Description Claimed in the coordination issue as [D3D-MESH-INDIRECT-EXEC](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7122527843). Depends on: #377 (overlap at mesh signature creation), #337 (indirect argument range rules) CreateCommandSignature recognizes DISPATCH_MESH, but the Vulkan backend cannot replay it. This change captures the graphics PSO, root arguments and render targets at recording time and replays the strided GPU arguments with vkCmdDrawMeshTasksIndirectEXT. It covers signatures with one DISPATCH_MESH argument and a fixed command count. GPU count buffers and signatures that change root arguments remain unsupported. AI-assisted: yes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:18:00 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
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.

Dependencies

No dependencies set

Reference
starred/leonida#475
No description provided.