mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Shader ControlFlow only add new merge points
Previously it would only test against the head of the existing merge points, now checks the whole array
This commit is contained in:
@@ -72,7 +72,7 @@ public:
|
||||
void AddMergePoint(ExecutionPoint execPoint)
|
||||
{
|
||||
// only add a new merge point
|
||||
if(execPoint != m_MergePoints.back())
|
||||
if(!m_MergePoints.contains(execPoint))
|
||||
m_MergePoints.push_back(execPoint);
|
||||
m_StateChanged = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user