1
0
mirror of https://github.com/microsoft/DirectXTex synced 2024-12-29 12:41:07 +00:00

texconv: only emit non-pow2 warning if using -fl with a 9.x feature level

This commit is contained in:
Chuck Walbourn 2016-09-12 12:48:27 -07:00
parent 481fe3afe0
commit 4c5a4d3ee3

View File

@ -1995,8 +1995,11 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[])
}
}
if ( nonpow2warn )
if ( nonpow2warn && maxSize <= 4096 )
{
// Only emit this warning if ran with -fl set to a 9.x feature level
wprintf( L"\n WARNING: Not all feature levels support non-power-of-2 textures with mipmaps\n" );
}
if ( non4bc )
wprintf( L"\n WARNING: Direct3D requires BC image to be multiple of 4 in width & height\n" );