BinomialLLC / basis_universal

Basis Universal GPU Texture Codec
Apache License 2.0
2.7k stars 263 forks source link

SIMD: disable compile time checks #343

Closed stefantalpalaru closed 1 year ago

stefantalpalaru commented 1 year ago

SSE4.1 support is checked at runtime, so compile time checks are redundant at best and harmful when compiling for a different machine.

Further more, a logic error prevented the use of SSE4.1 on systems with any version of AVX available. This is fixed now.

Fixes: https://github.com/BinomialLLC/basis_universal/issues/342