Only consider active lanes when choosing the candidate compute thread

This commit is contained in:
baldurk
2025-09-11 17:18:08 +01:00
parent 7c5b76dcad
commit 2fd7cd94e3
+1 -1
View File
@@ -6281,7 +6281,7 @@ ShaderDebugTrace *VulkanReplay::DebugComputeCommon(ShaderStage stage, uint32_t e
compData->threadid[1] * threadDim[0] + compData->threadid[0];
}
if(rdcfixedarray<uint32_t, 3>(compData->threadid) == threadid)
if(rdcfixedarray<uint32_t, 3>(compData->threadid) == threadid && subgroupData->isActive)
laneIndex = lane;
apiWrapper->thread_props[lane][(size_t)rdcspv::ThreadProperty::Active] = subgroupData->isActive;