mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-18 15:30:25 +01:00
nvk: Use vk_drm_syncobj_copy_payloads
Acked-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36827>
This commit is contained in:
parent
e0c30b0fc2
commit
eb421b6a9e
1 changed files with 2 additions and 0 deletions
|
|
@ -12,6 +12,7 @@
|
|||
#include "nvk_shader.h"
|
||||
#include "nvkmd/nvkmd.h"
|
||||
|
||||
#include "vk_drm_syncobj.h"
|
||||
#include "vk_pipeline_cache.h"
|
||||
#include "vulkan/wsi/wsi_common.h"
|
||||
|
||||
|
|
@ -164,6 +165,7 @@ nvk_CreateDevice(VkPhysicalDevice physicalDevice,
|
|||
dev->vk.command_buffer_ops = &nvk_cmd_buffer_ops;
|
||||
|
||||
dev->vk.get_timestamp = nvk_device_get_timestamp;
|
||||
dev->vk.copy_sync_payloads = vk_drm_syncobj_copy_payloads;
|
||||
|
||||
result = nvk_upload_queue_init(dev, &dev->upload);
|
||||
if (result != VK_SUCCESS)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue