Mesa (main): panvk: Drop BindImage/BufferMemory
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Mar 18 08:29:54 UTC 2022
Module: Mesa
Branch: main
Commit: 2fc2ec17db911ad839e634c7507909bf14a6ca48
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2fc2ec17db911ad839e634c7507909bf14a6ca48
Author: Jason Ekstrand <jason.ekstrand at collabora.com>
Date: Thu Mar 17 16:25:30 2022 -0500
panvk: Drop BindImage/BufferMemory
We already provide the 2 versions and the Vulkan runtime will map the
1.0 entrypoints to the 2 versions for us.
Reviewed-by: Boris Brezillon <boris.brezillon at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15436>
---
src/panfrost/vulkan/panvk_device.c | 32 --------------------------------
1 file changed, 32 deletions(-)
diff --git a/src/panfrost/vulkan/panvk_device.c b/src/panfrost/vulkan/panvk_device.c
index a2be393a36f..8a7fd0d4587 100644
--- a/src/panfrost/vulkan/panvk_device.c
+++ b/src/panfrost/vulkan/panvk_device.c
@@ -1334,22 +1334,6 @@ panvk_BindBufferMemory2(VkDevice device,
return VK_SUCCESS;
}
-VkResult
-panvk_BindBufferMemory(VkDevice device,
- VkBuffer buffer,
- VkDeviceMemory memory,
- VkDeviceSize memoryOffset)
-{
- const VkBindBufferMemoryInfo info = {
- .sType = VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO,
- .buffer = buffer,
- .memory = memory,
- .memoryOffset = memoryOffset
- };
-
- return panvk_BindBufferMemory2(device, 1, &info);
-}
-
VkResult
panvk_BindImageMemory2(VkDevice device,
uint32_t bindInfoCount,
@@ -1384,22 +1368,6 @@ panvk_BindImageMemory2(VkDevice device,
return VK_SUCCESS;
}
-VkResult
-panvk_BindImageMemory(VkDevice device,
- VkImage image,
- VkDeviceMemory memory,
- VkDeviceSize memoryOffset)
-{
- const VkBindImageMemoryInfo info = {
- .sType = VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO,
- .image = image,
- .memory = memory,
- .memoryOffset = memoryOffset
- };
-
- return panvk_BindImageMemory2(device, 1, &info);
-}
-
VkResult
panvk_QueueBindSparse(VkQueue _queue,
uint32_t bindInfoCount,
More information about the mesa-commit
mailing list