Skip to content

Commit

Permalink
vpc: Fix SSE4.2/AVX2 leaking into other builds
Browse files Browse the repository at this point in the history
Closes: #138
Closes: #182
  • Loading branch information
Joshua-Ashton committed Aug 1, 2023
1 parent 8ebdc6b commit 50cef39
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions vphysics_jolt/vphysics_jolt_avx2.vpc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

$Macro PROJNAME "vphysics_jolt_avx2"

$Conditional VOLT_SSE2 "0"
$Conditional VOLT_SSE42 "0"
$Conditional VOLT_AVX2 "1"
$Macro VOLTARCH "AVX2"

Expand Down
4 changes: 3 additions & 1 deletion vphysics_jolt/vphysics_jolt_sse2.vpc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

$Macro PROJNAME "vphysics_jolt_sse2"

$Conditional VOLT_SSE2 "1"
$Conditional VOLT_SSE2 "1"
$Conditional VOLT_SSE42 "0"
$Conditional VOLT_AVX2 "0"
$Macro VOLTARCH "SSE2"

$Include "vphysics_jolt_inc.vpc"
4 changes: 3 additions & 1 deletion vphysics_jolt/vphysics_jolt_sse42.vpc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

$Macro PROJNAME "vphysics_jolt_sse42"

$Conditional VOLT_SSE42 "1"
$Conditional VOLT_SSE2 "0"
$Conditional VOLT_SSE42 "1"
$Conditional VOLT_AVX2 "0"
$Macro VOLTARCH "SSE42"

$Include "vphysics_jolt_inc.vpc"

0 comments on commit 50cef39

Please sign in to comment.