Nabla icon indicating copy to clipboard operation
Nabla copied to clipboard

Compile for ARMv8 64bit

Open devshgraphicsprogramming opened this issue 4 years ago • 0 comments

Description

Get the thing compiling on ARM.

Description of the related problem

Nabla doesn't compile on ARM, which precludes it from running on the Nintendo Switch, Apple M1 based macs, iOS, Android and the Pi5.

Solution proposal

Debug a lot and trap unaligned memory accesses.

Rewrite the math lib to something that can compile GLSL code and uses both SSE4.2, AVX,AVX2, and NEON

Additional context

Widen the Android abi filter to arm64-v8a and x86_64.

Also make Nabla compile on ARM-linux.