VulkanRenderer: Handle new errors cases

This commit is contained in:
Lynix 2017-07-04 23:41:08 +02:00
parent 54046170c0
commit 8cdd922177
1 changed files with 7 additions and 1 deletions

View File

@ -35,7 +35,7 @@ namespace Nz
case VK_ERROR_OUT_OF_DEVICE_MEMORY:
return "A device memory allocation has failed";
case VK_ERROR_INITIALIZATION_FAILED:
return "Initialization of an object could not be completed for implementation-specific reasons";
@ -87,6 +87,12 @@ namespace Nz
case VK_ERROR_INVALID_SHADER_NV:
return "One or more shaders failed to compile or link";
case VK_ERROR_OUT_OF_POOL_MEMORY_KHR:
return "A requested pool allocation has failed";
case VK_ERROR_INVALID_EXTERNAL_HANDLE_KHX:
return "An external handle is not a valid handle of the specified type";
default:
break;
}