mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:30:52 +01:00
[PR #1077] [CLOSED] d3d12: defer fixed-count indirect compute dispatches in bundles #1113
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1113
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1077
Author: @PyZikYG
Created: 11/24/2026
Status: ❌ Closed
Base:
main← Head:bundle-indirect-dispatch📝 Commits (1)
2c6df2ad3d12: defer fixed-count indirect compute dispatches in bundles📊 Changes
5 files changed (+64 additions, -37 deletions)
View changed files
📝
docs/d3d12_vulkan.md(+1 -1)📝
runtime/shims/d3d12_com.cpp(+23 -21)📝
runtime/shims/d3d12_com.h(+1 -2)📝
runtime/shims/d3d12_vulkan_device.cpp(+1 -1)📝
runtime/test/d3d12_indirect_dispatch_count_test.cpp(+38 -12)📄 Description
Claimed as D3D-BUNDLE-INDIRECT-DISPATCH.
ExecuteIndirect(DISPATCH) used to invalidate every bundle that contained it. For a signature consisting of a single DISPATCH argument and a fixed command count, defer the command until ExecuteBundle. Record the compute pipeline and root arguments in effect on the parent for each use of the bundle. Count buffers and state-changing signatures remain rejected in bundles.
Related: #377, #424, #429 and #499 touch the indirect command path. This change can land independently of the mesh and graphics features.
AI-assisted: yes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.