Skip to content

Commit

Permalink
Exclude AltSOA traversal from non-AVX builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbikker committed Nov 12, 2024
1 parent 17242b4 commit 5fba272
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tiny_bvh.h
Original file line number Diff line number Diff line change
Expand Up @@ -1607,9 +1607,6 @@ int BVH::Intersect( Ray& ray, BVHLayout layout ) const
case AILA_LAINE:
return Intersect_AilaLaine( ray );
break;
case ALT_SOA:
return Intersect_AltSoA( ray );
break;
case BASIC_BVH4:
return Intersect_BasicBVH4( ray );
break;
Expand All @@ -1620,6 +1617,9 @@ int BVH::Intersect( Ray& ray, BVHLayout layout ) const
return Intersect_BasicBVH8( ray );
break;
#ifdef BVH_USEAVX
case ALT_SOA:
return Intersect_AltSoA( ray );
break;
case CWBVH:
return Intersect_CWBVH( ray );
break;
Expand Down

0 comments on commit 5fba272

Please sign in to comment.