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

Esse commit está contido em:
Rahul Manocha
2025-12-05 11:25:01 -08:00
commit de GitHub
commit 9dd3c2fa70
+1 -1
Ver Arquivo
@@ -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;
}