diff options
author | Erik Faye-Lund <[email protected]> | 2019-07-10 12:46:30 +0200 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2019-10-28 08:51:45 +0000 |
commit | 4c5ade8ca6114435cfc1244675e825d913d85c38 (patch) | |
tree | e9ae1701e0af3c14c3aec96e79e45fe9c9a9e51b /src/gallium/drivers/zink/zink_batch.c | |
parent | 03efb6dd27b9ad8aafc8d06a4b8bd338fa850f89 (diff) |
zink: drop unused argument
Because si.waitSemaphoreCount is 0, this won't even be looked at by the
driver, so let's just drop it.
Acked-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/zink/zink_batch.c')
-rw-r--r-- | src/gallium/drivers/zink/zink_batch.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/zink/zink_batch.c b/src/gallium/drivers/zink/zink_batch.c index 1f87e874aaf..c8a4883a807 100644 --- a/src/gallium/drivers/zink/zink_batch.c +++ b/src/gallium/drivers/zink/zink_batch.c @@ -73,15 +73,13 @@ zink_end_batch(struct zink_context *ctx, struct zink_batch *batch) if (!batch->fence) return; - VkPipelineStageFlags wait = VK_PIPELINE_STAGE_ALL_COMMANDS_BIT; - VkSubmitInfo si = {}; si.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; si.waitSemaphoreCount = 0; si.pWaitSemaphores = NULL; si.signalSemaphoreCount = 0; si.pSignalSemaphores = NULL; - si.pWaitDstStageMask = &wait; + si.pWaitDstStageMask = NULL; si.commandBufferCount = 1; si.pCommandBuffers = &batch->cmdbuf; |