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

Black pixels along right edge when BC7 compressing mips with a non-divisible-by-4 width #284

Open
expenses opened this issue Dec 4, 2023 · 3 comments

Comments

@expenses
Copy link

expenses commented Dec 4, 2023

Version: compressonatorcli V4.4.19 Copyright AMD 2023

Compressing the following image with compressonatorcli -miplevels 20 -fd BC7 arco_frente.png arco_frente_comp2.dds results in a black pixels appearing along the right edge from the 3rd mip onwards. This is presumably caused by widths that aren't divisible by 4 (e.g. 27). Happens on both CPU and HPC.

arco_frente

20231204_15h41m24s_grim

@denislevesqueAMD
Copy link
Contributor

@expenses Thanks for the detailed report! We will be investigating this issue in the near future.

@expenses
Copy link
Author

Thought I'd follow up with a little more info: the image arco_frente.png is from the 'San Miguel 2.0' model on https://casual-effects.com/data/. Lot's of images used in that model have similar issues.

@denislevesqueAMD
Copy link
Contributor

@expenses Thanks for the extra info, that link will be very useful for testing.

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

2 participants