mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Add some profile markers in common hotspots
This commit is contained in:
@@ -131,6 +131,8 @@ void PipelineStateViewer::OnCaptureClosed()
|
||||
|
||||
void PipelineStateViewer::OnEventChanged(uint32_t eventId)
|
||||
{
|
||||
RENDERDOC_PROFILEFUNCTION();
|
||||
|
||||
if(m_Ctx.APIProps().pipelineType == GraphicsAPI::D3D11)
|
||||
setToD3D11();
|
||||
else if(m_Ctx.APIProps().pipelineType == GraphicsAPI::D3D12)
|
||||
|
||||
Reference in New Issue
Block a user