From 4feff1578cbda33daaf5d21e6b3bfceef1356492 Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Tue, 7 Jul 2015 14:20:14 -0700 Subject: [PATCH] Use parallel compression for BC1-BC5 --- Texconv/texconv.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Texconv/texconv.cpp b/Texconv/texconv.cpp index 731bc01..d98501b 100644 --- a/Texconv/texconv.cpp +++ b/Texconv/texconv.cpp @@ -435,6 +435,9 @@ void PrintLogo() { wprintf( L"Microsoft (R) DirectX 11 Texture Converter (DirectXTex version)\n"); wprintf( L"Copyright (C) Microsoft Corp. All rights reserved.\n"); +#ifdef _DEBUG + wprintf( L"*** Debug build ***\n"); +#endif wprintf( L"\n"); } @@ -1649,7 +1652,7 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[]) DWORD cflags = dwCompress; #ifdef _OPENMP - if ( bc6hbc7 && !(dwOptions & (DWORD64(1) << OPT_FORCE_SINGLEPROC) ) ) + if ( !(dwOptions & (DWORD64(1) << OPT_FORCE_SINGLEPROC) ) ) { cflags |= TEX_COMPRESS_PARALLEL; }