mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 19:20:08 +01:00
zink: do not use undefined stage mask if on missing KHR_synchronization2
VK_PIPELINE_STAGE_NONE can only be set as dstStageMask if KHR_synchronization2 is defined. Signed-off-by: Corentin Noël <corentin.noel@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27682>
This commit is contained in:
parent
7cafe65ea1
commit
dd6decfaba
1 changed files with 1 additions and 1 deletions
|
|
@ -717,7 +717,7 @@ submit_queue(void *data, void *gdata, int thread_index)
|
|||
mb.dstAccessMask = VK_ACCESS_NONE;
|
||||
VKSCR(CmdPipelineBarrier)(bs->reordered_cmdbuf,
|
||||
bs->unordered_write_stages,
|
||||
VK_PIPELINE_STAGE_NONE,
|
||||
screen->info.have_KHR_synchronization2 ? VK_PIPELINE_STAGE_NONE : VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT,
|
||||
0, 1, &mb, 0, NULL, 0, NULL);
|
||||
}
|
||||
VRAM_ALLOC_LOOP(result,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue