mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 04:50:11 +01:00
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:
parent
23c758807e
commit
d637eee212
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue