render/vulkan: add "acquire" to vulkan_sync_foreign_texture()

Makes it more obvious that this is about the acquire side, not the
release side.

(cherry picked from commit 8c8d6363a1)
This commit is contained in:
Simon Ser 2026-02-14 18:06:40 +01:00 committed by Simon Zeni
parent a34411c2fe
commit 6fee18f373
3 changed files with 3 additions and 3 deletions

View file

@ -314,7 +314,7 @@ static bool render_pass_submit(struct wlr_render_pass *wlr_pass) {
sync_file_fds[0] = sync_file_fd;
} else {
struct wlr_vk_texture *texture = pass_texture->texture;
if (!vulkan_sync_foreign_texture(texture, sync_file_fds)) {
if (!vulkan_sync_foreign_texture_acquire(texture, sync_file_fds)) {
wlr_log(WLR_ERROR, "Failed to wait for foreign texture DMA-BUF fence");
continue;
}