Commit Graph

805 Commits (d57ca4490202ab8d698e030a7a1ba1843ee2a232)

Author SHA1 Message Date
Elvis Dowson d57ca44902 Enable CUDA support.
This commit also reintroduces nvcore Library.h and Library.cpp files
required by nvtt/cuda/CudaUtils.cpp

Ref:
https://github.com/castano/nvidia-texture-tools/issues/230
81336cc3e9

Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
5 years ago
Димитър Трендафилов d891d044e7
Minor fix to ATOC normalization. 5 years ago
Ignacio 84595a62f2 Add helper methods for jai bindings. 5 years ago
Ignacio c591c5f8b4 Compute spherical harmonics from cube maps. Work in progress. 5 years ago
Ignacio 7c68e09d77 Fix ATOC overflow error on large textures. Merge fix from The Witness. 6 years ago
Ignacio a9a6f6968e Fix minor warnings.
Add output directories to ignore list.
6 years ago
Starnick 0f65d60602 Updated C-API to support 2D array textures + added missing enum values from nvtt.h 6 years ago
Ignacio d2b514a3c1 Comment out hack. 6 years ago
Ignacio a1c54bc7f7 Add fast sRGB conversion. 6 years ago
Ignacio bc60e8c154 Use our own parallel for by default to avoid dependencies. 6 years ago
Ignacio 1722b00802 FloatImage does not need a virtual dtor. 6 years ago
Ignacio 95f1f60490 Enable stb libraries for image loading. This was disabled by error. 6 years ago
Ignacio 5c70ffef0b
Merge pull request #287 from madscientist159/master
Fix build on OpenPOWER (ppc64le) platforms
6 years ago
Ignacio 005b2518c9 Install nvtt_wrapper.h. Fix issue #288. 6 years ago
Timothy Pearson 95454e9024 Fix build on OpenPOWER (ppc64le) platforms 6 years ago
Ignacio 95bd6193cc Fix bug 281. 6 years ago
Stefan Brüns ff3bd55892 Fix compilation on Linux - missing include, semicolon
According to http://man7.org/linux/man-pages/man3/memalign.3.html ,
memalign() is defined in malloc.h.
Also, the line should be terminated with a semicolon.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
6 years ago
Ignacio 9489aed825 Merge changes from The Witness. 6 years ago
Stefan Brüns 00d7e249e2 Add nvimgdiff to TOOLS target, so it is installed by default
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
6 years ago
Stefan Brüns 389f7582e5 Fix linking of bc7, needs symbols from nvmath
If nvtt is build with -Wl,--as-needed, the linker will not resolve bc7
symbols from any library listed earlier, make sure it (also) appears
after libbc7.a
6 years ago
Remi Papillie b03d5178fc Fix .hdr images being loaded as LDR before compression 6 years ago
Ignacio befe79d103 Merge changes from thekla-atlas. 7 years ago
Ignacio e442d6d390 Remove incorrect assert. Fixes issue #261. 7 years ago
Ignacio ed735ac2cb Fix alpha coverage subsampling. Fixes issue #266. 7 years ago
Justin Meiners d47de35893 added noalpha option to assemble and fixed RGB write 7 years ago
Ignacio 4fb0070b7e Do not use undeclared format. 7 years ago
Ignacio fa03dfc291 Add option to control prefered swizzle. 7 years ago
Ignacio 923b57db45 Merge pull request #255 from AMDmi3/patch-3
Use libexecinfo on FreeBSD as well
7 years ago
Ignacio ef30f69c9d Merge pull request #256 from AMDmi3/patch-4
Use HW_NCPU on FreeBSD as well
7 years ago
Ignacio 7849ee9e71 Merge pull request #260 from leper/master
Add virtual destructor to TaskDispatcher.
7 years ago
Ken Cooke 01597842fe Update CMakeLists.txt and vc8/9/10 projects 7 years ago
Ken Cooke 96b73af196 Fast implementations of toLinear() and toGamma() for default gamma=2.2 7 years ago
leper 78054e977b Add virtual destructor to TaskDispatcher.
This removes a GCC warning about that missing while virtual functions exist.
7 years ago
Dmitry Marakasov a64cc24169 Use HW_NCPU on FreeBSD as well 7 years ago
Dmitry Marakasov 6b24b1f45c Use libexecinfo on FreeBSD as well 7 years ago
Lunkhound 0535ab3414 fix a bug where created normal maps were not packed prior to compression 8 years ago
Lectem 24e63456c6 Fix compression for non multiple of 4 texture size
If the width or the height was not a multiple of 4, we would read data outside of the bitmap array
8 years ago
Ignacio 6fb57d3478 Fix order of kaiser parameters. 8 years ago
Ignacio 383331bb42 Fix issue #240. 8 years ago
Ignacio 1a75484520 Minor fixes. 8 years ago
Ignacio a11a6739c2 Fix comments. Minor fixes. 8 years ago
Lectem 1770ad7280 Fix build on VC2015
On VC2015 the project wouldn't build because of the missing typedefs.
This was tested on both 2013 and 2015.
8 years ago
Ignacio b0afc82d7d Minor osx fixes.
Remove FindCUDA and use cmake version instead.
8 years ago
Kamil Rytarowski 3c4ccd41fa Add basic NetBSD support 8 years ago
Timothy Pearson f8790a536a Fix remaining issues on PPC64EL
One AltiVec-related build issue remained
Self tests now pass on LE POWER platforms

Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
8 years ago
Timothy Pearson 203eda1d47 Fix build on PPC64LE
Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
8 years ago
Timothy Pearson 47b06d3255 Fix build failure due to PPM save incorrect data types
Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
8 years ago
sanderd17 65b3dfa4a6 Fix compilation on GCC 6
GCC 6 apparently doesn't want to cast booleans to pointers anymore. So this fixes it for us. See also our changeset: http://trac.wildfiregames.com/changeset/18364
8 years ago
Ignacio 875a78a124 Merge pull request #236 from mpersano/master
Add support for compressing texture arrays.
8 years ago
mpersano 46e5c6a8ee Fix nvassemble command-line options parsing. 8 years ago