diff options
-rw-r--r-- | src/intel/vulkan/anv_device.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 69de75c7374..8b44b1bb1ec 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -2051,6 +2051,9 @@ VkResult anv_AllocateMemory( bo_flags |= EXEC_OBJECT_ASYNC; } + if (pdevice->use_softpin) + bo_flags |= EXEC_OBJECT_PINNED; + const VkImportMemoryFdInfoKHR *fd_info = vk_find_struct_const(pAllocateInfo->pNext, IMPORT_MEMORY_FD_INFO_KHR); |