mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 21:50:11 +01:00
anv : Add tracepoint for as_build
Signed-off-by: Michael Cheng <michael.cheng@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31588>
This commit is contained in:
parent
5098c0c5df
commit
ed620bcd41
1 changed files with 3 additions and 0 deletions
|
|
@ -640,6 +640,8 @@ genX(CmdBuildAccelerationStructuresKHR)(
|
|||
const VkAccelerationStructureBuildRangeInfoKHR* const* ppBuildRangeInfos)
|
||||
{
|
||||
ANV_FROM_HANDLE(anv_cmd_buffer, cmd_buffer, commandBuffer);
|
||||
trace_intel_begin_as_build(&cmd_buffer->trace);
|
||||
|
||||
struct anv_device *device = cmd_buffer->device;
|
||||
|
||||
VkResult result = anv_device_init_accel_struct_build_state(device);
|
||||
|
|
@ -660,6 +662,7 @@ genX(CmdBuildAccelerationStructuresKHR)(
|
|||
&device->accel_struct_build.build_args);
|
||||
|
||||
anv_cmd_buffer_restore_state(cmd_buffer, &saved);
|
||||
trace_intel_end_as_build(&cmd_buffer->trace);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue