zink: create pipeline layout if only bindless descriptor set is used

bindless descriptors are descriptors too.

cc: mesa-stable

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15853>
This commit is contained in:
Mike Blumenkrantz 2022-04-11 15:07:50 -04:00 committed by Marge Bot
parent 23c758807e
commit d637eee212
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ zink_descriptor_program_init_lazy(struct zink_context *ctx, struct zink_program
if (pg->dd->bindless)
zink_descriptors_init_bindless(ctx);
pg->dd->binding_usage = has_bindings;
if (!has_bindings && !push_count) {
if (!has_bindings && !push_count && !pg->dd->bindless) {
ralloc_free(pg->dd);
pg->dd = NULL;