panvk: elaborate the comment on the maxMemoryAllocationCount 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:
committed by
Marge Bot
parent
c01449ef5c
commit
a245b397c6
@@ -439,7 +439,12 @@ get_device_properties(const struct panvk_instance *instance,
|
||||
* requirements.
|
||||
*/
|
||||
.maxPushConstantsSize = 128,
|
||||
/* There's no HW limit here. Should we advertize something smaller? */
|
||||
/* On our kernel drivers we're limited by the available memory rather
|
||||
* than available allocations. This is better expressed through memory
|
||||
* properties and budget queries, and by returning
|
||||
* VK_ERROR_OUT_OF_DEVICE_MEMORY when applicable, rather than
|
||||
* this limit.
|
||||
*/
|
||||
.maxMemoryAllocationCount = UINT32_MAX,
|
||||
/* Again, no hardware limit, but most drivers seem to advertive 64k. */
|
||||
.maxSamplerAllocationCount = 64 * 1024,
|
||||
|
||||
Reference in New Issue
Block a user