mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Use const reference array for GetThreadRefs()
Small optimisation
This commit is contained in:
@@ -9631,7 +9631,7 @@ rdcarray<ShaderDebugState> Debugger::ContinueDebug(DebugAPIWrapper *apiWrapper)
|
||||
if(!tangle.IsAliveActive())
|
||||
continue;
|
||||
|
||||
rdcarray<ThreadReference> threadRefs = tangle.GetThreadRefs();
|
||||
const rdcarray<ThreadReference> &threadRefs = tangle.GetThreadRefs();
|
||||
// calculate the current active thread mask from the threads in the tangle
|
||||
{
|
||||
// one bool per workgroup thread
|
||||
|
||||
Reference in New Issue
Block a user