53 Commits

Author SHA1 Message Date
Christophe Riccio
d53e36782b - Fixed packF3x9_E1x5 exponent packing #614 2017-02-28 22:19:26 +01:00
Christophe Riccio
7839b862e8 Fixed build 2017-01-01 01:28:15 +01:00
Christophe Riccio
2908ddfbaa Fixed build 2017-01-01 01:13:53 +01:00
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
4dd748f380 Renamed tvec into vec 2016-12-30 00:03:34 +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
Christophe Riccio
32cfecba97 Optimized GTC_packing implementation 2016-11-20 19:54:03 +01:00
Christophe Riccio
a2684a8fe5 - Added lowp variant of GTC_colorspace convertLinearToSRGB #419 2016-10-16 20:17:29 +02:00
Christophe Riccio
e4c559b29b Added RGBM encoding in GTC_packing #420 2016-10-16 16:40:49 +02:00
Aaron
47abea7dba Fixed scaling factors for packing and unpacking unorm555 and unorm565 2016-09-11 22:49:15 -07:00
Christophe Riccio
b54a256499 - Fixed strict aliaing warnings #473 2016-06-04 22:57:21 +02:00
Christophe Riccio
316460408a Simplify and more consistency for files headers 2016-05-23 22:55:49 +02:00
Christophe Riccio
93612791cd Removed Apple specific check for LLVM versions 2016-05-04 18:46:59 +02:00
Christophe Riccio
560dcdbec0 Added 8bit pack and unpack to GTC_packing 2015-10-12 01:03:01 +02:00
Christophe Riccio
bb9ce516b0 Added 16bit pack and unpack to GTC_packing 2015-10-11 23:02:42 +02:00
Christophe Riccio
92a6c207bc Fixed build on C++98 compiler 2015-10-11 22:01:02 +02:00
Christophe Riccio
7f4d8c38c9 Fixed (un)packHalf 2015-10-11 21:20:37 +02:00
Christophe Riccio
04c8f05a34 Added (un)packUnorm and (un)packSnorm to GTC_packing 2015-10-10 03:04:32 +02:00
Christophe Riccio
65c8f8fcf0 Added (un)packHalf 2015-10-10 01:54:54 +02:00
Christophe Riccio
a77d311119 Added packF3x9_E1x5 and unpackF3x9_E1x5 to GTC_packing for RGB9E5 #416 2015-10-01 00:43:37 +02:00
Christophe Riccio
7f6e60864a Fixed GTC_packing unpackUnorm3x10_1x2 #414 2015-09-29 01:25:02 +02:00
Christophe Riccio
cb5a2a86ca Fixed GTC_packing unpackUnorm3x10_1x2 #414 2015-09-28 23:47:40 +02:00
Christophe Riccio
0ceb9e9394 packing function clean up #292 2015-01-09 23:57:22 +01:00
Christophe Riccio
d9290d7887 Fixed GTC_packing *pack*norm*x* build and added tests #292 2015-01-09 23:14:10 +01:00
Christophe Riccio
ed3d8e17e4 Fixed warnings in F2x11_1x10 packing function in GTC_packing #295 2015-01-08 23:50:06 +01:00
Christophe Riccio
fc8b4404f0 Fixed faceforward build #289 2014-12-19 23:54:25 +01:00
Christophe Riccio
3f48ffefb0 Updated license 2014-11-26 00:27:12 +01:00
Christophe Riccio
bddce172f7 Fixed Clang and LLVM detections 2014-11-23 21:14:08 +01:00
Christophe Riccio
b69356cadb Resolve aliasing issues #152, #212 2014-06-21 07:41:30 -04:00
Christophe Riccio
16124f0742 Removed useless references 2014-06-21 07:25:52 -04:00
Groove
b025413a2d Resolve aliasing issue 2014-06-21 07:04:55 -04:00
Christophe Riccio
f32cab2842 Remove useless references 2014-06-21 13:01:54 +02:00
Christophe Riccio
f310f941c6 Fixed strict aliasing issues #212 2014-06-21 12:14:39 +02:00
Christophe Riccio
a8fd81850f Tentative fix for strict aliasing warning in GCC 4.8.1 / Android NDK 9c (#152) 2014-02-08 14:10:00 +01:00
Christophe Riccio
ccb25c84c7 Update copyright year 2014-01-04 22:32:28 +01:00
Christophe Riccio
9b57315681 Fixed mismatch of GTC_packing declaration and definition prototypes 2013-12-28 19:14:11 +01:00
Christophe Riccio
950eaa45cb Reduced dependencies for GTC extensions 2013-12-24 13:45:14 +01:00
Christophe Riccio
0640bcaab0 Fixed inline 2013-12-15 19:55:13 +01:00
Christophe Riccio
73281f1978 Improve CUDA coverage to all GTC extensions. Fixed missing constructors #120 2013-10-09 23:33:39 +02:00
Christophe Riccio
eb59cb9af6 Fixed initializer test implementation, simplified packing implementation 2013-10-05 20:06:56 +02:00
Christophe Riccio
c038e80e9f Optimized GTC packing functions 2013-09-09 15:16:14 +02:00
Christophe Riccio
cd186dadb3 Optimized packing and unpacking functions 2013-09-08 17:56:18 +02:00
Christophe Riccio
635d2d0eca Fixed GTC_packing build 2013-09-01 18:22:47 +02:00
Christophe Riccio
b1230f2adc Fixed build 2013-08-26 11:14:46 +02:00
Christophe Riccio
0abec19bc1 Added missing documentation, missing 4x16 half packing functions, added initial tests 2013-08-26 08:28:17 +02:00
Christophe Riccio
fb13e7bf8a Added unpack 111110 implementation, missing inf and NaN code path 2013-08-26 07:38:34 +02:00
Christophe Riccio
6fd6cf2c8c Fixed packing implementation function names, added missing (un)PackUnom3x10_1_2 implementations, fixed rounding and clamping on (un)packSnom3x10_1x2 implementations 2013-08-25 22:50:48 +02:00
Christophe Riccio
5645369d56 Fixed packing implementation function names 2013-08-25 22:30:52 +02:00
Christophe Riccio
da95e96fcf Fixed build on Clang and C++11 2013-08-22 23:24:18 +02:00
Christophe Riccio
53bd892a88 Added 1x8 packing functions. Add documentation for half packing functions. 2013-08-19 00:36:56 +02:00