Commit graph

16 commits

Author SHA1 Message Date
marauder2k7
86b0baf432 Update torque_macros.cmake 2026-03-07 16:14:31 +00:00
marauder2k7
8c1acbd1da add normal safety
wrap safety around normal checks, this was done on the scalar math may as well do it here just in case.

Ad the impl.inl files to libraries so they can actually be found.
2026-03-05 18:55:49 +00:00
marauder2k7
67f12311d4 ISA backends float3 and float4 - cleanup history squash
working for both neon32 and neon64

Update math_backend.cpp

further sse simd additions

avx2 float3 added
added normalize_magnitude
added divide fast to float3 may copy to float4

move static spheremesh to drawSphere (initialize on first use) so platform has a chance to load the math backend

all float3 and float4 functions and isas

completed all options of float3 and float4 functions in isas and math_c
neon still to be done but that will be on mac.

Update math_backend.cpp

mac isa neon update

added float3
restructured the classes to look more like the final version of the x86 classes

linux required changes

Update build-macos-clang.yml

Update build-macos-clang.yml

Revert "Update build-macos-clang.yml"

This reverts commit 29dfc567f4.

Revert "Update build-macos-clang.yml"

This reverts commit 2abad2b4ca.

Update CMakeLists.txt

fix macs stupid build

remove god awful rolling average from frame time tracker....

use intrinsic headers instead

each isa implementation now uses a header for that isa's intrinsic functions these are then used in the impl files. This will make it easier for matrix functions when those are implemented.

fixed comment saying 256 when it should be 512 for avx512

consolidated initializers for function tables

Update neon_intrinsics.h

fixes for some neon intrinsics no idea if this is the best way to do these but they work at least

v_cross is especially messy at the moment we basically just do it as a c math function need to look into getting this done correctly
2026-03-05 18:55:34 +00:00
marauder2k7
9ebcee420f moar changes
mac implementation had _mm_div (x86 intrinsic)
2026-03-05 18:55:32 +00:00
marauder2k7
e9fdffc2dd math backend setup
setup libraries for different simd isa's
add float4 functions for c sse2 and avx2 (placeholder file for neon to be implemented on mac)
2026-03-05 18:55:29 +00:00
AzaezelX
b3ddd712ce suport augs for modules that include full libraries
copies over .in and .cmake files for those cases when libraries themselves need to self-configure
searches for a source/libs/libs.cmake file for any torque-specific confiugurations we need to make for a given library
autoinclude any source/wrappers directory for unique to orque files, which will most commonly be data holder classes and script exposure, as well as adding those dirs to the #include listener list
also ditches forcing warn levels to lowest for libraries since if folks are going to experiment, best tey know about anmy underlying things to avoid
2025-01-02 10:27:09 -06:00
marauder2k7
250b66b4db Update torque_macros.cmake
applying fixes in a hurry cause problems
2024-08-05 01:06:29 +01:00
marauder2k7
0374da0077 Update torque_macros.cmake
since this is showing in the cmake gui may as well make it unique for each framework..
2024-08-05 00:44:36 +01:00
marauder2k7
02de5160cf Update torque_macros.cmake 2024-08-05 00:38:46 +01:00
marauder2k7
b6617b1b0f Working multi-arch archiving
-Working multi arch compile
-Required assets now copy to the app bundle
TODO: Make the logic to wrap around whether its multi arch
-The changes in torqumacosconfigs.cmake are not required if we are only building one architecture, also if it is x86_64 we can drop min deployment target to 10.13
2023-10-20 12:04:56 +01:00
marauder2k7
0af0b5a24a MACOS working
Mac working in this stage
2023-10-19 14:39:22 +01:00
marauder2k7
a200554496 more changes
-Apple = more trouble than its worth
2023-10-19 11:45:25 +01:00
marauder2k7
13af296bf8 initial toolchain
-test of an initial toolchain setup for macosx builds
2023-10-19 08:08:50 +01:00
AzaezelX
fa14b8c3a9 framework macro typofix 2023-06-12 09:01:50 -05:00
AzaezelX
8906c12ddd kill dupe macro definitions, add macro(addFramework framework) for mac support to append frameworks, and further mark-as-advanced cleanups 2023-06-03 13:47:36 -05:00
AzaezelX
e55d71f6ee macro and config refactor proposal 1 2023-06-03 10:42:04 -05:00