Skip to content

Plan bounded mesh emulation dispatch batches - #36

Closed
Personed wants to merge 1 commit into
mainfrom
compat/mesh-emu-dispatch-plan
Closed

Personed wants to merge 1 commit into
mainfrom
compat/mesh-emu-dispatch-plan

Conversation

@Personed

@Personed Personed commented Nov 25, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add a checked mesh-emulation dispatch planner that bounds batches by D3D12's one-dimensional dispatch limit, 32-bit raw-buffer offsets, and DrawInstanced vertex count.
  • Expose batch metadata (first_group, group count, output bytes, draw vertex count) for the later runtime integration.
  • Add tests for large dispatches, raw-buffer address-space limits, invalid layouts, and zero groups.

This is preparatory only; runtime pipeline and dispatch integration remain unchanged.

Validation

  • cargo fmt --all -- --check ✅
  • git diff --check ✅
  • cargo test -p victory-shader --locked ⚠️ Could not start compilation: link.exe is unavailable in this environment. CI should provide the build/test result.

Devin Review

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Devin Review: 1 flag

Not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)

Devin Review

@Personed

Copy link
Copy Markdown
Owner Author

Closing as superseded by the merge of #29 while CI was running. The new mainline removes the prior MeshEmu shader-emulation modules, so this planner no longer applies cleanly to the current architecture. The checks were green on the old base; we should re-design the fallback integration against current main rather than resurrecting obsolete code.

@Personed Personed closed this Nov 25, 2026
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