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

Check command-buffer extension version for equality #2215

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

EwanC
Copy link
Contributor

@EwanC EwanC commented Jan 8, 2025

As described in Issue #2152 we currently check the provisional extension version supported by a vendor is the same or older than a test specified version. However, it was discussed in the WG that this should be a check for equality to avoid hitting issues when a implementation tests against an older version of the CTS using a lower extension version, with API breaking changes having occurred since.

The tests for the command-buffer family of extensions are the only provisional KHR tests using this versioning check, so this PR updates all those cases to equality.

As described in Issue KhronosGroup#2152
we currently check the provisional extension version supported by a vendor
is older than a test specified version. However, it was discussed in the
WG that this should be a check for equality to avoid hitting issues
when a implementation tests against an older version of the CTS with
API breaking changes.

The tests for the command-buffer family of extensions are the only
provisional KHR tests using this versioning check, so this PR updates all
those cases to equality.
Copy link
Contributor

@bashbaug bashbaug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LTGM.

At some point we might want to consider an alternative policy, such as failing the test if the reported version is older than the test version (but continuing to skip if the reported version is newer than the test version), but skipping is the safest thing to do initially.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants