| 216 | } |
| 217 | |
| 218 | void OnSync() override |
| 219 | { |
| 220 | GPUTask::OnSync(); |
| 221 | _signal->NotifyOne(); |
| 222 | #if GPU_ALLOW_PROFILE_EVENTS |
| 223 | uint64 time; |
| 224 | if (GPUDevice::Instance->GetQueryResult(_timerQuery, time, true)) |
| 225 | LOG(Info, "GPU SDF generation took {} ms", Utilities::RoundTo1DecimalPlace(time * 0.001f)); |
| 226 | #endif |
| 227 | } |
| 228 | |
| 229 | void OnFail() override |
| 230 | { |
nothing calls this directly
no test coverage detected