simd constexpr vec: allow SIMD bit to be set if GLM_SIMD_CONSTEXPR == 1

This commit is contained in:
sharkautarch 2024-09-12 10:44:07 -04:00
parent 21b51c96f5
commit 2c236f4e1a
No known key found for this signature in database
GPG Key ID: F270CA9462164405

View File

@ -373,7 +373,7 @@
#elif defined(GLM_FORCE_SSE)
# define GLM_ARCH (GLM_ARCH_SSE)
# define GLM_FORCE_INTRINSICS
#elif defined(GLM_FORCE_INTRINSICS) && !defined(GLM_FORCE_XYZW_ONLY)
#elif ( (defined(GLM_FORCE_INTRINSICS) && !defined(GLM_FORCE_XYZW_ONLY)) || GLM_SIMD_CONSTEXPR == 1 )
# if defined(__AVX2__)
# define GLM_ARCH (GLM_ARCH_AVX2)
# elif defined(__AVX__)