56 Commits

Author SHA1 Message Date
Chuck Walbourn
819c5b78f7
Workaround clang/LLVM bug with /fp:fast+SSE+float_control (#449) 2024-02-05 10:08:59 -08:00
Chuck Walbourn
dd6aef1505
Add bound on depth values to fix warnings in MinGW 13.2 (#434) 2024-01-06 17:40:03 -08:00
Chuck Walbourn
187f6d64a8
Code review to silence some portability warnings (#422) 2023-12-28 23:30:46 -08:00
Chuck Walbourn
a4df1415f8
Fixed /analyze warning (#327) 2023-03-10 15:19:49 -08:00
Chuck Walbourn
e4f5af944c
Fix build break for Debug on WSL (#299) 2022-12-27 12:03:08 -08:00
Chuck Walbourn
a189a1952a Code review feedback 2022-09-18 12:17:41 -07:00
Chuck Walbourn
b1001d15b3
.edtiorconfig driven reformat of source (#271) 2022-04-04 15:03:02 -07:00
Chuck Walbourn
f8b0a959b9 Code review feedback 2022-03-14 02:48:00 -07:00
Chuck Walbourn
5a1d284615 A few minor improvements when building with C++17 2022-03-13 15:13:45 -07:00
Chuck Walbourn
4482cb3e40 Fixed bug in CPU BC6H compressor if none of the pixel values fall into the SDR 0-1 range 2022-03-13 14:52:34 -07:00
Chuck Walbourn
174539feb3 Constify variables 2022-02-21 01:10:19 -08:00
Chuck Walbourn
20e246af2b Trimmed trailing whitespace 2021-12-07 13:42:36 -08:00
Chuck Walbourn
7df49719a1 Updated copyright banner 2021-02-26 22:59:42 -08:00
Chuck Walbourn
f764da5176 Replaced _countof / ARRAYSIZE with std::size 2021-01-02 12:44:35 -08:00
Chuck Walbourn
17aeb40917
Switched to using strongly typed flags (#179) 2020-06-01 00:42:02 -07:00
Chuck Walbourn
442b5b6de8 Cleaned up /analyze C++ Core Guideline warnings 2020-03-16 02:16:44 -07:00
Chuck Walbourn
316f65649b More noexcept annotation 2019-12-13 00:01:17 -08:00
Chuck Walbourn
138efff1b9 Fix some /analyze warnings 2019-10-24 16:55:13 -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
b1f6b50a99 More /analyze warning supression 2018-08-16 20:18:56 -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
3931c8866f BC7 CPU codec fix for 3subsets quality problem 2018-07-03 19:00:23 -07:00
Eric Lasota
3b13358138 Fix BC6H crash from improper bounds checking (#109) 2018-07-02 11:37:05 -07:00
Chuck Walbourn
0d94e9469b
Fix compiler errors (Clang 6) (#37) 2018-06-12 18:07:34 -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
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
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
3b05453e98 Fixed up comment header block 2018-02-23 22:24:46 -08:00
Chuck Walbourn
4f92d66111 Minor code review 2017-11-16 23:00:28 -08:00
Chuck Walbourn
31b6c9309c Minor code cleanup 2017-07-12 00:56:51 -07:00
Chuck Walbourn
8fcd276eba permissive- code cleanup 2017-01-10 14:51:52 -08:00
Chuck Walbourn
f45b7fb93b Code review feedback 2016-10-27 17:45:47 -07:00
Chuck Walbourn
d74689c111 Code refactor: move some bc.h content to bc6hbc7 2016-09-22 15:28:59 -07:00
Chuck Walbourn
1b27a1b819 BC7 compressor optimziation for only using mode 6 2016-09-20 16:40:49 -07:00
Chuck Walbourn
51bc3d5b16 General code cleanuP 2016-09-08 19:09:46 -07:00
Chuck Walbourn
4dd440e775 Normalize line endings 2016-08-22 11:26:36 -07:00
unknown
c12188a333 Minor code review fixes 2015-07-09 15:39:23 -07:00
Chuck Walbourn
429b3e7995 BC7 compressor optimization for skipping mode 0 & 2 by default 2015-04-22 13:31:37 -07:00
walbourn_cp
81a447f8b3 Minor code review feedback 2015-03-09 12:29:08 -07:00
walbourn_cp
c3ac93db96 Code Review feedback 2014-07-01 12:36:30 -07:00
walbourn_cp
76b79c42b5 DirectXTex: added alpha weight parameter for BC7 GPU compressor [breaking change]
- texconv has new '-aw' switch to take the parameter
2014-02-19 17:31:35 -08:00
walbourn_cp
f1ff6f10f2 DirectXTex: Dropped support for VS 2010 + legacy DirectX SDK without Windows 8.x SDK
- Removed DXGI_1_2_FORMATS and USE_XNAMATH control defines
- Deleted *Desktop_2010_SDK81.* project files, updated *Desktop_2010.* project files to use Windows 8.1 SDK
2014-01-15 13:14:48 -08:00
walbourn_cp
aef1bb0e8d DirectXTex: Minor BC6H / BC7 tweaks
- Minor DirectXMath optimization to error metric computation
- More code review change (Swap -> std::swap)
2013-07-18 23:12:49 -07:00
walbourn_cp
b610af415e DirectXTex: BC6H / BC 7 handling of invalid mode blocks updated to match the format specs 2013-07-10 10:49:59 -07:00
walbourn_cp
bd0b88aa8e DirectXTex: some more /analyze cleanup 2013-07-01 13:30:13 -07:00
walbourn_cp
e4e6c6c008 DirectXTex: Code review feedback
- /analyze work focused on VS 2012 with SAL2 rather than VS 2010
2013-04-10 11:22:22 -07:00