mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Fix handling of pass events when selecting a non-draw
This commit is contained in:
@@ -2742,7 +2742,7 @@ rdcarray<uint32_t> D3D12Replay::GetPassEvents(uint32_t eventId)
|
||||
// store all the draw eventIDs up to the one specified at the start
|
||||
while(start)
|
||||
{
|
||||
if(start == draw)
|
||||
if(start->eventId >= draw->eventId)
|
||||
break;
|
||||
|
||||
// include pass boundaries, these will be filtered out later
|
||||
|
||||
@@ -248,7 +248,7 @@ rdcarray<uint32_t> VulkanReplay::GetPassEvents(uint32_t eventId)
|
||||
// store all the draw eventIDs up to the one specified at the start
|
||||
while(start)
|
||||
{
|
||||
if(start == draw)
|
||||
if(start->eventId >= draw->eventId)
|
||||
break;
|
||||
|
||||
// include pass boundaries, these will be filtered out later
|
||||
|
||||
Reference in New Issue
Block a user