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 more specific tests for decoding #4

Closed
ScanMountGoat opened this issue Sep 16, 2023 · 0 comments
Closed

Add more specific tests for decoding #4

ScanMountGoat opened this issue Sep 16, 2023 · 0 comments

Comments

@ScanMountGoat
Copy link
Owner

ScanMountGoat commented Sep 16, 2023

This can be done using encoded images either as DDS files or raw bytes and their corresponding decoded image. Images should test the min and max values for endpoints as well as values in between to test interpolation and rounding. Blocks and RGB channels within each block are decoded independently, so this limits the number of test blocks required. It may even be possible to "exhaustively" test the individual RGB channels for the smaller formats. The challenge will be finding a suitable reference decoder since only bc6 and bc7 are required to be bit accurate.
https://fgiesen.wordpress.com/2021/10/04/gpu-bcn-decoding/

@ScanMountGoat ScanMountGoat changed the title Add more specific tests for encoding and decoding Add more specific tests for decoding Jun 12, 2024
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

No branches or pull requests

1 participant