GPUOpen-Tools / compressonator

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

Generate mipmaps on GPU for BC7 format fails to produce correct mipmaps #313

Open FilippoLeon opened 5 months ago

FilippoLeon commented 5 months ago

I am facing a problem generating a mipmap chain on the GPU for BC7 files.

I am using the following command to produce mipmaps for a BC7 texture:

compressonatorcli.exe test.tga test.DDS -fd BC7 -EncodeWith GPU -GenGPUMipMaps -NumThreads 1 -miplevels 16

This produces incorrect mipmaps.

This command works as intended:

compressonatorcli.exe test.tga test.DDS -fd BC7 -NumThreads 1 -miplevels 16

test.zip

(The same result is obtained with the embedded apis)

Am I doing something incorrectly or is the generation not supported?