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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user