From 3b2d45131b42e20618fa9753c12a158e3bcbdf19 Mon Sep 17 00:00:00 2001 From: baldurk Date: Sun, 18 Jan 2015 12:05:01 +0000 Subject: [PATCH] Allow renaming of a stage in the pipeline flowchart control --- renderdocui/Controls/PipelineFlowchart.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/renderdocui/Controls/PipelineFlowchart.cs b/renderdocui/Controls/PipelineFlowchart.cs index 6267e78ba..010219a68 100644 --- a/renderdocui/Controls/PipelineFlowchart.cs +++ b/renderdocui/Controls/PipelineFlowchart.cs @@ -89,6 +89,14 @@ namespace renderdocui.Controls Invalidate(); } + public void SetStageName(int index, KeyValuePair name) + { + if (index >= 0 && index < m_StageNames.Length) + m_StageNames[index] = name; + + Invalidate(); + } + public void IsolateStage(int index) { if (m_StageNames != null && index >= 0 && index < m_StageNames.Length)