Skip to content

vkprofiles: Use the Vulkan core requirements for the values combine can't combine - #1126

Merged
christophe-lunarg merged 1 commit into
mainfrom
combine-core-requirements-mismatch
Dec 1, 2026
Merged

christophe-lunarg merged 1 commit into
mainfrom
combine-core-requirements-mismatch

Conversation

@christophe-lunarg

Copy link
Copy Markdown
Collaborator

With 'vkprofiles combine --mode union' and '--mode intersection', the properties whose values can't be combined following their limittype, such as 'min,pot' values which aren't powers of two or 'min,mul' floats without a common multiple, were removed from the generated profile.

They now use the Vulkan core requirement of the property for the profile API version, from the Vulkan core requirements of vulkan_object_data.py. The requirements depending on a feature or an extension only apply when the generated profile requires it: from every input profile for an intersection, from any input profile for a union. When an input profile has a less capable value than the Vulkan core requirement, the least capable value of the input profiles is used. The properties without a Vulkan core requirement, such as the 'exact' properties, are still removed, and the 'difference' mode is unchanged.

Document the values that can't be combined in the whitepaper.

…an't combine

With 'vkprofiles combine --mode union' and '--mode intersection', the
properties whose values can't be combined following their limittype,
such as 'min,pot' values which aren't powers of two or 'min,mul' floats
without a common multiple, were removed from the generated profile.

They now use the Vulkan core requirement of the property for the profile
API version, from the Vulkan core requirements of vulkan_object_data.py.
The requirements depending on a feature or an extension only apply when
the generated profile requires it: from every input profile for an
intersection, from any input profile for a union. When an input profile
has a less capable value than the Vulkan core requirement, the least
capable value of the input profiles is used. The properties without a
Vulkan core requirement, such as the 'exact' properties, are still
removed, and the 'difference' mode is unchanged.

Document the values that can't be combined in the whitepaper.
@christophe-lunarg christophe-lunarg self-assigned this Dec 1, 2026
@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build queued with queue ID 219227.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4851 running.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4851 passed.

@christophe-lunarg
christophe-lunarg merged commit 8720d09 into main Dec 1, 2026
11 checks passed
@christophe-lunarg
christophe-lunarg deleted the combine-core-requirements-mismatch branch December 1, 2026 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

combine: Add default values instead of just removing unmatched capabilities

2 participants