Commit Graph

425 Commits

Author SHA1 Message Date
Branimir Karadžić
0c85c0ac3d Updated TinyEXR. (#129) 2026-06-03 16:18:42 +00:00
Branimir Karadžić
43fef5f44e Added .ktx2 support. (#127) 2026-05-28 20:12:02 -07:00
ShuangLiu1992
4e00d20f52 nvtt: posh.h — switch EMSCRIPTEN macro to __EMSCRIPTEN__ (#126)
emsdk >= 5.0 no longer predefines the legacy `EMSCRIPTEN` macro,
only `__EMSCRIPTEN__` (see emscripten-core/emscripten#21899). Switch
posh's OS+CPU detection to the modern spelling so vendored nvtt builds
under current emsdk.

Without this, posh falls through to "unknown OS", defsgnuclinux.h is
never included, `#define restrict __restrict__` never runs, and
nvcore/utils.h ships bare `restrict` into clang which rejects it
("expected ')'"). POSH_CPU detection then also fails with "POSH cannot
determine target CPU".

Suggested by @bkaradzic — drop the legacy spelling rather than add
`__EMSCRIPTEN__` alongside it.
2026-05-28 17:05:22 +00:00
Branimir Karadžić
a4fc744770 Added webp support. (#124) 2026-05-27 04:26:55 +00:00
Branimir Karadžić
5c7eabb1d7 CI: Remove osx-x64. (#121) 2026-05-04 07:54:02 -07:00
Branimir Karadžić
0014aa0f14 Match CI with bx. (#120) 2026-05-04 01:18:30 +00:00
Branimir Karadžić
0477714903 CI: expand coverage (#119) 2026-05-03 17:09:04 -07:00
Branimir Karadžić
848cb5f404 Updated to new SIMD. (#117) 2026-05-03 18:28:20 +00:00
Martijn Courteaux
60108ad6ee Respect BIMG_CONFIG_DECODE_ASTC earlier (#118) 2026-05-03 16:40:50 +00:00
Branimir Karadžić
e4294241cd Renamed bx::uint32_min to bx::min. (#116) 2026-04-27 04:07:39 +00:00
Branimir Karadžić
abc7dea050 Fix crashes on malformed/unsupported images. (#115) 2026-04-25 20:15:59 -07:00
Xi Ma Chen
60d8bd454c Fix mip calculation for compressed formats. (#94) 2026-04-23 13:54:13 -07:00
Branimir Karadžić
6fa3a8b209 Add guards against malformed images. (#114) 2026-04-23 13:47:52 -07:00
Branimir Karadžić
18d3d64042 Fixed #86 (#113) 2026-04-21 21:57:21 -07:00
Branimir Karadžić
8cad52a078 Fixed #80 (#112)
* Fixed BC4/BC5 decoding to BGRA8/RGBA32F, and silenced BC7 -Wstringop-overflow warning. Fixed #110. (#111)

* Fixed #80.
2026-04-21 21:55:42 -07:00
Branimir Karadžić
2317bb623a Fixed BC4/BC5 decoding to BGRA8/RGBA32F, and silenced BC7 -Wstringop-overflow warning. Fixed #110. (#111) 2026-04-18 11:18:16 -07:00
Branimir Karadžić
9114b47f53 Fixed EXIF parsing. Issue #108. (#109) 2026-03-23 01:21:35 +00:00
Branimir Karadžić
6c13a0c8a8 Added ability to configure supported image format parsers. (#107)
* Added ability to configure supported image format parsers.

* Added comments.
2026-03-11 21:34:08 -07:00
Branimir Karadžić
5a79b67a49 NVTT: Fixed buffer overflow. (#106) 2026-03-03 22:03:46 +00:00
Branimir Karadžić
b43fea9eae Improve configurability. Issue #104. (#105) 2026-02-20 04:33:24 +00:00
Sergio R. Z. Masson
0571f0abad Replaced sizeof(exp) with a more static analysis frendly implementation. (#102) 2026-02-11 16:46:48 +00:00
Branimir Karadžić
a0204c79f9 Happy New Year! (#101) 2026-01-14 15:38:13 +00:00
Seremo
4f1916fca2 Fix swapped RGB5A1 and BGR5A1 format labels in s_ddsFormat (#93) 2026-01-12 15:02:50 +00:00
attilaz
bf10ffbb3d Fixed blockinfo for eac rg formats (#100)
See format info here:
https://docs.gl/es3/glCompressedTexImage2D
2025-11-13 14:38:09 +00:00
Бранимир Караџић
5f03f4867d Updated README. 2025-11-11 10:06:36 -08:00
Branimir Karadžić
73d034d6d4 Fix CI. (#99) 2025-11-11 17:49:07 +00:00
Бранимир Караџић
06614b7dfb Fix CI. 2025-11-11 09:25:57 -08:00
Бранимир Караџић
77d584bcf7 Added CI. 2025-11-11 09:24:03 -08:00
Branimir Karadžić
2d4e6c6de1 Added EAC texture formats. (#98) 2025-11-11 16:15:57 +00:00
attilaz
b8603b8456 ktx: fixed srgb for etc2/bc7 textures (#97) 2025-11-11 14:52:12 +00:00
Бранимир Караџић
b464b67889 Added sponsor button. 2025-11-02 18:46:57 -08:00
Бранимир Караџић
5060d172e7 Updated error message. 2025-08-23 09:22:31 -07:00
Branimir Karadžić
a1a2ae3c12 Update assert API to latest bx. 2025-08-23 09:21:29 -07:00
Nuno Silva
3af74f3fe1 fix exr memory allocation size overflow by turning the size into a uint64_t (#96) 2025-07-31 15:57:14 +00:00
Daniele Bartolini
5c1fffca4d Detailed message on error to parse EXR header. (#95) 2025-07-08 20:22:12 +01:00
Бранимир Караџић
446b9eb111 Removed requirement that .dds file set DDSD_CAPS and DDSD_PIXELFORMAT. 2025-03-06 19:29:43 -08:00
Cedric Guillemet
c863f8f364 fix Error C4703 MSVC/UWP (#92) 2025-03-03 13:24:22 -08:00
Бранимир Караџић
c5c7b6e187 Happy New Year! 2025-01-13 15:45:33 -08:00
Бранимир Караџић
b7130927db Cleanup. 2024-12-07 22:49:58 -08:00
Бранимир Караџић
0d1c78e779 Removed makefile. 2024-10-25 16:56:30 -07:00
Бранимир Караџић
7defabd308 Fix deps. 2024-10-18 18:42:58 -07:00
Бранимир Караџић
aaf9125234 Cleanup. 2024-07-20 08:40:02 -07:00
Бранимир Караџић
e154af4821 Fixed error. 2024-07-20 07:34:30 -07:00
Ian Greenhoe
2afa64c14c Fixing OSX build issue (#89) 2024-06-15 18:51:11 -07:00
Бранимир Караџић
59f188a6ad HEIC: Fixed data copy when strides are mismatched. 2024-06-13 22:18:23 -07:00
Бранимир Караџић
61a7e9ebe7 Added license incompatibility warning. 2024-06-11 18:06:14 -07:00
Бранимир Караџић
c4268ed766 Added option to build with libheif. 2024-06-11 17:58:39 -07:00
Бранимир Караџић
98a40e8533 Updated astc-encoder. 2024-05-24 16:41:07 -07:00
Branimir Karadžić
e9fa0ceff2 DDS: Fixed legacy formats. 2024-03-27 22:00:55 -07:00
Бранимир Караџић
02356d893f Updated STB image headers. 2024-03-11 07:39:07 -07:00