From 2fd7cd94e31b8b8a906fb73ad590a994ff7cff63 Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 11 Sep 2025 17:18:08 +0100 Subject: [PATCH] Only consider active lanes when choosing the candidate compute thread --- renderdoc/driver/vulkan/vk_shaderdebug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderdoc/driver/vulkan/vk_shaderdebug.cpp b/renderdoc/driver/vulkan/vk_shaderdebug.cpp index 98da44c55..27c45ef15 100644 --- a/renderdoc/driver/vulkan/vk_shaderdebug.cpp +++ b/renderdoc/driver/vulkan/vk_shaderdebug.cpp @@ -6281,7 +6281,7 @@ ShaderDebugTrace *VulkanReplay::DebugComputeCommon(ShaderStage stage, uint32_t e compData->threadid[1] * threadDim[0] + compData->threadid[0]; } - if(rdcfixedarray(compData->threadid) == threadid) + if(rdcfixedarray(compData->threadid) == threadid && subgroupData->isActive) laneIndex = lane; apiWrapper->thread_props[lane][(size_t)rdcspv::ThreadProperty::Active] = subgroupData->isActive;