lavapipe: drop redundant memory type index tracking

...since it's not used anywhere

Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36252>
This commit is contained in:
Yiwei Zhang
2025-07-20 23:52:53 -07:00
committed by Marge Bot
parent 63aedb5922
commit d360ea7762
2 changed files with 0 additions and 3 deletions
@@ -2076,8 +2076,6 @@ VKAPI_ATTR VkResult VKAPI_CALL lvp_AllocateMemory(
memset(mem->map, 0, pAllocateInfo->allocationSize);
}
mem->type_index = pAllocateInfo->memoryTypeIndex;
*pMem = lvp_device_memory_to_handle(mem);
return VK_SUCCESS;
@@ -243,7 +243,6 @@ struct lvp_device_memory {
struct pipe_memory_allocation *pmem;
struct llvmpipe_memory_allocation mem_alloc;
uint32_t type_index;
VkDeviceSize map_size;
VkDeviceSize size;
void * map;