From c00de7e15eb0a12da0f6edaa17cd8b782fadde45 Mon Sep 17 00:00:00 2001 From: Jake Turner Date: Fri, 20 Jun 2025 06:58:16 +0100 Subject: [PATCH] Expose ControlFlow::Tangle::GetId() --- renderdoc/shaders/controlflow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderdoc/shaders/controlflow.h b/renderdoc/shaders/controlflow.h index 0762bb319..4d233eda5 100644 --- a/renderdoc/shaders/controlflow.h +++ b/renderdoc/shaders/controlflow.h @@ -60,6 +60,7 @@ public: uint32_t GetThreadCount() const { return (uint32_t)m_ThreadRefs.count(); } bool ContainsThread(ThreadIndex threadId) const; const rdcarray &GetThreadRefs() const { return m_ThreadRefs; } + int32_t GetId() const { return m_Id; } void SetDiverged(bool value) { m_Diverged = value; @@ -89,7 +90,6 @@ public: bool IsAlive() const { return m_Alive; } private: - int32_t GetId() const { return m_Id; } void SetThreadExecutionPoint(ThreadIndex threadId, ExecutionPoint execPoint); bool Entangled(const Tangle &other) const; void AddThreadReference(const ThreadReference &threadRef)