summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_device.c
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2016-10-06 15:21:50 -0700
committerNanley Chery <nanley.g.chery@intel.com>2016-10-07 12:54:18 -0700
commitb4bbabf21b5a80e9ee1700cb9d3306666aa244a4 (patch)
treee15b5106de9106e9bb71af19edaf381221967986 /src/intel/vulkan/anv_device.c
parent917814dccd4354db09a1b7bf977ef2352b74c917 (diff)
downloadexternal_mesa3d-b4bbabf21b5a80e9ee1700cb9d3306666aa244a4.zip
external_mesa3d-b4bbabf21b5a80e9ee1700cb9d3306666aa244a4.tar.gz
external_mesa3d-b4bbabf21b5a80e9ee1700cb9d3306666aa244a4.tar.bz2
anv: Move BindImageMemory to anv_image.c
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com> Reviewed-by: Chad Versace <chadversary@chromium.org> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Diffstat (limited to 'src/intel/vulkan/anv_device.c')
-rw-r--r--src/intel/vulkan/anv_device.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index c7b9979..9f8fa33 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -1421,26 +1421,6 @@ VkResult anv_BindBufferMemory(
return VK_SUCCESS;
}
-VkResult anv_BindImageMemory(
- VkDevice device,
- VkImage _image,
- VkDeviceMemory _memory,
- VkDeviceSize memoryOffset)
-{
- ANV_FROM_HANDLE(anv_device_memory, mem, _memory);
- ANV_FROM_HANDLE(anv_image, image, _image);
-
- if (mem) {
- image->bo = &mem->bo;
- image->offset = memoryOffset;
- } else {
- image->bo = NULL;
- image->offset = 0;
- }
-
- return VK_SUCCESS;
-}
-
VkResult anv_QueueBindSparse(
VkQueue queue,
uint32_t bindInfoCount,