Repository navigation
vkprofiles: Use the Vulkan core requirements for the values combine can't combine - #1126
Merged
Merged
Conversation
…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.
Collaborator
|
CI VulkanProfiles build queued with queue ID 219227. |
Collaborator
|
CI VulkanProfiles build # 4851 running. |
Collaborator
|
CI VulkanProfiles build # 4851 passed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.