Fix handling of pass events when selecting a non-draw

This commit is contained in:
baldurk
2021-05-27 11:45:01 +01:00
parent d8d99f49d6
commit ffa33cfda2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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