From 09565850a9eb7fa17abce7382e355b6c44b3d960 Mon Sep 17 00:00:00 2001 From: Robin Voetter Date: Sat, 11 Feb 2023 12:50:04 +0100 Subject: [PATCH] Explicitly pass null to p_wait_dst_stage_mask in SubmitInfo It seems that the optional-ness of this field was changed in a recent-ish vk.xml update. --- examples/triangle.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/triangle.zig b/examples/triangle.zig index df4e70e..6b4f59c 100644 --- a/examples/triangle.zig +++ b/examples/triangle.zig @@ -210,6 +210,7 @@ fn copyBuffer(gc: *const GraphicsContext, pool: vk.CommandPool, dst: vk.Buffer, const si = vk.SubmitInfo{ .command_buffer_count = 1, .p_command_buffers = @ptrCast([*]const vk.CommandBuffer, &cmdbuf), + .p_wait_dst_stage_mask = undefined, }; try gc.vkd.queueSubmit(gc.graphics_queue.handle, 1, @ptrCast([*]const vk.SubmitInfo, &si), .null_handle); try gc.vkd.queueWaitIdle(gc.graphics_queue.handle);