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

Fix loop bound #285

Closed meyraud705 closed 8 months ago

meyraud705 commented 8 months ago

Fix out of bound access of array g_TextureTypeDesc. Found with -fsanitize=undefined.

denislevesqueAMD commented 8 months ago

@meyraud705 Good catch.

@NPCompress This can be merged right away. This fix has already been made in the development branch, so this just adds it to the public repository.