compressonator icon indicating copy to clipboard operation
compressonator copied to clipboard

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

Open expenses opened this issue 2 years ago • 3 comments

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

expenses avatar Dec 04 '23 02:12 expenses

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

denislevesqueAMD avatar Dec 13 '23 20:12 denislevesqueAMD

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.

expenses avatar Dec 14 '23 01:12 expenses

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

denislevesqueAMD avatar Dec 14 '23 15:12 denislevesqueAMD