dzn: Add a binding classification in the pipeline layout remapping
authorJesse Natalie <jenatali@microsoft.com>
Mon, 13 Mar 2023 19:43:45 +0000 (12:43 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 23 Mar 2023 21:48:44 +0000 (21:48 +0000)
commit8d52a480fe38245006df3931a1228c98905ad55f
tree95f74a90a0262fcb80e2cf9b5a48f3be5830564b
parent8bd5fbf8edd9eba9c831b8fc9d5266b4e3212030
dzn: Add a binding classification in the pipeline layout remapping

This is needed so that we can handle two special cases:
* Dynamic buffer data is allocated out of a command-buffer-owned buffer,
  rather than a descriptor-set-owned buffer, so the remapping puts them
  in their own register space.
* Static samplers should be left alone and not converted to bindless.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21913>
src/microsoft/vulkan/dzn_descriptor_set.c
src/microsoft/vulkan/dzn_private.h