From edee596475fdbec95c9d0f194036d6f190a83ba1 Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Tue, 6 Apr 2021 18:09:27 -0700 Subject: [PATCH] April 6, 2021 --- .nuget/directxtex_desktop_2017.nuspec | 2 +- .nuget/directxtex_desktop_win10.nuspec | 2 +- .nuget/directxtex_uwp.nuspec | 2 +- DirectXTex/DirectXTex.h | 2 +- HISTORY.md | 12 ++++++++++++ README.md | 2 +- 6 files changed, 17 insertions(+), 5 deletions(-) diff --git a/.nuget/directxtex_desktop_2017.nuspec b/.nuget/directxtex_desktop_2017.nuspec index 3641206..693f335 100644 --- a/.nuget/directxtex_desktop_2017.nuspec +++ b/.nuget/directxtex_desktop_2017.nuspec @@ -10,7 +10,7 @@ This version is for Windows desktop applications using Visual Studio 2017 or Visual Studio 2019 and supports Windows 7 / DirectX 11. DirectXTex, a shared source library for reading and writing .DDS files, and performing various texture content processing operations including resizing, format conversion, mip-map generation, block compression for Direct3D runtime texture resources, and height-map to normal-map conversion. This library makes use of the Windows Image Component (WIC) APIs. It also includes simple .TGA and .HDR readers and writers since these image file format are commonly used for texture content processing pipelines, but are not currently supported by a built-in WIC codec. - Matches the January 9, 2021 release on GitHub. + Matches the April 6, 2021 release on GitHub. http://go.microsoft.com/fwlink/?LinkId=248926 images\icon.jpg MIT diff --git a/.nuget/directxtex_desktop_win10.nuspec b/.nuget/directxtex_desktop_win10.nuspec index cc745e5..37afc89 100644 --- a/.nuget/directxtex_desktop_win10.nuspec +++ b/.nuget/directxtex_desktop_win10.nuspec @@ -10,7 +10,7 @@ This version is for Windows desktop applications using Visual Studio 2017 or Visual Studio 2019 and supports Windows 10 including both DirectX 11 and DirectX 12. DirectXTex, a shared source library for reading and writing .DDS files, and performing various texture content processing operations including resizing, format conversion, mip-map generation, block compression for Direct3D runtime texture resources, and height-map to normal-map conversion. This library makes use of the Windows Image Component (WIC) APIs. It also includes simple .TGA and .HDR readers and writers since these image file format are commonly used for texture content processing pipelines, but are not currently supported by a built-in WIC codec. - Matches the January 9, 2021 release on GitHub. + Matches the April 6, 2021 release on GitHub. http://go.microsoft.com/fwlink/?LinkId=248926 images\icon.jpg MIT diff --git a/.nuget/directxtex_uwp.nuspec b/.nuget/directxtex_uwp.nuspec index 1b57888..0346558 100644 --- a/.nuget/directxtex_uwp.nuspec +++ b/.nuget/directxtex_uwp.nuspec @@ -10,7 +10,7 @@ This version is for Universal Windows Platform apps on Windows 10 using Visual Studio 2017 or Visual Studio 2019. DirectXTex, a shared source library for reading and writing .DDS files, and performing various texture content processing operations including resizing, format conversion, mip-map generation, block compression for Direct3D runtime texture resources, and height-map to normal-map conversion. This library makes use of the Windows Image Component (WIC) APIs. It also includes simple .TGA and .HDR readers and writers since these image file format are commonly used for texture content processing pipelines, but are not currently supported by a built-in WIC codec. - Matches the January 9, 2021 release on GitHub. + Matches the April 6, 2021 release on GitHub. http://go.microsoft.com/fwlink/?LinkId=248926 images\icon.jpg MIT diff --git a/DirectXTex/DirectXTex.h b/DirectXTex/DirectXTex.h index 64078d3..597967f 100644 --- a/DirectXTex/DirectXTex.h +++ b/DirectXTex/DirectXTex.h @@ -43,7 +43,7 @@ struct IWICImagingFactory; struct IWICMetadataQueryReader; #endif -#define DIRECTX_TEX_VERSION 191 +#define DIRECTX_TEX_VERSION 192 namespace DirectX diff --git a/HISTORY.md b/HISTORY.md index 0fcabbd..f1d65ce 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -6,6 +6,18 @@ Release available for download on [GitHub](https://github.com/microsoft/DirectXT ## Release History +### April 6, 2021 +* DDS reader updated to accept nVidia Texture Tool v1 single-channel and dual-channel files marked as RGB instead of LUMINANCE +* Fixed TGA reader regression with files smaller than 26 bytes total +* Removed use of ``CreateStreamOnHGlobal``, ``CreateStreamOverRandomAccessStream``, and ``SHCreateMemStream`` for WICToMemory functions +* Fix for the DirectX 12 ``CaptureTexture`` for reserved and MSAA resources +* Minor code and project cleanup +* texassemble: added ``-stripmips`` switch +* texassemble, texconv: the ``swizzle`` switch now accepts ``0`` and ``1`` values in swizzle masks +* texconv: added "709toDisplayP3" and "DisplayP3to709" to ``-rotatecolor`` switch +* texconv: Fixed ``-reconstructz`` for UNORM formats +* texassemble, texconv, texdiag: Updated with descriptions for HRESULT failure codes, and always uses exit code 1 on failure + ### January 9, 2021 * Windows Subsystem for Linux support * Code review for improved conformance diff --git a/README.md b/README.md index eb25dfb..5109b5b 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ http://go.microsoft.com/fwlink/?LinkId=248926 Copyright (c) Microsoft Corporation. -**January 9, 2021** +**April 6, 2021** This package contains DirectXTex, a shared source library for reading and writing ``.DDS`` files, and performing various texture content processing operations including resizing, format conversion, mip-map generation, block compression for Direct3D runtime texture resources, and height-map to normal-map conversion. This library makes use of the Windows Image Component (WIC) APIs. It also includes ``.TGA`` and ``.HDR`` readers and writers since these image file formats are commonly used for texture content processing pipelines, but are not currently supported by a built-in WIC codec.