MCPcopy Create free account
hub / github.com/Ipotrick/Daxa / daxa_cmd_write_timestamp

Function daxa_cmd_write_timestamp

src/impl_command_recorder.cpp:1106–1114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1104}
1105
1106void daxa_cmd_write_timestamp(daxa_CommandRecorder self, daxa_WriteTimestampInfo const * info)
1107{
1108 daxa_cmd_flush_barriers(self);
1109 vkCmdWriteTimestamp2(
1110 self->command_arena->vk_command_buffer,
1111 info->pipeline_stage,
1112 (**info->query_pool).vk_timeline_query_pool,
1113 info->query_index);
1114}
1115
1116void daxa_cmd_reset_timestamps(daxa_CommandRecorder self, daxa_ResetTimestampsInfo const * info)
1117{

Callers

nothing calls this directly

Calls 1

daxa_cmd_flush_barriersFunction · 0.85

Tested by

no test coverage detected