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:
committed by
Marge Bot
parent
e0c30b0fc2
commit
eb421b6a9e
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user