mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Make RT AS commands 'actions'
This commit is contained in:
committed by
Baldur Karlsson
parent
e7975ca9f7
commit
cf76de368c
@@ -7883,6 +7883,11 @@ bool WrappedVulkan::Serialise_vkCmdBuildAccelerationStructuresKHR(
|
||||
ObjDisp(commandBuffer)
|
||||
->CmdBuildAccelerationStructuresKHR(Unwrap(commandBuffer), infoCount, unwrappedInfos,
|
||||
tmpBuildRangeInfos.data());
|
||||
|
||||
AddEvent();
|
||||
ActionDescription action;
|
||||
action.flags = ActionFlags::BuildAccStruct;
|
||||
AddAction(action);
|
||||
}
|
||||
|
||||
return true;
|
||||
@@ -7964,6 +7969,11 @@ bool WrappedVulkan::Serialise_vkCmdCopyAccelerationStructureKHR(
|
||||
unwrappedInfo.dst = Unwrap(unwrappedInfo.dst);
|
||||
|
||||
ObjDisp(commandBuffer)->CmdCopyAccelerationStructureKHR(Unwrap(commandBuffer), &unwrappedInfo);
|
||||
|
||||
AddEvent();
|
||||
ActionDescription action;
|
||||
action.flags = ActionFlags::BuildAccStruct;
|
||||
AddAction(action);
|
||||
}
|
||||
|
||||
return true;
|
||||
@@ -8042,6 +8052,11 @@ bool WrappedVulkan::Serialise_vkCmdCopyMemoryToAccelerationStructureKHR(
|
||||
unwrappedInfo.dst = Unwrap(unwrappedInfo.dst);
|
||||
|
||||
ObjDisp(commandBuffer)->CmdCopyMemoryToAccelerationStructureKHR(Unwrap(commandBuffer), &unwrappedInfo);
|
||||
|
||||
AddEvent();
|
||||
ActionDescription action;
|
||||
action.flags = ActionFlags::BuildAccStruct;
|
||||
AddAction(action);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user