SWDEV-563271 - return error when pal cmd submission fails (#1585)

Этот коммит содержится в:
Rahul Manocha
2025-12-05 11:25:01 -08:00
коммит произвёл GitHub
родитель 178a5a098d
Коммит 9dd3c2fa70
+1 -1
Просмотреть файл
@@ -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;
}