Christophe Riccio
d550798ca0
Added EXT_vec1: *vec1 types
2017-08-21 10:36:27 +02:00
Christophe Riccio
faf1da52b7
Renamed P (for precision) template argument to Q (for qualifier)
2017-08-16 01:22:50 +02:00
Christophe Riccio
e76fca75a0
More consistent coding style
2017-08-15 22:04:24 +02:00
Christophe Riccio
a805fb9d68
Renamed precision enum to qualifier
2017-08-15 21:23:47 +02:00
Christophe Riccio
384dab02e4
Reduce the number of warnings with -Weverything #646
2017-08-06 23:00:05 +02:00
Christophe Riccio
1ad55c5016
Reduced warnings when using very strict compilation flags #646
2017-07-07 11:26:12 +04:30
Christophe Riccio
c2fe3fccf6
Use length_t instead of int for vec and mat lengths #584
2016-12-30 20:05:04 +01:00
Christophe Riccio
947b07cbc4
remove template alias for more compiler support and simplified swizzle expression implementation #584
2016-12-30 01:23:29 +01:00
John McFarlane
506a487d24
parameterize number of dimensions of vector in tvec<D, T, P>
...
- specializes for 1, 2, 3 and 4-dimensional vector types
which are then aliased as tvec1, tvec2, tvec3 and tvec4
- requires C++11 aliases; breaks compatability with C++03
- tested on:
- clang-3.5.2, clang-3.8.0
- gcc 4.8.5, gcc 5.4.1, gcc 6.2.0
TODO:
- still uses template template parameters - most can probably be removed
- some definitions might now be de-duplicated
2016-12-28 17:07:12 -08:00
Aaron
460b6ba1b6
Corrected test for msvc compiler
2016-09-12 10:55:01 -07:00
Aaron
ec5e34e04f
Fixed some msvc warnings. Tested on msvc 2015 update 3.
2016-09-11 21:55:22 -07:00
Christophe Riccio
de77fadde2
Fixed long long warnings
2016-07-17 10:56:27 +02:00
Christophe Riccio
aa7951aaa4
Fixed long long warnings
2016-07-17 10:54:53 +02:00
Christophe Riccio
731a263325
Fixed bitcount build errors
2016-06-02 02:32:54 +02:00
Christophe Riccio
41984e42ab
Added GTC_type_aligned with aligned *vec* types
2016-06-01 00:43:35 +02:00
Christophe Riccio
84caa1092f
Added SIMD integer operations optimizations
2016-05-30 15:38:47 +02:00
Christophe Riccio
ab159770b3
mad optimizations, fixed build
2016-05-28 17:12:48 +02:00
Christophe Riccio
affd5f3ba0
Fixed CUDA compiler error in type_vec4.inl #504
2016-05-04 16:35:57 +02:00
Christophe Riccio
1f71f6fb3a
Improved SIMD and swizzle operators interactions with GCC and Clang, Added raw SIMD API.
2016-05-03 23:57:41 +02:00
Christophe Riccio
83999c749a
Reorganized SIMD code
2016-05-01 12:29:11 +02:00
Christophe Riccio
9770c9f73d
Fixed uaddCarry warning #497
2016-04-24 14:56:44 +02:00
Christophe Riccio
e1c3c531dd
Fixed warnings
2015-03-16 23:29:13 +01:00
Jakub Čajka
8977e6d010
Fixed (u)int64 MSB/LSB handling on BE archs
2015-01-28 09:57:55 +01:00
Christophe Riccio
fc8b4404f0
Fixed faceforward build #289
2014-12-19 23:54:25 +01:00
Christophe Riccio
635f607b86
All 32 bits VC version doesn't support 64 bit intrinsics
2014-12-10 09:51:51 +01:00
Christophe Riccio
ff006034df
Fixed unsupported _BitScanForward64 and _BitScanReverse64 in VC10, Fixed Visual C++ 32 bit build #283
2014-12-08 23:49:14 +01:00
Christophe Riccio
28aba540ee
Fixed scalar uaddCarry build error with Cuda #276
2014-12-01 20:27:56 +01:00
Christophe Riccio
a4faeceb99
Fixed warnings
2014-11-29 23:16:13 +01:00
Christophe Riccio
54c84606f4
Fixed CUDA compilation error #276
2014-11-29 22:58:00 +01:00
Christophe Riccio
7e81213fdd
Fixed mod function specialization #281 Fixed bitscan detection
2014-11-29 18:47:58 +01:00
Christophe Riccio
9b250cc86f
Fixed arch detection for Intel compiler
2014-11-29 02:43:06 +01:00
Christophe Juniet
49b326b44a
Fix MSVC intrinsics detection
...
MSVC and Clang support BitScanFoward and BitScanReverse only on
Windows.
2014-11-28 13:17:53 +01:00
Christophe Riccio
3f48ffefb0
Updated license
2014-11-26 00:27:12 +01:00
Christophe Riccio
d276bf3b98
Doxygen fixes
2014-11-25 00:56:37 +01:00
Christophe Riccio
246609b453
Fix build
2014-11-22 23:26:18 +01:00
Christophe Riccio
3135560336
Updated built-in
2014-11-22 20:30:40 +01:00
Christophe Riccio
0bffce4f4b
Optimized findMSB and findLSB
2014-11-22 20:14:48 +01:00
Christophe Riccio
72cbc4c065
Fixed uaddCarray and updated tests #253
2014-11-15 22:31:08 +01:00
Christophe Riccio
45645988e9
Fixed uaddCarray #253 . Fixed GCC build errors.
2014-11-15 21:32:56 +01:00
Christophe Riccio
c36f3630eb
Fixed glm::mask function and tests
2014-11-14 02:01:46 +01:00
Christophe Riccio
a604ebdaa5
Fixed build
2014-11-13 00:08:13 +01:00
Christophe Riccio
2df3bf71cc
Merge branch 'trivial' into bitfield
2014-11-12 23:11:32 +01:00
Christophe Riccio
062ee19ac7
Fixed bitfieldInsert and bitfieldExtract
2014-11-12 22:48:15 +01:00
Christophe Riccio
377d5a4046
Optimized bitCount function
2014-11-02 23:48:02 +01:00
Christophe Riccio
afb1f6d152
Optimized bitfieldReverse
2014-11-02 20:48:59 +01:00
Christophe Riccio
44382faf59
Improve mask implementation to support any integer and vector types
2014-10-28 20:28:26 +01:00
Christophe Riccio
0c522117c8
Opimization of mask, bitfieldInsert, bitfieldExtract and bitCount
2014-10-25 21:16:49 +02:00
Christophe Riccio
72a2f49834
More integer vectorization
2014-10-24 02:46:59 +02:00
Christophe Riccio
0274cb6e58
Fix build
2014-10-23 22:17:58 +02:00
Christophe Riccio
3344c8e9a0
Fixed build error
2014-10-22 16:03:44 +02:00