File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -703,6 +703,8 @@ void HnBeginFrameTask::Execute(pxr::HdTaskContext* TaskCtx)
703703 HnRenderDelegate* RenderDelegate = static_cast <HnRenderDelegate*>(m_RenderIndex->GetRenderDelegate ());
704704 IDeviceContext* pCtx = RenderDelegate->GetDeviceContext ();
705705
706+ ScopedDebugGroup DebugGroup{pCtx, " Begin Frame" };
707+
706708 // NB: we can't move the buffer update to Prepare() because we need TAA parameters
707709 // that are set by HnPostProcessTask::Prepare().
708710 if (IBuffer* pFrameAttribsCB = RenderDelegate->GetFrameAttribsCB ())
Original file line number Diff line number Diff line change 2929#include " HnRenderPassState.hpp"
3030#include " HnShadowMapManager.hpp"
3131#include " HnTokens.hpp"
32+ #include " ScopedDebugGroup.hpp"
3233
3334namespace Diligent
3435{
@@ -78,6 +79,8 @@ void HnBeginMainPassTask::Execute(pxr::HdTaskContext* TaskCtx)
7879 HnRenderDelegate* RenderDelegate = static_cast <HnRenderDelegate*>(m_RenderIndex->GetRenderDelegate ());
7980 IDeviceContext* pCtx = RenderDelegate->GetDeviceContext ();
8081
82+ ScopedDebugGroup DebugGroup{pCtx, " Begin Main Pass" };
83+
8184 // Note that HnRenderShadowsTask may be disabled, so we need to transition the shadow map state here
8285 if (const HnShadowMapManager* ShadowMapMgr = RenderDelegate->GetShadowMapManager ())
8386 {
You can’t perform that action at this time.
0 commit comments