SWDEV-563271 - return error when pal cmd submission fails (#1585)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
178a5a098d
Коммит
9dd3c2fa70
@@ -566,10 +566,10 @@ bool VirtualGPU::Queue::isDone(uint id) {
|
||||
// Flush the current command buffer
|
||||
if (!flush()) {
|
||||
// If flush failed, then exit earlier...
|
||||
gpu_.dev().gpu_error_ = CL_INVALID_OPERATION;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (Pal::Result::Success != iCmdFences_[id % max_command_buffers_]->GetStatus()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user