panvk: adjust maxSamplerAllocationCount limit

Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31917>
This commit is contained in:
Constantine Shablia
2024-10-31 00:35:45 +00:00
committed by Marge Bot
parent a245b397c6
commit 9b7f547fef
+5 -2
View File
@@ -446,8 +446,11 @@ get_device_properties(const struct panvk_instance *instance,
* this limit.
*/
.maxMemoryAllocationCount = UINT32_MAX,
/* Again, no hardware limit, but most drivers seem to advertive 64k. */
.maxSamplerAllocationCount = 64 * 1024,
/* On Mali, VkSampler objects do not use any resources other than host
* memory and host address space, availability of which can change
* significantly over time.
*/
.maxSamplerAllocationCount = UINT32_MAX,
/* A cache line. */
.bufferImageGranularity = 64,
/* Sparse binding not supported yet. */