Use const reference array for GetThreadRefs()

Small optimisation
This commit is contained in:
Jake Turner
2025-06-26 13:32:44 +01:00
parent c00de7e15e
commit e4e1e27814
+1 -1
View File
@@ -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