mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
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:
parent
c2e0bf1244
commit
4d149b6f89
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user