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

Try using vulkan queue family ownership transfers? #10

Closed
haasn opened this issue Jan 24, 2018 · 0 comments
Closed

Try using vulkan queue family ownership transfers? #10

haasn opened this issue Jan 24, 2018 · 0 comments

Comments

@haasn
Copy link
Owner

haasn commented Jan 24, 2018

Right now, the vulkan code assumes all resources are shared across all queue families - even resources that will only ever be used from a single queue family. This is because it's difficult for us to know in advance when to submit an optimal queue release operation, and also to predict whether or not we'll be using an image from multiple queues or not.

Ideally, we would want to

  1. Submit and use queue family ownership operations in cases where resources infrequently transition between queue families
  2. Identify cases where concurrent sharing is excessive (e.g. non-storable, non-transferrable image) and use exclusive sharing instead
  3. Benchmark the above changes and determine when concurrent sharing is better than frequent queue family transfers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant