lavapipe: fix unused variable
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13892>
This commit is contained in:
parent
d7957df318
commit
0daed2dc6b
|
@ -1637,8 +1637,8 @@ VKAPI_ATTR VkResult VKAPI_CALL lvp_AllocateMemory(
|
|||
{
|
||||
LVP_FROM_HANDLE(lvp_device, device, _device);
|
||||
struct lvp_device_memory *mem;
|
||||
const VkExportMemoryAllocateInfo *export_info = NULL;
|
||||
const VkImportMemoryFdInfoKHR *import_info = NULL;
|
||||
ASSERTED const VkExportMemoryAllocateInfo *export_info = NULL;
|
||||
ASSERTED const VkImportMemoryFdInfoKHR *import_info = NULL;
|
||||
const VkImportMemoryHostPointerInfoEXT *host_ptr_info = NULL;
|
||||
VkResult error = VK_ERROR_OUT_OF_DEVICE_MEMORY;
|
||||
assert(pAllocateInfo->sType == VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO);
|
||||
|
|
Loading…
Reference in New Issue