VulkanRenderer: Handle new errors cases
This commit is contained in:
parent
54046170c0
commit
8cdd922177
|
|
@ -35,7 +35,7 @@ namespace Nz
|
||||||
|
|
||||||
case VK_ERROR_OUT_OF_DEVICE_MEMORY:
|
case VK_ERROR_OUT_OF_DEVICE_MEMORY:
|
||||||
return "A device memory allocation has failed";
|
return "A device memory allocation has failed";
|
||||||
|
|
||||||
case VK_ERROR_INITIALIZATION_FAILED:
|
case VK_ERROR_INITIALIZATION_FAILED:
|
||||||
return "Initialization of an object could not be completed for implementation-specific reasons";
|
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:
|
case VK_ERROR_INVALID_SHADER_NV:
|
||||||
return "One or more shaders failed to compile or link";
|
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:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue