mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-23 09:20:33 +01:00
anv: remove assert, size is asserted in the runtime
Otherwise gets hit on Android CTS tests. Reported-by: Chris Spencer <spencercw@gmail.com> Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24722>
This commit is contained in:
parent
2cbe85e6a9
commit
98eecece9b
1 changed files with 0 additions and 3 deletions
|
|
@ -3727,9 +3727,6 @@ VkResult anv_AllocateMemory(
|
|||
|
||||
assert(pAllocateInfo->sType == VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO);
|
||||
|
||||
/* The Vulkan 1.0.33 spec says "allocationSize must be greater than 0". */
|
||||
assert(pAllocateInfo->allocationSize > 0);
|
||||
|
||||
VkDeviceSize aligned_alloc_size =
|
||||
align64(pAllocateInfo->allocationSize, 4096);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue