dzn: Implement GetDescriptorSetLayoutSupport()
authorBoris Brezillon <boris.brezillon@collabora.com>
Tue, 19 Apr 2022 09:43:22 +0000 (11:43 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 14 Jun 2022 22:44:42 +0000 (22:44 +0000)
commit59a6ddd85c28868b3be2b1872f3867f7f9ca79c1
tree6b9f711e8d8b4cbca44bbda93c09f8bc1d30dd48
parent1554ece8bd6617a53d1e80e024ebbfef716e153d
dzn: Implement GetDescriptorSetLayoutSupport()

The 2048 descriptors limit comes from the maximum number of samplers
per heap, but the limit for other descriptors is actually much bigger.
Let's implement GetDescriptorSetLayoutSupport() to reflect that.

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16926>
src/microsoft/vulkan/dzn_descriptor_set.c