dzn: Pass layout objects to various dzn_descriptor_set_ptr_xxx helpers
authorBoris Brezillon <boris.brezillon@collabora.com>
Thu, 14 Apr 2022 09:37:45 +0000 (11:37 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 21 Apr 2022 10:43:30 +0000 (10:43 +0000)
commit31dc341f3aa10d0e6f5a2164d6697ab26c920b99
treeb2ce0feaf330cd158cc9aad03bd462e4d5fdf192
parentfe68cfe82aecf23df89731ac9965703bb2a2828a
dzn: Pass layout objects to various dzn_descriptor_set_ptr_xxx helpers

Needed if we want to support KHR_descriptor_update_template, since
we won't have access to the final descriptor set when calculating heap
offsets in that case.

Reviewed-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15691>
src/microsoft/vulkan/dzn_descriptor_set.c