MCPcopy Create free account
hub / github.com/RenderKit/embree / RayStats_addShadowRay

Function RayStats_addShadowRay

tutorials/common/tutorial/tutorial_device.h:137–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135#if defined(ISPC)
136inline void RayStats_addRay(RayStats& stats) { stats.numRays += popcnt(1); }
137inline void RayStats_addShadowRay(RayStats& stats) { stats.numRays += popcnt(1); }
138#else // C++
139__forceinline void RayStats_addRay(RayStats& stats) { stats.numRays++; }
140__forceinline void RayStats_addShadowRay(RayStats& stats) { stats.numRays++; }

Callers 15

renderPixelFunction · 0.85
renderPixelStandardFunction · 0.85
renderPixelFunction · 0.85
renderPixelFunctionFunction · 0.85
renderPixelStandardFunction · 0.85
renderPixelStandardFunction · 0.85
renderPixelStandardFunction · 0.85
renderPixelStandardFunction · 0.85
renderPixelAOShaderFunction · 0.85
renderPixelStandardFunction · 0.85
renderPixelStandardFunction · 0.85
renderPixelStandardFunction · 0.85

Calls 1

popcntFunction · 0.50

Tested by

no test coverage detected