Skip to content

Dev batching refactor#174

Merged
vilbeyli merged 63 commits intodevfrom
dev-batching-refactor
Apr 20, 2025
Merged

Dev batching refactor#174
vilbeyli merged 63 commits intodevfrom
dev-batching-refactor

Conversation

@vilbeyli
Copy link
Copy Markdown
Owner

@vilbeyli vilbeyli commented Mar 19, 2025

  • Move draw call batching from scene to renderer
  • Remove intermediate data buffer for draw data, directly batch into CB, improving command recording performance as well
  • optimize culling + mesh data gather + batching performance with SoA data, aligned and slimmed structs
  • improve thread utilization by introducing TaskSignal<> (future+promise wrapper) and chaining dependent tasks while removing busy waits
  • remove std::unordered_map for Material data, use MemoryPool instead

Before
0Before

After
1After

…flags/bools for rendering and not the actual data
…um cull results. also re-arrange work around the sync point
vilbeyli added 27 commits March 24, 2025 22:21
…s dispatches into after sort is completed and dont queue gather but rather execute it in the same worker after sort
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