Fix for commit 50cef39716
This commit is contained in:
parent
c63e5211b3
commit
948eb8205e
|
@ -6,6 +6,8 @@
|
|||
|
||||
$Macro PROJNAME "joltphysics_avx2"
|
||||
|
||||
$Conditional VOLT_SSE2 "0"
|
||||
$Conditional VOLT_SSE42 "0"
|
||||
$Conditional VOLT_AVX2 "1"
|
||||
$Macro VOLTARCH "AVX2"
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ $Configuration
|
|||
// Feature test stuff for the AVX2 build
|
||||
$PreprocessorDefinitions "$BASE;JPH_USE_SSE4_1;JPH_USE_SSE4_2;JPH_USE_AVX;JPH_USE_AVX2;JPH_USE_LZCNT;JPH_USE_TZCNT;JPH_USE_F16C;JPH_USE_FMADD" [$VOLT_AVX2]
|
||||
$GCC_ExtraCompilerFlags "$BASE -msse4.1 -msse4.2 -mavx2 -mlzcnt -mf16c -mfma -mbmi" [$VOLT_AVX2]
|
||||
$EnableEnhancedInstructionSet "Advanced Vector Extensions 2 (/arch:AVX2)" [$VOLT_AVX2]
|
||||
$EnableEnhancedInstructionSet "Advanced Vector Extensions 2 (/arch:AVX2)" [$WIN32 && $VOLT_AVX2]
|
||||
|
||||
// Feature test stuff for the SSE 4.2 build
|
||||
$PreprocessorDefinitions "$BASE;JPH_USE_SSE4_1;JPH_USE_SSE4_2" [$VOLT_SSE42]
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
$Macro PROJNAME "joltphysics_sse2"
|
||||
|
||||
$Conditional VOLT_SSE2 "1"
|
||||
$Conditional VOLT_SSE42 "0"
|
||||
$Conditional VOLT_AVX2 "0"
|
||||
$Macro VOLTARCH "SSE2"
|
||||
|
||||
$Include "joltphysics_inc.vpc"
|
||||
|
|
|
@ -6,7 +6,9 @@
|
|||
|
||||
$Macro PROJNAME "joltphysics_sse42"
|
||||
|
||||
$Conditional VOLT_SSE2 "0"
|
||||
$Conditional VOLT_SSE42 "1"
|
||||
$Conditional VOLT_AVX2 "0"
|
||||
$Macro VOLTARCH "SSE42"
|
||||
|
||||
$Include "joltphysics_inc.vpc"
|
||||
|
|
Loading…
Reference in New Issue