Skip to content

Vulkan profiles support? #2577

@SRSaunders

Description

@SRSaunders

When experimenting with the Vulkan-Samples profiles example, I have found that MoltenVK is very close to supporting the VP_LUNARG_desktop_baseline_2022 profile, which depends on Vulkan 1.1.

The only divergence appears to be in the device properties.limits area, specifically as follows:

  1. lineWidthGranularity = 0, but the profile requires a multiple of 1
  2. minMemoryMapAlignment = 256 on AMD, but the profile requires <= 64 (which does work for Apple Silicon)
  3. residencyAlignedMipSize = VK_FALSE, but the profile requires VK_TRUE

Is it possible to address these differences (perhaps even ignore item 2, since arm64 is the path forward for Apple)?

Or is profiles support not on the priority list, even for this relatively close one?

I have looked at some other profiles, but the divergence is larger with VP_LUNARG_desktop_baseline_2023 and VP_LUNARG_desktop_baseline_2024.

Note the profiles VP_LUNARG_minimum_requirements_1_0/1/2/3 are also close, but require:

  1. lineWidthGranularity to be a multiple of 1
  2. maxDescriptorSetSamplers >= 96 (which exceeds 80 at the moment)
  3. maxSamplerAllocationCount >= 4000 (which exceeds 2048 on AMD, and 1024 on M1 Apple Silicon)
  4. minMemoryMapAlignment <= 64 (which fails for AMD but does work for Apple Silicon)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions