Skip to content

Commit

Permalink
Commented out false sharing debug counters
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfestridershooter committed Nov 3, 2023
1 parent 3b2fb5a commit 1c3f381
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sp/src/raytrace/raytrace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ void CacheOptimizedTriangle::ChangeIntoIntersectionFormat(void)

}

int n_intersection_calculations=0;
//int n_intersection_calculations=0;

int CacheOptimizedTriangle::ClassifyAgainstAxisSplit(int split_plane, float split_value)
{
Expand Down Expand Up @@ -476,7 +476,7 @@ void RayTracingEnvironment::Trace4Rays(const FourRays &rays, fltx4 TMin, fltx4 T
TriIntersectData_t const *tri = &( OptimizedTriangleList[tnum].m_Data.m_IntersectData );
if ( ( mailboxids[mbox_slot] != tnum ) && ( tri->m_nTriangleID != skip_id ) )
{
n_intersection_calculations++;
//n_intersection_calculations++;
mailboxids[mbox_slot] = tnum;
// compute plane intersection

Expand Down

0 comments on commit 1c3f381

Please sign in to comment.