SWDEV-523853 - Use RecordRenderOps instead of RecordRenderOp (#97)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
ded41058a0
Коммит
686dd56a4e
@@ -182,8 +182,11 @@ void UberTraceCaptureMgr::PreDispatch(VirtualGPU* gpu, const HSAILKernel& kernel
|
||||
|
||||
// Increment dispatch count in RenderOp trace controller
|
||||
Pal::IQueue* pQueue = gpu->queue(MainEngine).iQueue_;
|
||||
trace_controller_->RecordRenderOp(pQueue,
|
||||
GpuUtil::RenderOpTraceController::RenderOp::RenderOpDispatch);
|
||||
GpuUtil::RenderOpCounts opCounts =
|
||||
{
|
||||
.dispatchCount = 1u,
|
||||
};
|
||||
trace_controller_->RecordRenderOps(pQueue,opCounts);
|
||||
|
||||
if (trace_session_->GetTraceSessionState() == GpuUtil::TraceSessionState::Running) {
|
||||
RgpSqttMarkerEventType apiEvent = RgpSqttMarkerEventType::CmdNDRangeKernel;
|
||||
|
||||
Ссылка в новой задаче
Block a user