diff options
author | Simon Ser <contact@emersion.fr> | 2023-04-14 15:53:20 +0200 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2023-04-18 15:58:55 +0000 |
commit | 92b726ef670b6610796d1e8b80f2ac7e2f4ad6b0 (patch) | |
tree | 094c8cc6d8321227e782965df35319aa01b9c2b2 /render/vulkan/renderer.c | |
parent | 25d9055281a744944fab3016afcb3460610fec89 (diff) |
render/vulkan: use full names for extension command fields
This makes grepping much easier.
Diffstat (limited to 'render/vulkan/renderer.c')
-rw-r--r-- | render/vulkan/renderer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/render/vulkan/renderer.c b/render/vulkan/renderer.c index 0b99a6a4..8d93e936 100644 --- a/render/vulkan/renderer.c +++ b/render/vulkan/renderer.c @@ -444,7 +444,7 @@ static bool wait_command_buffer(struct wlr_vk_command_buffer *cb, .pSemaphores = &renderer->timeline_semaphore, .pValues = &cb->timeline_point, }; - res = renderer->dev->api.waitSemaphoresKHR(renderer->dev->dev, &wait_info, UINT64_MAX); + res = renderer->dev->api.vkWaitSemaphoresKHR(renderer->dev->dev, &wait_info, UINT64_MAX); if (res != VK_SUCCESS) { wlr_vk_error("vkWaitSemaphoresKHR", res); return false; @@ -476,7 +476,7 @@ static struct wlr_vk_command_buffer *get_command_buffer( VkResult res; uint64_t current_point; - res = renderer->dev->api.getSemaphoreCounterValueKHR(renderer->dev->dev, + res = renderer->dev->api.vkGetSemaphoreCounterValueKHR(renderer->dev->dev, renderer->timeline_semaphore, ¤t_point); if (res != VK_SUCCESS) { wlr_vk_error("vkGetSemaphoreCounterValueKHR", res); @@ -839,7 +839,7 @@ static bool vulkan_sync_foreign_texture(struct wlr_vk_texture *texture) { .semaphore = texture->foreign_semaphores[i], .fd = sync_file_fd, }; - res = renderer->dev->api.importSemaphoreFdKHR(renderer->dev->dev, &import_info); + res = renderer->dev->api.vkImportSemaphoreFdKHR(renderer->dev->dev, &import_info); if (res != VK_SUCCESS) { close(sync_file_fd); wlr_vk_error("vkImportSemaphoreFdKHR", res); @@ -873,7 +873,7 @@ static bool vulkan_sync_render_buffer(struct wlr_vk_renderer *renderer, .handleType = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT, }; int sync_file_fd = -1; - res = renderer->dev->api.getSemaphoreFdKHR(renderer->dev->dev, + res = renderer->dev->api.vkGetSemaphoreFdKHR(renderer->dev->dev, &get_fence_fd_info, &sync_file_fd); if (res != VK_SUCCESS) { wlr_vk_error("vkGetSemaphoreFdKHR", res); |