radv: fix 32-bit build failure in radv_queue_internal_submit()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 28 Feb 2020 13:23:16 +0000 (14:23 +0100)
committerEric Anholt <eric@anholt.net>
Sat, 29 Feb 2020 05:54:54 +0000 (05:54 +0000)
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2580
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2578
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3996>

src/amd/vulkan/radv_device.c

index 0ffcf8bd49cfba0e48d2c05aa642eef1c7a21752..12b326d37dcb46356d40048cb80c161ffc93a701 100644 (file)
@@ -4684,7 +4684,7 @@ radv_queue_internal_submit(struct radv_queue *queue, struct radeon_cmdbuf *cs)
        int ret;
 
        result = radv_alloc_sem_info(queue->device, &sem_info, 0, NULL, 0, 0,
-                                    0, NULL, NULL);
+                                    0, NULL, VK_NULL_HANDLE);
        if (result != VK_SUCCESS)
                return false;