From ed9c6e7071ea1e137f2ac07ac0eaddb32702e167 Mon Sep 17 00:00:00 2001 From: jbikker Date: Wed, 6 Nov 2024 17:42:46 +0100 Subject: [PATCH] Added a small todo. --- tiny_bvh.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tiny_bvh.h b/tiny_bvh.h index 3652d41..5c4a528 100644 --- a/tiny_bvh.h +++ b/tiny_bvh.h @@ -911,6 +911,9 @@ void BVH::Intersect256Rays( Ray* packet ) const #ifdef BVH_USEAVX // Intersect a BVH with a ray packet, basic SSE-optimized version. +// Note: This yields +10% on 10th gen Intel CPUs, but a small loss on +// more recent hardware. This function needs a full conversion to work +// with groups of 8 rays at a time - TODO. void BVH::Intersect256RaysSSE( Ray* packet ) const { // Corner rays are: 0, 51, 204 and 255