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 XML consistency checks including pNext 'optional' #1597

Merged
merged 4 commits into from
Aug 10, 2021
Merged

Conversation

oddhack
Copy link
Contributor

@oddhack oddhack commented Aug 4, 2021

Replaces #1592.

The xml_consistency.py script checks for a variety of problems in
vk.xml, but hasn't been run in CI until now. The MR also makes a few
tweaks to fix or ignore two unrelated issues found by the script.

Edit: Interestingly, there is at least one API where pNext is not optional: VkVideoEncodeInfoKHR::pNext says that "a codec-specific extension structure must: be chained". That is treated as an exception in the CI script and is not tagged 'optional="true"'.

Accompanies #1592.

The xml_consistency.py script checks for a variety of other problems in
vk.xml, but hasn't been run in CI until now. The MR also makes a few
tweaks to fix or ignore two unrelated issues found by the script.
@oddhack oddhack added the Feature Request Feature request (enhancement) label Aug 4, 2021
@oddhack oddhack self-assigned this Aug 4, 2021
The current version of the reuse tool complains about unused licenses
and this is causing the updated CI image to fail the 'reuse lint' check.
This is a replacement for #1592 since that appeared to have some git
artifacts resulting from a rebase that are breaking CI.
@oddhack oddhack added this to the Approved to Merge milestone Aug 9, 2021
@oddhack oddhack merged commit dc8df01 into main Aug 10, 2021
@oddhack oddhack deleted the pnext-check branch April 13, 2023 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Feature request (enhancement)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant