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

Deferred example crashes with an error #2047

Closed
Rua opened this issue Oct 27, 2022 · 0 comments · Fixed by #2048
Closed

Deferred example crashes with an error #2047

Rua opened this issue Oct 27, 2022 · 0 comments · Fixed by #2048

Comments

@Rua
Copy link
Contributor

Rua commented Oct 27, 2022

The deferred example currently crashes with an error:

RequirementNotMet { required_for: "create_info.dependencies has an element where src_access or dst_access has bits set from VkAccessFlagBits2", requires_one_of: RequiresOneOf { api_version: None, features: ["synchronization2"], device_extensions: [], instance_extensions: [] } }

I was able to track this down to these two lines:

let src_access = src_stages.supported_access();
let dst_access = dst_stages.supported_access();

Since #2043, the supported_access function returns additional flags, which are not necessarily all supported by the current device. A fix may be to provide supported_access with the device, so that it only returns supported flags, or to make a new function for all bitflags that removes unsupported flags.

Rua added a commit to Rua/vulkano that referenced this issue Oct 27, 2022
@Rua Rua mentioned this issue Oct 27, 2022
AustinJ235 pushed a commit that referenced this issue Oct 29, 2022
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 a pull request may close this issue.

1 participant