Commit Graph

34 Commits

Author SHA1 Message Date
Christophe
9e72e5ae67 Fix and ignore warnings 2024-02-08 20:35:21 +01:00
Laurent Caumont
7f2a5b89b3 Simd improvement
- Add simd aligned_vec3 (and sse aligned_dvec3 - 2 x xmm)
- Fast packed_vec3 <=> aligned_vec3 and packed_vec4 <=> aligned_vec4 conversion
- Fast aligned_vec3 <=> aligned_vec4 conversion
- Optimized aligned_mat x aligned_mat and aligned_mat x aligned_vec
- Inverse aligned_mat3 simd version (actually slower than ssid on my computer even it has 30% less instruction ?)
2024-02-08 20:35:21 +01:00
Christophe
88a6ed6ee1 Visual C++: Enables /Wall 2024-02-08 15:15:31 +01:00
Christophe
7b53739128 Only enable compiler warnings and warnings as error on unit tests 2024-02-06 20:37:11 +01:00
Christophe
f86092a658
Remove disabled warnings (#1213)
* Remove disabled warnings
2024-01-20 10:11:13 +01:00
Christophe
a40974fb86
Test multiple platforms to test multiple compiler versions (#1199) 2023-12-28 16:50:25 +01:00
christophe
4681c5b347 Fix lib build dependent of test build 2023-12-21 15:20:01 +01:00
Christophe
5ae05c9296 Fix GLM_DISABLE_AUTO_DETECTION error with Werror on Windows 2023-12-21 13:25:48 +01:00
Christophe
971f22222e C.I. Fix timeout 2023-12-21 13:25:48 +01:00
Christophe
2d38c41161 Fixes for tests build 2023-12-20 22:33:20 +01:00
Mark Sheppard
3cb568cd37 Fix Clang 15 test build errors
Fixes for compiler errors when building the tests using Clang 15,
including:

    * Use explicit cast to silence Wimplicit-int-float-conversion
      warning for conversion of spin count in implementation of
      glm::slerp.
    * Use GLM_FORCE_MESSAGES instead of removed GLM_MESSAGES for
      messages in glm/gtx/hash.hpp, avoiding Wundef warning.
    * Encode en dash in URL for Gram-Schmit Process wikipedia page and
      replace similar en dashes in comments with regular dashes, to
      avoid Winvalid-utf8 warnings in glm/gtx/matrix_factorisation.inl.
    * Replace degree sign symbol with text "degrees" to avoid
      Winvalid-utf8 warnings in test/gtc/gtc_quaternion.cpp.
    * When using Clang, build tests with -Wno-float-equal to silence
      Wfloat-equal warning in implementation of glm::vec<L,T,Q>::equal.
    * For performance tests in test/gtx/gtx_fast_trigonometry.cpp, add
      statement explicitly casting result to void, to silence
      Wunused-but-set-variable warnings.
    * Add newline at end of test/gtx/gtx_hash.cpp to silence
      Wnewline-eof warning.
    * Rename namespace _1aga to agarose in test/gtx/gtx_pca.cpp to
      avoid Wreserved-identifier warning.
2023-03-31 17:39:53 +01:00
christophe-lunarg
bec41ffe51 Fix AVX2 detection 2020-12-09 21:43:38 +01:00
Christophe Riccio
a4b4db24bd Fixed test target 2019-11-02 16:34:18 +01:00
Christophe Riccio
11089f6d7e Move CMake tests configuration in the test directory CMakeLists.txt 2019-11-02 11:57:42 +01:00
Krzysztof Kurek
11b88192e8
Actually fix the tests 2019-10-17 16:41:13 +02:00
Christophe Riccio
133b1f9223 Added SIMD tests 2018-08-19 11:24:56 +02:00
Groove
d307d39019 GLM_TEST_ENABLE Option enabled by default to build GLM unit tests. Disable this option to disable testing #788 2018-07-29 18:20:43 +02:00
Christophe Riccio
a23dd2f800 Clean up CMake project, added arithmetic operators to swizzle operators types 2018-07-14 19:14:08 +02:00
Christophe Riccio
2240849164 Improve API documentation 2017-08-17 17:36:40 +02:00
Christophe Riccio
7eb0adb7a5 Clean up 2016-07-16 23:41:50 +02:00
Roger Leigh
34bd28e8c6 cmake: Don't build tests when not testing 2014-04-15 10:46:45 +01:00
Christophe Riccio
464ff7420c Clean up test files 2011-05-11 11:16:02 +01:00
Christophe Riccio
bea54a5cff Added CMake test infrastructure 2011-02-21 13:25:13 +00:00
Christophe Riccio
680485f8f7 Removed CMake test from GLM 0.9.1 branch 2011-02-21 13:23:04 +00:00
Bob Kuehne
cc485cb4c1 added proper cmake test infrastructure 2011-02-15 12:25:21 -05:00
Christophe Riccio
137c5661b9 Added empty tests files 2011-01-19 16:14:23 +00:00
Christophe Riccio
b77d66317e Updated swizzle impl and tests 2011-01-15 02:37:34 +00:00
Christophe Riccio
d7f768718c Added tests to main repository 2010-12-17 01:33:17 +00:00
Christophe Riccio
54ac58f910 Removed unfortunate Git mistake ... 2010-04-29 17:35:50 +01:00
Christophe Riccio
3cb1965573 Added test files 2010-04-29 16:54:07 +01:00
Christophe Riccio
7c5b8a3464 Clean master 2010-04-29 15:45:55 +01:00
Christophe Riccio
8316b4a7fd Added test files 2010-04-29 12:16:00 +01:00
Christophe Riccio
b1b02bc31b RAZ 2010-04-29 11:52:01 +01:00
Christophe Riccio
bc877da307 Added test files 2010-04-14 13:25:41 +01:00