Skip to content

v0.26.11: DX12 indirect dispatch/draw (BUG-DX12-012)#164

Merged
kolkov merged 1 commit intomainfrom
release/v0.26.11
Apr 30, 2026
Merged

v0.26.11: DX12 indirect dispatch/draw (BUG-DX12-012)#164
kolkov merged 1 commit intomainfrom
release/v0.26.11

Conversation

@kolkov
Copy link
Copy Markdown
Contributor

@kolkov kolkov commented Apr 30, 2026

Summary

  • DX12: DispatchIndirect, DrawIndirect, DrawIndexedIndirect — all three were no-op stubs, now implemented via ExecuteIndirect with pre-created ID3D12CommandSignature objects (Rust wgpu-hal pattern)
  • DX12 was the last GPU backend with stub indirect methods — all 4 GPU backends now have full support
  • Three command signatures at device init: dispatch (12B), draw (16B), draw indexed (20B)

Test plan

  • go build ./... — Windows, Linux, macOS
  • go test ./... — all pass
  • golangci-lint run — 0 issues on all 3 platforms
  • gofmt -l . — clean
  • Validated against Rust wgpu-hal dx12/device.rs:142-174, dx12/command.rs:1599-1630
  • CI

…ture (BUG-DX12-012)

Implement DispatchIndirect, DrawIndirect, DrawIndexedIndirect on DX12.
Pre-create three ID3D12CommandSignature objects at device init (Rust
wgpu-hal pattern): dispatch 12B, draw 16B, draw indexed 20B stride.
DX12 was the last GPU backend with stub indirect methods.
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@kolkov kolkov merged commit 60a4551 into main Apr 30, 2026
11 checks passed
@kolkov kolkov deleted the release/v0.26.11 branch April 30, 2026 18:07
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