Some DDS files have invalid mipcount values for the amount of data provided. While -permissive already handles cases where the mipcount value in the header is "too big" for the size of the texture, this new -ignoremips option allows files that are simply missing data by only reading the top-level mip.
Also added support to texdiag for -permissive and -ignoremips (it already supported -badtails).
Some DDS files have invalid mipcount values for the amount of data provided. While
-permissive
already handles cases where the mipcount value in the header is "too big" for the size of the texture, this new-ignoremips
option allows files that are simply missing data by only reading the top-level mip.Also added support to texdiag for
-permissive
and-ignoremips
(it already supported-badtails
).