From 0c1dbfe899faf2d988e70c15e8ea4259518cae79 Mon Sep 17 00:00:00 2001 From: Paulo Zanoni Date: Wed, 10 Apr 2024 17:17:33 -0700 Subject: [PATCH] anv/sparse: remove unused dump_vk_sparse_memory_bind() This went unused a while ago. If we decide we want it again we can just add it back. Reviewed-by: Lionel Landwerlin Signed-off-by: Paulo Zanoni Part-of: --- src/intel/vulkan/anv_sparse.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/intel/vulkan/anv_sparse.c b/src/intel/vulkan/anv_sparse.c index e6bff9a182e..1bd403cee0c 100644 --- a/src/intel/vulkan/anv_sparse.c +++ b/src/intel/vulkan/anv_sparse.c @@ -63,25 +63,6 @@ dump_anv_vm_bind(struct anv_device *device, bind->address, bind->size, bind->bo_offset); } -static void -dump_vk_sparse_memory_bind(const VkSparseMemoryBind *bind) -{ - if (!INTEL_DEBUG(DEBUG_SPARSE)) - return; - - if (bind->memory != VK_NULL_HANDLE) { - struct anv_bo *bo = anv_device_memory_from_handle(bind->memory)->bo; - sparse_debug("bo:%04u ", bo->gem_handle); - } else { - sparse_debug("bo:---- "); - } - - sparse_debug("res_offset:%08"PRIx64" size:%08"PRIx64" " - "mem_offset:%08"PRIx64" flags:0x%08x\n", - bind->resourceOffset, bind->size, bind->memoryOffset, - bind->flags); -} - static void dump_anv_image(struct anv_image *i) {