Commit Graph

408 Commits

Author SHA1 Message Date
Chuck Walbourn
31ae44771d Fix long-standing bug in BC4S / BC5S compression 2020-01-13 19:14:01 -08:00
Chuck Walbourn
a78a8125a4 Retire VS 2015 projects 2020-01-12 22:53:06 -08:00
Chuck Walbourn
9bdda73b92 Fixed Wswitch-enum in public header 2020-01-01 22:32:02 -08:00
Chuck Walbourn
5d5ebd7b7c Code review for OpenMP code path 2019-12-13 22:26:18 -08:00
Chuck Walbourn
579a98aa1e Added ARM64 arch to VS 2019 Desktop Win10 library 2019-12-13 00:12:10 -08:00
Chuck Walbourn
316f65649b More noexcept annotation 2019-12-13 00:01:17 -08:00
Chuck Walbourn
79020d0f1e Added noexcept to public functions 2019-12-11 19:52:48 -08:00
Chuck Walbourn
d284ff54b6 More Cmake code review 2019-12-11 16:29:15 -08:00
Chuck Walbourn
138efff1b9 Fix some /analyze warnings 2019-10-24 16:55:13 -07:00
Chuck Walbourn
47c4031975 Fixed -Wzero-as-null-pointer-constant warning 2019-10-17 12:14:39 -07:00
Chuck Walbourn
351ff17936
Update TGA codec for TGA 2.0 (#151) 2019-10-04 13:25:44 -07:00
Chuck Walbourn
002baf8072 Minor code review 2019-10-03 15:07:15 -07: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
cadc01f3af Updated D3DX12.H to latest version with a/analyze fix for VS 2019 2019-08-23 13:26:03 -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
14881d8097 Added command-line utilities to cmake project 2019-07-12 00:41:03 -07:00
Chuck Walbourn
fb59321127 Fixed -Wsign-conversion warning 2019-07-11 15:29:28 -07:00
Chuck Walbourn
7d95a9d89a Code review feedback 2019-07-08 11:57:07 -07:00
Chuck Walbourn
70d6a77e3c Fixed -Wextra-semi-stmt warning 2019-07-08 02:08:11 -07:00
Chuck Walbourn
3adb8d7ecb Fix -Wnonportable-include-path warnings 2019-07-05 16:47:00 -07:00
Chuck Walbourn
34dd61fc7e D3DX12.H updates with minor fixes 2019-07-04 23:26:40 -07:00
Chuck Walbourn
e163d3f982 Renamed DirectXTex_Windows10.vcxproj to _Windows10_2017.vcxproj, added VS 2019 UWP projects 2019-06-27 18:02:23 -07:00
Chuck Walbourn
50d68fc234 Fix case of filters.h header in vcxproj 2019-06-26 16:47:25 -07:00
Chuck Walbourn
d628e4427f Fixed -Wextra-semi-stmt warnings 2019-06-26 12:47:34 -07:00
Chuck Walbourn
f55158d557
Ex texture loaders updated with additional parameter validation (#142) 2019-06-18 16:56:52 -07:00
Chuck Walbourn
a161b96dec Fixed -Wzero-as-null-pointer-constant 2019-06-12 18:31:55 -07:00
Chuck Walbourn
c0cb83f943 Fixed -Wmacro-redefined warning 2019-06-12 17:36:18 -07:00
Chuck Walbourn
b99a719fd6 May 30, 2019 2019-05-29 18:25:40 -07:00
Chuck Walbourn
d58ad54171 Regenerate shaders with Windows 10 April 2019 update (18362) 2019-05-29 18:02:28 -07:00
Chuck Walbourn
5efd9bde8b Fixed -Wmissing-prototypes 2019-05-29 15:52:15 -07:00
Chuck Walbourn
5f125c6b8d
Add CMake project and fix clang warnings (#139) 2019-05-25 16:00:32 -07:00
Chuck Walbourn
45ea8ffc10 VS 2019 project set to use 'latest available SDK' 2019-04-25 23:27:09 -07:00
Chuck Walbourn
a983dcecd0 Officially dropped Windows Vista support 2019-04-25 12:30:59 -07:00
Chuck Walbourn
5e44eba40d Minor code review 2019-04-22 15:58:26 -07:00
Chuck Walbourn
86b2bb5194 Enable compilation with clang-cl (LLVM on Windows) (#135) 2019-04-16 17:38:37 -07:00
Triang3l
c7261a0951 Prevent shift overflow in FloatTo7e3/FloatTo6e4 (#129) 2019-04-16 16:17:56 -07:00
Chuck Walbourn
1a249f8388
VS 2019 projects (#133) 2019-04-02 12:59:40 -07:00
Chuck Walbourn
1e812a18ae d3dx12.h fix for render pass depth/stencil comparision operator 2019-04-01 10:32:47 -07:00
Chuck Walbourn
a35fb23349 Guard for divide by zero 2019-01-28 23:11:35 -08:00
Chuck Walbourn
cded42acfc Code review feedback 2019-01-28 15:58:59 -08:00
Julian McKinlay
f2c4d94a35 [texconv] Implemented alpha coverage preservation option (#82) 2019-01-28 11:57:19 -08:00
Chuck Walbourn
cd8a682ca2
Added WIC_FLAGS_FORCE_SRGB / LINEAR flags for WIC writer (#127) 2018-12-07 15:44:31 -08:00
Chuck Walbourn
18c93ab11b Minor comment fix 2018-11-27 10:55:42 -08:00
Chuck Walbourn
7c993b4cc3
ARM64 configurations added to VS 2017 UWP project (#123) 2018-11-15 14:44:59 -08:00
Chuck Walbourn
ff034d7283 Windows 10 October 2018 Update SDK (17763) 2018-11-15 14:42:10 -08:00
Chuck Walbourn
45ebdc46c5 A few SDL fixes for memcpy_s usage 2018-10-16 14:10:34 -07:00
Chuck Walbourn
b207e278e7 Minor code review 2018-10-10 15:31:00 -07:00
Chuck Walbourn
2f731dbb0b vcxproj fix for ARM 2018-10-08 22:45:35 -07:00
Chuck Walbourn
7d18008c2d Updated for latest d3dx12.h (10.0.17763) 2018-10-03 15:46:26 -07:00
Chuck Walbourn
b1b5363d8a Minor fix for CompileShaders script 2018-09-10 17:24:51 -07:00
Chuck Walbourn
f5a0aed7a9 Disable JMC for static libraries 2018-08-17 19:19:26 -07:00
Chuck Walbourn
df4f58bb71 August 17, 2018 2018-08-17 17:40:10 -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
908869c96e Fixed FlipRotate bug with 180 degree rotation 2018-08-17 16:58:12 -07:00
Chuck Walbourn
b1f6b50a99 More /analyze warning supression 2018-08-16 20:18:56 -07:00
Chuck Walbourn
e44a11c911 Minor code review 2018-08-07 16:58:25 -07:00
Chuck Walbourn
9b0baeb880 August 5, 2018 2018-08-05 09:28:54 -07:00
Chuck Walbourn
114a0acf6b
ComputePitch now returns an HRESULT (#113) 2018-08-03 16:49:30 -07:00
Chuck Walbourn
ba0280c500
Workaround when using WIC for F32 images that exceed 32-bits (#112) 2018-08-02 12:31:20 -07:00
Chuck Walbourn
9b61fa93bd Minor code review 2018-07-31 12:24:34 -07:00
Chuck Walbourn
2c82697c1b Improved validation where WIC requires a cast to UINT for pitch/imageSize 2018-07-27 01:02:56 -07:00
Chuck Walbourn
9ff3835f20 Update for 15.8 preview 2018-07-18 16:37:08 -07:00
Chuck Walbourn
6828e6387f Minor code review 2018-07-06 11:57:14 -07:00
Chuck Walbourn
fcc5b33bf3 Fix BC7 GPU shaders on WARP device 2018-07-05 15:52:46 -07:00
Chuck Walbourn
ba30da0945 BC7 CPU codec optimization to skip mode 7 for opaque blocks 2018-07-03 19:33:07 -07:00
Chuck Walbourn
a884753044 Merge branch 'master' of https://github.com/Microsoft/DirectXTex 2018-07-03 19:00:32 -07:00
Chuck Walbourn
3931c8866f BC7 CPU codec fix for 3subsets quality problem 2018-07-03 19:00:23 -07:00
Chuck Walbourn
34c6849d74 BC7 GPU codec optimization of parity bit calculation 2018-07-03 18:32:23 -07:00
Chuck Walbourn
707d9acc49 BC7 GPU codec fix for quantize drifting 2018-07-03 18:20:41 -07:00
Chuck Walbourn
296120a763 Fix /analyze warning 2018-07-02 16:46:28 -07:00
Eric Lasota
3b13358138 Fix BC6H crash from improper bounds checking (#109) 2018-07-02 11:37:05 -07:00
Chuck Walbourn
5004dd770c Fixed more uninit issues with HDRColorA 2018-06-29 10:26:57 -07:00
Chuck Walbourn
5e675e01a2 Fixed uninit variable issues with HDRColorA 2018-06-28 14:23:09 -07:00
Chuck Walbourn
adbeb05459 Fix warnings with 15.8 preview 2018-06-27 13:10:19 -07:00
Chuck Walbourn
7d838aa46a Cleaned up d3dx12 2018-06-22 16:55:00 -07:00
Chuck Walbourn
0d94e9469b
Fix compiler errors (Clang 6) (#37) 2018-06-12 18:07:34 -07:00
Chuck Walbourn
094988727e Minor code review feedback 2018-06-11 12:22:52 -07:00
Chuck Walbourn
94c68685a2 Minor code review feedback 2018-06-07 18:25:52 -07:00
Chuck Walbourn
72e9775e68 Updated release notes 2018-06-06 15:00:42 -07:00
Chuck Walbourn
f6506c1216 Silenced some warnings when using Intel C++ compiler 2018-06-05 14:34:26 -07:00
Chuck Walbourn
62ff7da94b Minor code review feedback 2018-06-05 12:41:17 -07:00
Chuck Walbourn
cfa63a8352
Windows 10 April 2018 Update SDK (17134) (#102) 2018-05-31 13:27:33 -07:00
Chuck Walbourn
11561a2807 Fix threshold for IsAlphaAllOpaque(#103) 2018-05-31 12:55:26 -07:00
Chuck Walbourn
e0457acb23
Force non-WIC paths for FP32->FP16 conversions (#99) 2018-05-11 18:56:05 -07:00
Chuck Walbourn
9b2c9437d5 More VS project cleanup 2018-05-09 11:27:39 -07:00
Chuck Walbourn
d4e587dc5d VS project cleanup 2018-05-09 11:20:17 -07:00
Chuck Walbourn
8a2847dc4e Removed out of range characters from comments 2018-05-05 09:15:26 -07:00
Chuck Walbourn
6f84c81975 VS 2017 (15.7) /analyze fixes 2018-05-02 00:30:19 -07:00
Chuck Walbourn
e62bbb24f8
Retire Windows 8.1 Store, Windows phone 8.1. and VS 2013 projects (#96)
* Retire VS 2013 projects
* Cleaned up warning suppression
* Use ``noexcept`` instead of ``throw()``
* Can use ``%zu`` instead of ``%Iu``
* More uniform initialization
2018-05-01 17:34:54 -07:00
Chuck Walbourn
41341ae1a0 Code review feedback 2018-04-27 13:26:42 -07:00
Chuck Walbourn
da82377256 Turned off more VS 2017 15.7 warnings 2018-04-24 00:30:12 -07:00
Chuck Walbourn
9cde0a9ffa Minor project cleanup 2018-04-17 18:27:05 -07:00
Chuck Walbourn
32619fb627 Don't need to use DIRECTX_NOEXCEPT macro 2018-04-17 10:49:53 -07:00
Chuck Walbourn
cdeb3fe508 Minor code review feedback 2018-04-12 10:34:52 -07:00
Chuck Walbourn
79799e4f60 D3DX12 updates including VS 2017 (15.7 Preview) /analyze fixes 2018-04-11 19:27:18 -07:00
Chuck Walbourn
8480f4fe5a Additional C++ Core Checker cleanup 2018-03-29 12:00:16 -07:00
Chuck Walbourn
4724707546 VS 2017 (15.7 preview) /analyze cleanup 2018-03-29 10:17:31 -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
dc45c1d964 Fix minor namespace syntax issue 2018-02-23 22:42:26 -08:00