vkd3d: Handle VKD3D_ERROR_INVALID_SHADER in hresult_from_vkd3d_result().

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2018-11-08 17:19:28 +01:00 committed by Alexandre Julliard
parent c2e0bf1244
commit 4d149b6f89

View File

@ -410,6 +410,7 @@ HRESULT hresult_from_vkd3d_result(int vkd3d_result)
case VKD3D_ERROR_OUT_OF_MEMORY:
return E_OUTOFMEMORY;
case VKD3D_ERROR_INVALID_ARGUMENT:
case VKD3D_ERROR_INVALID_SHADER:
return E_INVALIDARG;
case VKD3D_ERROR_NOT_IMPLEMENTED:
return E_NOTIMPL;