Skip to content

Support for resource synchronization prior to moves.#195

Merged
crud89 merged 5 commits intomainfrom
dev/fix-defragmentation-barriers
Nov 5, 2025
Merged

Support for resource synchronization prior to moves.#195
crud89 merged 5 commits intomainfrom
dev/fix-defragmentation-barriers

Conversation

@crud89
Copy link
Copy Markdown
Owner

@crud89 crud89 commented Nov 5, 2025

Describe the pull request

This PR fixes an issue with resource defragmentation, which got introduced with #192. Previously it was not possible to synchronize moved-from resources with external workloads. For image resources in particular, this meant, that they could be left in an invalid layout. With this PR, resources exhibit a prepareMove event, that stores a barrier that can be used for this purpose. The defragmentation sample has been updated accordingly.

Related issues

@crud89 crud89 added this to the Alpha #05 milestone Nov 5, 2025
@crud89 crud89 self-assigned this Nov 5, 2025
@crud89 crud89 added this to LiteFX Nov 5, 2025
@crud89 crud89 added Vulkan πŸŒ‹ The issue involves the Vulkan backend. DX12 ❎ The issue involves the DX12 backend. labels Nov 5, 2025
@crud89 crud89 moved this to In Progress in LiteFX Nov 5, 2025
@crud89
Copy link
Copy Markdown
Owner Author

crud89 commented Nov 5, 2025

Run: checks

@crud89 crud89 merged commit 0c2f5db into main Nov 5, 2025
9 checks passed
@crud89 crud89 deleted the dev/fix-defragmentation-barriers branch November 5, 2025 20:23
@crud89 crud89 moved this from In Progress to v0.5.1 in LiteFX Nov 5, 2025
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. Vulkan πŸŒ‹ The issue involves the Vulkan backend.

Projects

Status: v0.5.1

Development

Successfully merging this pull request may close these issues.

1 participant