Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow SyncCommandBufferBuilder commands to specify the access range #1869

Merged
merged 5 commits into from
Apr 16, 2022

Conversation

Rua
Copy link
Contributor

@Rua Rua commented Apr 8, 2022

This changes the internals of SyncCommandBufferBuilder some more, making two changes:

  1. Each resource is checked for conflicts before any resources are added to the builder.
  2. Commands can now specify which part of the resource they use, instead of defaulting to the whole thing.

Point 1 means that "poisoning" is no longer needed and has been removed. Point 2 doesn't do much quite yet, but there are TODO items on each command; future changes should be made to make the declared resource ranges match what the command actually accesses. I've already been working on doing this for copy/blit commands, but it's needed for others too.

@Rua Rua mentioned this pull request Apr 11, 2022
Copy link
Member

@AustinJ235 AustinJ235 left a comment

Choose a reason for hiding this comment

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

Nothing stands out and no regressions noted. Looks Good!

@AustinJ235 AustinJ235 merged commit a42a3d1 into vulkano-rs:master Apr 16, 2022
@Rua Rua deleted the sync-access-range branch May 31, 2022 18:35
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.

None yet

2 participants