-
Notifications
You must be signed in to change notification settings - Fork 683
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 1251: Texture Compression BasisU: Missing device extension #1264
Fix 1251: Texture Compression BasisU: Missing device extension #1264
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No matter what, enabling the extension is correct.
But what makes me think about this sample at all: this extension is deprecated (https://registry.khronos.org/vulkan/specs/latest/man/html/VK_IMG_format_pvrtc.html#_deprecation_state)
My proposal would be to land this change, but don't land the updated images. |
Do you get validation messages for this. I'm not sure if you actually have to enable that extension, as it does not enable features per se. But seeing that the ext is deprecated, we may just remove PVRTC support completely. |
Yes I got a validation errors using Vulkan SDK 1.4.304.0
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then it does make sense to enable the extension :)
Description
Sample checks if device contains an extension, but never enabled them.
This PR marks the
VK_IMG_format_pvrct
extension optional.Fixes #1251
Note
Requires assets from KhronosGroup/Vulkan-Samples-Assets#27 for testing. The updated images will not be merged due to the deprecation of the extension. A new PR will be created to remove the texture format from the sample.
Note
Currently still under investigation if this works. On MacM2 (1.3.296.0 or 1.4.304.0) the decoding is incorrect See screenshot below, but no validation warnings. Other formats do give correct results.
Could also be related to the new assets. As it wasn't clear how there were originally created.
On Linux (Pro + Mesa AMD PRO W6800) this extension is not supported.
General Checklist:
Please ensure the following points are checked:
Note: The Samples CI runs a number of checks including:
If this PR contains framework changes:
batch
command line argument to make sure all samples still work properlySample Checklist
If your PR contains a new or modified sample, these further checks must be carried out in addition to the General Checklist: