78 Commits

Author SHA1 Message Date
Chuck Walbourn
8193c66888
Update CMake to specify FXC.EXE to use (#502)
Some checks are pending
MSBuild / build (Release, ARM64, 2019) (push) Waiting to run
MSBuild / build (Release, ARM64, 2022) (push) Waiting to run
MSBuild / build (Release, x64, 2019) (push) Waiting to run
MSBuild / build (Release, x64, 2022) (push) Waiting to run
MSBuild / build (Release, x86, 2019) (push) Waiting to run
MSBuild / build (Release, x86, 2022) (push) Waiting to run
Microsoft C++ Code Analysis / Analyze (push) Waiting to run
CTest (Windows) / build (amd64, x64-Debug, windows-2019) (push) Waiting to run
CTest (Windows) / build (amd64, x64-Debug, windows-2022) (push) Waiting to run
CTest (Windows) / build (amd64, x64-Debug-Clang, windows-2022) (push) Waiting to run
CTest (Windows) / build (amd64, x64-Release, windows-2019) (push) Waiting to run
CTest (Windows) / build (amd64, x64-Release, windows-2022) (push) Waiting to run
CTest (Windows) / build (amd64, x64-Release-Clang, windows-2022) (push) Waiting to run
CTest (Windows) / build (amd64_arm64, arm64-Debug, windows-2022) (push) Waiting to run
CTest (Windows) / build (amd64_arm64, arm64-Release, windows-2022) (push) Waiting to run
CTest (Windows) / build (amd64_arm64, arm64ec-Debug, windows-2022) (push) Waiting to run
CTest (Windows) / build (amd64_arm64, arm64ec-Release, windows-2022) (push) Waiting to run
CTest (Windows) / build (amd64_x86, x86-Debug, windows-2019) (push) Waiting to run
CTest (Windows) / build (amd64_x86, x86-Debug, windows-2022) (push) Waiting to run
CTest (Windows) / build (amd64_x86, x86-Debug-Clang, windows-2022) (push) Waiting to run
CTest (Windows) / build (amd64_x86, x86-Release, windows-2019) (push) Waiting to run
CTest (Windows) / build (amd64_x86, x86-Release, windows-2022) (push) Waiting to run
CTest (Windows) / build (amd64_x86, x86-Release-Clang, windows-2022) (push) Waiting to run
CMake (Windows using VCPKG) / build (amd64, x64-Debug-Clang-VCPKG, windows-2022) (push) Waiting to run
CMake (Windows using VCPKG) / build (amd64, x64-Debug-VCPKG, windows-2019) (push) Waiting to run
CMake (Windows using VCPKG) / build (amd64, x64-Debug-VCPKG, windows-2022) (push) Waiting to run
CMake (Windows using VCPKG) / build (amd64_arm64, arm64-Debug-VCPKG, windows-2022) (push) Waiting to run
CMake (Windows using VCPKG) / build (amd64_x86, x86-Debug-VCPKG, windows-2022) (push) Waiting to run
CMake (WSL) / build (x64-Debug-Linux) (push) Waiting to run
CMake (WSL) / build (x64-Release-Linux) (push) Waiting to run
2024-09-03 23:09:35 -07:00
Chuck Walbourn
327c200991
Support loading legacy DDS files using mixed channel formats (#501)
Some checks failed
MSBuild / build (Debug, x86, 2019) (push) Has been cancelled
MSBuild / build (Debug, x86, 2022) (push) Has been cancelled
MSBuild / build (Release, ARM64, 2019) (push) Has been cancelled
MSBuild / build (Release, ARM64, 2022) (push) Has been cancelled
MSBuild / build (Release, x64, 2019) (push) Has been cancelled
MSBuild / build (Release, x64, 2022) (push) Has been cancelled
MSBuild / build (Release, x86, 2019) (push) Has been cancelled
MSBuild / build (Release, x86, 2022) (push) Has been cancelled
Microsoft C++ Code Analysis / Analyze (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Debug, windows-2019) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Debug, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Debug-Clang, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Release, windows-2019) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Release, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Release-Clang, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_arm64, arm64-Debug, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_arm64, arm64-Release, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_arm64, arm64ec-Debug, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_arm64, arm64ec-Release, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Debug, windows-2019) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Debug, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Debug-Clang, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Release, windows-2019) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Release, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Release-Clang, windows-2022) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Debug-Clang-VCPKG, windows-2022) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Debug-VCPKG, windows-2019) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Debug-VCPKG, windows-2022) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64_arm64, arm64-Debug-VCPKG, windows-2022) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64_x86, x86-Debug-VCPKG, windows-2022) (push) Has been cancelled
2024-08-29 14:13:48 -07:00
Chuck Walbourn
1c47191318
Xbox auxiliary EncodeDDSHeader helper exposed as public function (#497)
Some checks failed
MSBuild / build (Debug, x64, 2022) (push) Has been cancelled
MSBuild / build (Debug, x86, 2019) (push) Has been cancelled
MSBuild / build (Debug, x86, 2022) (push) Has been cancelled
MSBuild / build (Release, ARM64, 2019) (push) Has been cancelled
MSBuild / build (Release, ARM64, 2022) (push) Has been cancelled
MSBuild / build (Release, x64, 2019) (push) Has been cancelled
MSBuild / build (Release, x64, 2022) (push) Has been cancelled
MSBuild / build (Release, x86, 2019) (push) Has been cancelled
MSBuild / build (Release, x86, 2022) (push) Has been cancelled
Microsoft C++ Code Analysis / Analyze (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Debug, windows-2019) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Debug, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Debug-Clang, windows-2019) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Debug-Clang, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Release, windows-2019) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Release, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Release-Clang, windows-2019) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Release-Clang, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_arm64, arm64-Debug, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_arm64, arm64-Release, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_arm64, arm64ec-Debug, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_arm64, arm64ec-Release, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Debug, windows-2019) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Debug, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Debug-Clang, windows-2019) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Debug-Clang, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Release, windows-2019) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Release, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Release-Clang, windows-2019) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Release-Clang, windows-2022) (push) Has been cancelled
2024-08-19 16:27:36 -07:00
Chuck Walbourn
87ec5d5610
Some DDS DX10 writers set arryaSize to 0 instead of 1 (#490) 2024-07-19 16:37:04 -07:00
Chuck Walbourn
e102d0bd3e
texconv: -ignoremips options for reading some invalid DDS files (#484) 2024-07-01 18:47:31 -07:00
Nicholas Hayes
cb5279f10e
Read legacy files with a DDS_HEADER size of 24 (#400) 2023-10-04 10:17:15 -07:00
Chuck Walbourn
3754a77d87
DDS_FLAGS_PERMISSIVE flag to allow some file variants with header bugs (#394) 2023-09-11 23:13:35 -07:00
Nicholas Hayes
41eb26fb0c
Support reading files with a DDS_PIXELFORMAT size of 24 (#393) 2023-09-11 10:10:16 -07:00
Chuck Walbourn
0abc33330b
Add NO_WCHAR_T build option to CMake (#384) 2023-08-20 11:01:09 -07:00
Chuck Walbourn
4d9d7a8ceb
Ex versions of DDS load function to return original DDPIXELFORMAT metadata (#373) 2023-07-10 13:23:13 -07:00
Nicholas Hayes
83ea5ee1bc
Add support for reading Unreal Tournament 2004 DDS files (#371) 2023-07-06 13:52:02 -07:00
Chuck Walbourn
a2a4ffd33c
texconv: Added support for DXT5nm and RXGB DXT5 format variants (#362) 2023-06-12 14:34:32 -07:00
Chuck Walbourn
e0a7be5a4b
Add support for new DXGI 16bpp format (#348) 2023-05-11 09:58:28 -07:00
Chuck Walbourn
278e708f25
ConvertToSinglePlane memory overrwrite bug fix (#307) 2023-01-25 23:25:26 -08:00
Chuck Walbourn
3eed3ae913 A few more uses of const 2022-05-12 12:24:53 -07:00
Chuck Walbourn
9c72f2c6cd
CMake support added for building with MinGW (#275) 2022-05-05 14:50:13 -07:00
Chuck Walbourn
b736e9edc3 Add check for unexpected EOF to LoadDDSTextureFromFile 2022-04-06 00:40:10 -07:00
Chuck Walbourn
b1001d15b3
.edtiorconfig driven reformat of source (#271) 2022-04-04 15:03:02 -07:00
Chuck Walbourn
174539feb3 Constify variables 2022-02-21 01:10:19 -08:00
Chuck Walbourn
469c65406a
Convert internal functions to use Internal namespace instead of leading underscore (#266)
Fixes clang v13 -Wreserved-identifier warning
2022-02-20 14:47:07 -08:00
Chuck Walbourn
6349ef3400 Minor SAL annotation simplification 2022-01-06 16:45:01 -08:00
Maks Naumov
ac071b3425
Fix CONV_FLAGS_NOALPHA flag for 16bpp format (#238) 2021-06-06 20:58:32 -07:00
Chuck Walbourn
5f22c7cc39 NVTT 1.x wrote L8/L16 as RGB instead of LUMINANCE 2021-04-02 17:08:56 -07:00
Chuck Walbourn
7b4b9b18f7
NVTT 1.x wrote A8L8 as RGB instead of LUMINANCE (#229) 2021-03-30 15:16:12 -07:00
Chuck Walbourn
7df49719a1 Updated copyright banner 2021-02-26 22:59:42 -08:00
Chuck Walbourn
fa75757c5f Minor code cleanup 2021-01-18 14:21:16 -08:00
Chuck Walbourn
234eee8a01
Support for Windows Subsystem for Linux (#208) 2021-01-08 02:20:55 -08:00
Chuck Walbourn
d980fb6576
DirectXTex updated with DDS_FLAGS_ALLOW_LARGE_FILES (#188) 2020-07-09 14:13:38 -07:00
Chuck Walbourn
17aeb40917
Switched to using strongly typed flags (#179) 2020-06-01 00:42:02 -07:00
Chuck Walbourn
5e8ccbf76e texconv: updated with -dx9 switch; converted -bcuniform, -bcdither, -bcmax, -bcquick to -bc ?? 2020-05-10 01:26:32 -07:00
Chuck Walbourn
fdd7a70c44 Updated DDS.H header 2020-05-09 13:18:25 -07:00
Nicholas Hayes
d0f1cf0728
Support reading files that use a 'BC7\0' FourCC (#165) 2020-02-23 20:54:41 -08:00
Chuck Walbourn
316f65649b More noexcept annotation 2019-12-13 00:01:17 -08:00
Chuck Walbourn
7bda0c3a57
Return TEX_ALPHA_MODE_OPAQUE metadata if the reader knows it returned opaque alpha (#150) 2019-10-03 14:58:14 -07:00
Chuck Walbourn
49537314c5 Updated for legacy FourCC codes used by NVIDIA texture tools 2019-08-22 17:31:43 -07:00
Chuck Walbourn
5f125c6b8d
Add CMake project and fix clang warnings (#139) 2019-05-25 16:00:32 -07:00
Chuck Walbourn
86b2bb5194 Enable compilation with clang-cl (LLVM on Windows) (#135) 2019-04-16 17:38:37 -07:00
Chuck Walbourn
43969ca15f Fixed problem loading DDS files that use FOURCC but have extra irrelevant bits set 2018-08-17 17:31:23 -07:00
Chuck Walbourn
114a0acf6b
ComputePitch now returns an HRESULT (#113) 2018-08-03 16:49:30 -07:00
Chuck Walbourn
0d94e9469b
Fix compiler errors (Clang 6) (#37) 2018-06-12 18:07:34 -07:00
Chuck Walbourn
8480f4fe5a Additional C++ Core Checker cleanup 2018-03-29 12:00:16 -07:00
Chuck Walbourn
327586970d Reformat code 2018-03-16 12:52:21 -07:00
Chuck Walbourn
56956f817a Sync DDS header 2018-02-23 23:46:30 -08:00
Chuck Walbourn
3b05453e98 Fixed up comment header block 2018-02-23 22:24:46 -08:00
Chuck Walbourn
46e7ad7020 Minor code review 2018-01-18 15:02:05 -08:00
Chuck Walbourn
6fcd00fdbd Support DDS files with non-standard nVidia Texture Tools flags 2017-07-14 00:44:00 -07:00
Chuck Walbourn
31b6c9309c Minor code cleanup 2017-07-12 00:56:51 -07:00
Chuck Walbourn
b47a7d13d9 Code review feedback 2017-01-06 17:16:43 -08:00
Chuck Walbourn
63b7a7cd43 DDS support for L8A8 with bitcount 8 instead of 16 2016-12-08 11:05:31 -08:00
Chuck Walbourn
98343c572f Fix for DDS header over-validation 2016-11-28 18:09:22 -08:00