Ticket #161: testocc.patch

File testocc.patch, 1.4 kB (added by dshipton, 2 years ago)

Patch for compiling…..not sure if it is correct…documentation might help ;)

  • Source/System/Action/RenderTraversal/testOcclusionCulling.cpp

    old new  
    2929#include <NVPerfSDK.h> 
    3030 
    3131 
    32 StatElemDesc<StatStringElem> GPUIdleStat("GPUIdle","GPUIdle", 
    33             StatElemDescBase::RESET_NEVER); 
    34 StatElemDesc<StatStringElem> PSBusyStat("PSBusyStat","PSBusyStat", 
    35             StatElemDescBase::RESET_NEVER); 
    36 StatElemDesc<StatStringElem> VSBusyStat("VSBusyStat","VSBusyStat", 
    37             StatElemDescBase::RESET_NEVER); 
    38 StatElemDesc<StatStringElem> TextureWaitStat("TextureWait","TextureWait", 
    39             StatElemDescBase::RESET_NEVER); 
    40 StatElemDesc<StatStringElem> OGLFPSStat("OGL FPS","OGL FPS", 
    41             StatElemDescBase::RESET_NEVER); 
     32StatElemDesc<StatStringElem> GPUIdleStat("GPUIdle","GPUIdle"); 
     33StatElemDesc<StatStringElem> PSBusyStat("PSBusyStat","PSBusyStat"); 
     34StatElemDesc<StatStringElem> VSBusyStat("VSBusyStat","VSBusyStat"); 
     35StatElemDesc<StatStringElem> TextureWaitStat("TextureWait","TextureWait"); 
     36StatElemDesc<StatStringElem> OGLFPSStat("OGL FPS","OGL FPS"); 
    4237 
    4338StatElemDesc<StatStringElem> *nvStatElems[] =  
    4439    { &GPUIdleStat, &PSBusyStat, &VSBusyStat, &TextureWaitStat, &OGLFPSStat,