Use parallel compression for BC1-BC5
This commit is contained in:
parent
8fa8f6e01f
commit
4feff1578c
@ -435,6 +435,9 @@ void PrintLogo()
|
|||||||
{
|
{
|
||||||
wprintf( L"Microsoft (R) DirectX 11 Texture Converter (DirectXTex version)\n");
|
wprintf( L"Microsoft (R) DirectX 11 Texture Converter (DirectXTex version)\n");
|
||||||
wprintf( L"Copyright (C) Microsoft Corp. All rights reserved.\n");
|
wprintf( L"Copyright (C) Microsoft Corp. All rights reserved.\n");
|
||||||
|
#ifdef _DEBUG
|
||||||
|
wprintf( L"*** Debug build ***\n");
|
||||||
|
#endif
|
||||||
wprintf( L"\n");
|
wprintf( L"\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1649,7 +1652,7 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[])
|
|||||||
|
|
||||||
DWORD cflags = dwCompress;
|
DWORD cflags = dwCompress;
|
||||||
#ifdef _OPENMP
|
#ifdef _OPENMP
|
||||||
if ( bc6hbc7 && !(dwOptions & (DWORD64(1) << OPT_FORCE_SINGLEPROC) ) )
|
if ( !(dwOptions & (DWORD64(1) << OPT_FORCE_SINGLEPROC) ) )
|
||||||
{
|
{
|
||||||
cflags |= TEX_COMPRESS_PARALLEL;
|
cflags |= TEX_COMPRESS_PARALLEL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user