GPUOpen-Tools / compressonator

Tool suite for Texture and 3D Model Compression, Optimization and Analysis using CPUs, GPUs and APUs
1.3k stars 196 forks source link

Crash during creating mip maps #202

Closed Andreyogld3d closed 1 year ago

Andreyogld3d commented 2 years ago

Hi ! I use last version of AMD Compressonator.

image During creation mim maps I have got crash.

image

image I have attached image

particle_smoke.dds.zip

ymmikhail commented 2 years ago

Thanks @Andreyogld3d, looking into it

Andreyogld3d commented 2 years ago

@ymmikhail , Hi Also Compressonator crashes during creating mip levels for DDS texture with format A1RGB5 vishka.zip

JakeSmarter commented 2 years ago

Depending on the texture compression algorithm you are encoding to your lowest mip level must not be smaller than the algorithm’s block size, often 4x4. However, the UI should account for that depending on the selected texture compression algorithm and make it impossible for the user to go below that defined threshold.

denislevesqueAMD commented 2 years ago

@Andreyogld3d These crashes will be fixed in the next release.

Andreyogld3d commented 1 year ago

Crash fixed, Thanks, Will be implemented reading and converting DDS textures A1R5G5B5 ? see https://github.com/GPUOpen-Tools/compressonator/files/8172975/vishka.zip