Commit Graph
2125 Commits
Author SHA1 Message Date
Daniel Kalmar f86bece796 Add boilerplate for PS5 support. (#427) 2026-09-10 15:43:30 +00:00
Branimir Karadžić 98ad3bec2a Fixed debugBreak. Fixes #425. (#426) 2026-09-04 03:56:07 +00:00
Branimir Karadžić 975c8fb6fd Enabled FatalWarnings. (#424) 2026-09-02 21:20:46 -07:00
Branimir Karadžić e21246d7ae Fix clang float control pragmas. (#423) 2026-09-02 20:10:42 -07:00
Branimir Karadžić d8a853795f Fixed build. (#422) 2026-09-02 18:41:39 -07:00
Branimir Karadžić 2b9ef62e7a Added BX_CONFIG_FMA, SIMD madd/msub/nmsub, f32 rounding and integer div/mod. (#421) 2026-09-02 19:13:20 +00:00
Branimir Karadžić 080f466590 Added bx::hasUniqueObjectRepresentation type trait. (#420) 2026-08-30 11:02:11 -07:00
Branimir Karadžić 671a001d3e tinystl: reset() keeps the bucket table; clear() still shrinks to 9. (#419) 2026-08-29 21:43:51 +00:00
Branimir Karadžić 9f874936e2 Added ability to move file into trash. (#418) 2026-08-27 20:53:12 -07:00
Branimir Karadžić 9e3fadf6f1 Fixed floatFlip, SIMD variable-shift masks and %g precision, and added tests. (#417) 2026-08-14 22:36:08 -07:00
Branimir Karadžić 26ff6d907d MinGW: Fix sal. (#416) 2026-08-09 15:55:09 -07:00
Branimir Karadžić 0a09590ac8 Added positional arguments to CommandLine. (#415) 2026-08-09 08:09:32 +00:00
Branimir Karadžić 822be40688 Scanner: Class::Identifier must not start with a digit. (#414) 2026-08-08 15:16:25 -07:00
Branimir Karadžić 43bfe29402 Fixed DLL search order hijacking in dlopen. (#413) 2026-08-02 22:09:38 -07:00
Branimir Karadžić 0b001f5f36 MSVC: Added ARM64 target. (#412) 2026-07-27 22:08:49 +00:00
Branimir Karadžić 056ea3486c Scanner: Cleanup. (#411) 2026-07-26 08:32:02 -07:00
Branimir Karadžić 9916e720fc Added scanner. (#410) 2026-07-25 12:23:58 -07:00
Sergio R. Z. MassonandCopilot cd6720ce9a platform.h: detect MSVC ARM64 as 64-bit and raise 32-bit Windows minimum (#409)
Two related Windows fixes:

* BX_ARCH_64BIT missed MSVC's _M_ARM64 / _M_ARM64EC, so Windows on ARM64 was
  treated as a 32-bit architecture. Add them to the 64-bit detection list.

* The 32-bit Windows branch defaulted WINVER / _WIN32_WINNT to 0x0502 (Windows
  XP / Server 2003), which predates APIs that modern SDK headers reference
  (e.g. the ETW EventRegister/EventWriteTransfer family, only declared for
  _WIN32_WINNT >= 0x0600). Raise it to 0x0601 (Windows 7), matching the 64-bit
  branch. Combined with the ARM64 detection fix, x86, x64 and ARM64 Windows
  targets now all default to a Windows 7 baseline.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 45aaf3cc-900d-442b-a7e5-0fb6d3fe6658
2026-07-23 14:02:25 +00:00
Branimir Karadžić 5a2b876258 fromString: Parse hex float literals. (#408) 2026-07-22 06:43:24 +00:00
Branimir Karadžić a7257985fa Added bx::isEqual for bx::StringView. (#407) 2026-07-21 21:37:18 -07:00
Branimir Karadžić c98e98cde1 Fixed amalgamated build. (#406) 2026-07-15 14:41:08 +00:00
Branimir Karadžić ed183eb246 Allow files with 10k+ lines to align nicely. (#405) 2026-07-12 01:21:30 -07:00
Branimir Karadžić efdef94b94 Win: OutputDebugString is useless in console mode. When console is present print in console too. (#404) 2026-07-03 21:35:27 -07:00
Martijn Courteaux 4a8ed7f7f1 Use clang on macOS. (#403) 2026-06-27 17:23:55 +00:00
Branimir Karadžić 64dcc737a0 Fixed warnings. (#401) 2026-06-13 16:56:53 -07:00
Branimir Karadžić 771ce6a8e8 Added homogeneousNdc parameter to buildFrustumPlanes for correct near plane under D3D/VK/Metal clip volume. (#400) 2026-06-08 22:36:59 -07:00
Branimir Karadžić 03b5ae7112 MSVC: Fixed unreachable warning. (#399) 2026-06-07 09:37:58 -07:00
Branimir Karadžić 7dc65d7eca Revert "platform: bridge legacy lowercase emscripten version macros (#397)" (#398)
This reverts commit 4eb6f8ebb2.
2026-05-27 04:42:47 +00:00
ShuangLiu1992andShuang Liu 4eb6f8ebb2 platform: bridge legacy lowercase emscripten version macros (#397)
emscripten <= 4.0.23 only defined the lowercase forms (`__EMSCRIPTEN_major__`,
`__EMSCRIPTEN_minor__`, `__EMSCRIPTEN_tiny__`) in `<emscripten/version.h>`.
Starting with 4.0.24 (PR emscripten-core/emscripten#26180), uppercase
became primary and lowercase was kept as deprecated aliases.

bx PR #374 switched all references to the uppercase form, which is the
right forward-looking direction — but it leaves users on emsdk <= 4.0.23
unable to build, because `__EMSCRIPTEN_MAJOR__` is undefined there and
the preprocessor expression `(__EMSCRIPTEN_MAJOR__ * 10000 + …)` evaluates
to 0. That tanks `BX_PLATFORM_EMSCRIPTEN`, which tanks `BX_PLATFORM_POSIX`,
which makes `bx/src/os.cpp` skip its `<time.h>` / `<sched.h>` includes,
which causes the build to fail on `unknown type name 'timespec'`.

Add a small bridge: if the uppercase macros aren't defined but the lowercase
ones are, alias the uppercase forms to lowercase. The rest of bx continues
to use uppercase uniformly. Newer emsdk versions are unaffected (the bridge
block is skipped because uppercase is already defined).

Co-authored-by: Shuang Liu <[email protected]>
2026-05-22 16:36:01 -07:00
Branimir Karadžić eed706fb27 Suppress MSVC CRT assert dialogs. (#395) 2026-05-14 04:19:21 +00:00
Branimir Karadžić 217823bc0a Added float4x4_* tests. (#394) 2026-05-08 04:02:40 +00:00
Branimir Karadžić f9dcd60e79 Fixed tests. (#393) 2026-05-06 23:07:55 -07:00
Branimir Karadžić c76a34f4ef Fixed simd128_f32_dot3 test. (#392) 2026-05-06 22:37:16 -07:00
Branimir Karadžić 6bb55b32eb Added float4x4_inverse test. (#391)
* Added float4x4_inverse test.

* Bump tolerance.

* Fixed broadcast bug in simd128_f32_dot_ni.
2026-05-07 05:15:03 +00:00
Branimir Karadžić c8f135d579 CI: Remove osx-x64. (#390) 2026-05-04 07:53:54 -07:00
Бранимир Караџић 6ed98f29cc Fix simd _ni signbitsmask/test_any/test_all. 2026-05-03 17:02:23 -07:00
Бранимир Караџић 5a43e56c3b Override BX_ASSERT/BX_ASSERT_LOC in test.h to throw directly. 2026-05-03 17:02:23 -07:00
Бранимир Караџић 84fd8d86e9 Fix math_test on Android (NDK lacks isinff/etc) and AArch64 (char is unsigned, use SCHAR_MIN/MAX). 2026-05-03 17:02:23 -07:00
Бранимир Караџић ed8d359474 CI: expand coverage 2026-05-03 17:02:23 -07:00
Branimir Karadžić 7ddf87f9a0 Android: Fixed build. (#388) 2026-05-03 14:36:09 -07:00
Branimir Karadžić 6ce72eac63 Fixed build. (#387) 2026-05-03 12:56:46 -07:00
Branimir Karadžić 22f7b051b9 Rework SIMD lib. (#386) 2026-05-03 18:25:39 +00:00
Branimir Karadžić 0f575d5880 math: Use MSVC _BitScan intrinsics in countLeadingZeros/countTrailingZeros runtime fast path. (#385) 2026-04-25 06:18:15 +00:00
Branimir Karadžić 8d98acc6f7 Added more functionality to memoryMap/Unmap. (#384) 2026-04-24 04:05:11 +00:00
Branimir Karadžić 3ea49f98d6 Lazy load debug help once it's needed to resolve callstack. (#383) 2026-04-20 19:04:08 +00:00
Branimir Karadžić c6131ec676 Use Catch2 macros. (#382) 2026-04-09 20:43:51 -07:00
Branimir Karadžić d54d89d6b5 Added BX_REQUIRE_CONSTANT clang macro. (#381) 2026-04-07 04:10:04 +00:00
Branimir Karadžić b259cfbd3f Implemented all bounds tests. (#380) 2026-04-05 04:51:34 +00:00
Branimir Karadžić cac72f6cfa GENie 1203. (#379) 2026-03-15 17:52:07 +00:00
Branimir Karadžić ce24938573 Setup location for cmake action. (#377) 2026-03-15 07:47:06 +00:00