Giovanni Mascellani : vkd3d: Always emit an error when failing to reserve for the op array.
Module: vkd3d Branch: master Commit: dcac2646e45c9dac1fc4f0816ac79bd14deece82 URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/dcac2646e45c9dac1fc4f0816ac79b... Author: Giovanni Mascellani <gmascellani(a)codeweavers.com> Date: Tue Jun 27 17:16:05 2023 +0200 vkd3d: Always emit an error when failing to reserve for the op array. --- libs/vkd3d/command.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/vkd3d/command.c b/libs/vkd3d/command.c index 48c3111c..2a4bbf5d 100644 --- a/libs/vkd3d/command.c +++ b/libs/vkd3d/command.c @@ -6488,6 +6488,7 @@ static HRESULT STDMETHODCALLTYPE d3d12_command_queue_Signal(ID3D12CommandQueue * if (!(op = d3d12_command_queue_op_array_require_space(&command_queue->op_queue))) { + ERR("Failed to add op.\n"); hr = E_OUTOFMEMORY; goto done; } @@ -6826,6 +6827,7 @@ static HRESULT STDMETHODCALLTYPE d3d12_command_queue_Wait(ID3D12CommandQueue *if if (!(op = d3d12_command_queue_op_array_require_space(&command_queue->op_queue))) { + ERR("Failed to add op.\n"); hr = E_OUTOFMEMORY; goto done; }
participants (1)
-
Alexandre Julliard