Skip to content

Commit

Permalink
fix and adapt to latest blend2d
Browse files Browse the repository at this point in the history
expose more usefull APIs and code refined

composition works correctly now
  • Loading branch information
mhfan committed Jun 4, 2024
1 parent eb9be40 commit 710d4f8
Show file tree
Hide file tree
Showing 3 changed files with 476 additions and 127 deletions.
3 changes: 3 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
is_x86_feature_detected!("avx2").then(||
cc.flag("-mavx2").define("BL_BUILD_OPT_AVX2", None));

is_x86_feature_detected!("avx2fma").then(||
cc.flag("-mavx2 -mfma").define("BL_BUILD_OPT_AVX2", None));

is_x86_feature_detected!("avx").then(||
cc.flag("-mavx").define("BL_BUILD_OPT_AVX", None));

Expand Down
Loading

0 comments on commit 710d4f8

Please sign in to comment.