Skip to content

Re-usable command buffers (static secondary command buffers aka. bundles).#100

Merged
crud89 merged 5 commits intomainfrom
bundles
May 1, 2023
Merged

Re-usable command buffers (static secondary command buffers aka. bundles).#100
crud89 merged 5 commits intomainfrom
bundles

Conversation

@crud89
Copy link
Copy Markdown
Owner

@crud89 crud89 commented May 1, 2023

Describe the pull request

This PR adds support for static secondary command buffers aka. bundles. Those are (typically small) re-useable command buffers that are recorded once and can then be executed multiple times by calling CommandBuffer::execute. Since they are static, they can be optimized by the driver and where it is possible to use them, they should be preferred over re-recorded command buffers.

Related issues

@crud89 crud89 added Priority: Medium A issue with normal priority. Type: Requirement Vulkan 🌋 The issue involves the Vulkan backend. DX12 ❎ The issue involves the DX12 backend. labels May 1, 2023
@crud89 crud89 added this to the Alpha #04 milestone May 1, 2023
@crud89 crud89 self-assigned this May 1, 2023
@crud89 crud89 marked this pull request as ready for review May 1, 2023 19:24
@crud89 crud89 changed the title Bundles Re-usable command buffers (static secondary command buffers aka. bundles). May 1, 2023
@crud89 crud89 merged commit e494911 into main May 1, 2023
@crud89 crud89 deleted the bundles branch May 3, 2023 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DX12 ❎ The issue involves the DX12 backend. Priority: Medium A issue with normal priority. Vulkan 🌋 The issue involves the Vulkan backend.

Projects

Status: v0.4.1

Development

Successfully merging this pull request may close these issues.

Support re-usable command buffers.

1 participant