SWDEV-334315 - Correct instruction timing API info

Change-Id: I9d291adac076d36776dc7316b411bd093230ca01
这个提交包含在:
German Andryeyev 于 2022-05-17 10:17:07 -04:00 提交
1 父节点 8d8dc60fb9
当前提交 f0309be0de
1 个文件已更改
+7
+7
查看文件
@@ -608,6 +608,13 @@ Pal::Result RgpCaptureMgr::BeginRGPTrace(VirtualGPU* gpu) {
gpu->eventEnd(MainEngine, trace_.begin_sqtt_event_);
}
if (result == Pal::Result::Success) {
GpuUtil::SampleTraceApiInfo sample_trace_api_info = {};
sample_trace_api_info.instructionTraceMode = (inst_tracing_enabled_) ?
GpuUtil::InstructionTraceMode::FullFrame : GpuUtil::InstructionTraceMode::Disabled;
trace_.gpa_session_->SetSampleTraceApiInfo(sample_trace_api_info, trace_.gpa_sample_id_);
}
// Submit the trace-begin command buffer
if (result == Pal::Result::Success) {
static constexpr bool NeedFlush = true;