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

Fix: Test PVRTC extension and always use power-of-two dimensions for PVRTC1 #451

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

Conversation

spnda
Copy link

@spnda spnda commented Mar 2, 2024

The CTS tests always use random image sizes for testing images, which was not valid for PVRTC1 textures. With 1.3.279 a VUID was added to require power-of-two dimensions for PVRTC1 textures, as discussed in KhronosGroup/Vulkan-Docs#1991.

Also, this fixes a bug introduced with 4c7e4e9, as it required the extension to be present for the PVRTC formats to be tested, but it was never added as a extension to be enabled, so PVRTC textures were never tested.

@CLAassistant
Copy link

CLAassistant commented Mar 2, 2024

CLA assistant check
All committers have signed the CLA.

@lordalcol
Copy link
Contributor

Thank you for your submission, we are reviewing it.

Copy link
Contributor

@lordalcol lordalcol left a comment

Choose a reason for hiding this comment

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

Can you fix the commit message.

@@ -264,7 +264,7 @@ DE_INLINE deUint32 deSmallestGreaterOrEquallPowerOfTwoU32 (deUint32 a)
}

/*--------------------------------------------------------------------*//*!
* \brief Roud a value up to a power-of-two.
* \brief Round a value up to a power-of-two.
Copy link
Contributor

Choose a reason for hiding this comment

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

thanks for fixing those

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.

3 participants