diff options
Diffstat (limited to 'src/amd')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index ffeb6450b33..3c63d8c86d6 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -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; } |