Function sdl2_sys::SDL_HasLASX
source · pub unsafe extern "C" fn SDL_HasLASX() -> SDL_bool
Expand description
Determine whether the CPU has LASX (LOONGARCH SIMD) features.
This always returns false on CPUs that aren’t using LOONGARCH instruction sets.
\returns SDL_TRUE if the CPU has LOONGARCH LASX features or SDL_FALSE if not.
\since This function is available since SDL 2.24.0.