mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-19 20:50:44 +01:00
anti-lag: Fix stype for submit2 semaphores.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
Fixes: 722ffe9a73 ("vulkan: implement VK_AMD_anti_lag as implicit vulkan layer")
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37159>
This commit is contained in:
parent
d8add9866b
commit
fa486a0346
1 changed files with 1 additions and 1 deletions
|
|
@ -518,7 +518,7 @@ queue_submit2(device_context *ctx, VkQueue queue, uint32_t submitCount,
|
|||
memcpy(semaphores, submit_info->pSignalSemaphoreInfos,
|
||||
sizeof(VkSemaphoreSubmitInfo) * submit_info->signalSemaphoreInfoCount);
|
||||
semaphores[submit_info->signalSemaphoreInfoCount] = (VkSemaphoreSubmitInfo){
|
||||
.sType = VK_STRUCTURE_TYPE_TIMELINE_SEMAPHORE_SUBMIT_INFO,
|
||||
.sType = VK_STRUCTURE_TYPE_SEMAPHORE_SUBMIT_INFO,
|
||||
.semaphore = queue_ctx->semaphore,
|
||||
.value = queue_ctx->semaphore_value,
|
||||
.stageMask = VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue