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

vulkan: use effective api version for determining device features #3011

Merged
merged 1 commit into from
Sep 20, 2022

Commits on Sep 5, 2022

  1. vulkan: use effective api version for determining device features

    wgpu wrongly assumes that the instance version will always be the maximum value. This assumption can be broken by using Instance::from_raw. This pull request fixes that issue by calculating the "effective" api version the device supports, which is the lower of the instance version and physical device version. More information can be found in the Vulkan specification's documentation for VkPhysicalDeviceProperties.
    i509VCB committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    56eb7f6 View commit details
    Browse the repository at this point in the history