mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-01-16 08:48:01 +03:00
Commented out false sharing debug counters
This commit is contained in:
parent
0d8dceea43
commit
9b60581aa3
@ -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)
|
int CacheOptimizedTriangle::ClassifyAgainstAxisSplit(int split_plane, float split_value)
|
||||||
{
|
{
|
||||||
@ -476,7 +476,7 @@ void RayTracingEnvironment::Trace4Rays(const FourRays &rays, fltx4 TMin, fltx4 T
|
|||||||
TriIntersectData_t const *tri = &( OptimizedTriangleList[tnum].m_Data.m_IntersectData );
|
TriIntersectData_t const *tri = &( OptimizedTriangleList[tnum].m_Data.m_IntersectData );
|
||||||
if ( ( mailboxids[mbox_slot] != tnum ) && ( tri->m_nTriangleID != skip_id ) )
|
if ( ( mailboxids[mbox_slot] != tnum ) && ( tri->m_nTriangleID != skip_id ) )
|
||||||
{
|
{
|
||||||
n_intersection_calculations++;
|
//n_intersection_calculations++;
|
||||||
mailboxids[mbox_slot] = tnum;
|
mailboxids[mbox_slot] = tnum;
|
||||||
// compute plane intersection
|
// compute plane intersection
|
||||||
|
|
||||||
|
@ -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)
|
int CacheOptimizedTriangle::ClassifyAgainstAxisSplit(int split_plane, float split_value)
|
||||||
{
|
{
|
||||||
@ -476,7 +476,7 @@ void RayTracingEnvironment::Trace4Rays(const FourRays &rays, fltx4 TMin, fltx4 T
|
|||||||
TriIntersectData_t const *tri = &( OptimizedTriangleList[tnum].m_Data.m_IntersectData );
|
TriIntersectData_t const *tri = &( OptimizedTriangleList[tnum].m_Data.m_IntersectData );
|
||||||
if ( ( mailboxids[mbox_slot] != tnum ) && ( tri->m_nTriangleID != skip_id ) )
|
if ( ( mailboxids[mbox_slot] != tnum ) && ( tri->m_nTriangleID != skip_id ) )
|
||||||
{
|
{
|
||||||
n_intersection_calculations++;
|
//n_intersection_calculations++;
|
||||||
mailboxids[mbox_slot] = tnum;
|
mailboxids[mbox_slot] = tnum;
|
||||||
// compute plane intersection
|
// compute plane intersection
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user