| 50 | } |
| 51 | |
| 52 | void WarpProfiler::begin(RenderContext* pRenderContext) |
| 53 | { |
| 54 | FALCOR_CHECK(!mActive, "WarpProfiler: begin() already called."); |
| 55 | |
| 56 | pRenderContext->clearUAV(mpHistogramBuffer->getUAV().get(), uint4(0)); |
| 57 | |
| 58 | mActive = true; |
| 59 | mDataWaiting = false; |
| 60 | } |
| 61 | |
| 62 | void WarpProfiler::end(RenderContext* pRenderContext) |
| 63 | { |