zink: don't block large vram allocations

I think this was masking some other problem that has long since been fixed

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25893>
This commit is contained in:
Mike Blumenkrantz
2023-10-25 13:32:22 -04:00
committed by Marge Bot
parent 8cfb46e27d
commit ac6139ad73

View File

@@ -256,10 +256,6 @@ bo_create_internal(struct zink_screen *screen,
struct zink_bo *bo = NULL; struct zink_bo *bo = NULL;
bool init_pb_cache; bool init_pb_cache;
/* too big for vk alloc */
if (size > UINT32_MAX)
return NULL;
alignment = get_optimal_alignment(screen, size, alignment); alignment = get_optimal_alignment(screen, size, alignment);
VkMemoryAllocateFlagsInfo ai; VkMemoryAllocateFlagsInfo ai;