radv: change the returned error in radv_signal_fence()
From my point of view, when we aren't able to submit a CS something terribly wrong happens and we are most likely going to lost the device. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
94bc06b196
commit
07832083d3
|
@ -2470,9 +2470,8 @@ static VkResult radv_signal_fence(struct radv_queue *queue,
|
|||
false, fence->fence);
|
||||
radv_free_sem_info(&sem_info);
|
||||
|
||||
/* TODO: find a better error */
|
||||
if (ret)
|
||||
return vk_error(queue->device->instance, VK_ERROR_OUT_OF_DEVICE_MEMORY);
|
||||
return vk_error(queue->device->instance, VK_ERROR_DEVICE_LOST);
|
||||
|
||||
return VK_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue