Skip to content

Commit

Permalink
vkd3d: Fix minor Valgrind warning about uninitialized conditional.
Browse files Browse the repository at this point in the history
Signed-off-by: Hans-Kristian Arntzen <[email protected]>
  • Loading branch information
HansKristian-Work committed Jan 27, 2025
1 parent 03fa254 commit 6299085
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/vkd3d/command.c
Original file line number Diff line number Diff line change
Expand Up @@ -18159,6 +18159,7 @@ static void d3d12_command_queue_eliminate_completed_waits(struct d3d12_command_q
/* If value is 0, we might be dealing with a binary semaphore */
if (command_queue->wait_semaphores[i].value)
{
semaphore_value = 0;
VK_CALL(vkGetSemaphoreCounterValue(command_queue->device->vk_device,
command_queue->wait_semaphores[i].semaphore, &semaphore_value));

Expand Down

0 comments on commit 6299085

Please sign in to comment.