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

Add Vulkan profile #1567

Merged
merged 12 commits into from
May 25, 2023
Merged

Add Vulkan profile #1567

merged 12 commits into from
May 25, 2023

Commits on May 23, 2023

  1. vkd3d: Add stricter feature checking.

    Try to align better with profile expectations.
    
    Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
    HansKristian-Work committed May 23, 2023
    Configuration menu
    Copy the full SHA
    d53bebc View commit details
    Browse the repository at this point in the history
  2. vkd3d: Free queues if device creation fails.

    Found during profiles debugging.
    
    Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
    HansKristian-Work committed May 23, 2023
    Configuration menu
    Copy the full SHA
    e81dace View commit details
    Browse the repository at this point in the history
  3. vkd3d: Avoid requiring int64 for meta shaders.

    Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
    HansKristian-Work committed May 23, 2023
    Configuration menu
    Copy the full SHA
    49d97cf View commit details
    Browse the repository at this point in the history
  4. vkd3d: Get rid of VK_EXT_shader_viewport_index_layer.

    Rely on Vulkan 1.2 features here.
    Avoids problems with profiles layer since it will expose the EXT even if
    we don't declare it, since it was promoted, but enabling the EXT
    requires us to enable the features.
    
    Spec says that enabling both features is equivalent to enabling the EXT,
    so this should be okay.
    
    Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
    HansKristian-Work committed May 23, 2023
    Configuration menu
    Copy the full SHA
    5ce7dc5 View commit details
    Browse the repository at this point in the history
  5. vkd3d: Check for scalar UBO layout as well to enable SM 6.0.

    Modern Cbuffer layout is required feature.
    
    Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
    HansKristian-Work committed May 23, 2023
    Configuration menu
    Copy the full SHA
    f268237 View commit details
    Browse the repository at this point in the history
  6. vkd3d: Add check for single texel alignment.

    Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
    HansKristian-Work committed May 23, 2023
    Configuration menu
    Copy the full SHA
    9c568e3 View commit details
    Browse the repository at this point in the history
  7. vkd3d: Only enable GPL if independent interpolation is supported.

    We don't fixup interpolation, so this is required.
    
    Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
    HansKristian-Work committed May 23, 2023
    Configuration menu
    Copy the full SHA
    539ced2 View commit details
    Browse the repository at this point in the history
  8. tests: Fix layered rendering without attachment test.

    Check that feature is supported.
    
    Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
    HansKristian-Work committed May 23, 2023
    Configuration menu
    Copy the full SHA
    8d9d6e2 View commit details
    Browse the repository at this point in the history
  9. tests: Actually return if SM 6.2 is not supported.

    Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
    HansKristian-Work committed May 23, 2023
    Configuration menu
    Copy the full SHA
    c050b6b View commit details
    Browse the repository at this point in the history
  10. tests: Add mechanism to override feature level in tests.

    For testing profile behavior, it's useful to be able to verify that we
    reject feature levels when features are limited.
    
    Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
    HansKristian-Work committed May 23, 2023
    Configuration menu
    Copy the full SHA
    2123f8e View commit details
    Browse the repository at this point in the history
  11. tests: Check for logic op support.

    Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
    HansKristian-Work committed May 23, 2023
    Configuration menu
    Copy the full SHA
    aac3bf0 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    2fbc529 View commit details
    Browse the repository at this point in the history