Revert "zink: don't create separate shader dsls if there are no bindings"
This reverts commit83a1b74240. this is creating the pipeline layout, which is always required, not the dsl Fixes:83a1b74240("zink: don't create separate shader dsls if there are no bindings") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22801>
This commit is contained in:
committed by
Marge Bot
parent
27d6a98638
commit
905f7f8365
@@ -752,8 +752,7 @@ zink_descriptor_shader_init(struct zink_screen *screen, struct zink_shader *shad
|
||||
if (shader->bindless)
|
||||
dsl[screen->desc_set_id[ZINK_DESCRIPTOR_BINDLESS]] = screen->bindless_layout;
|
||||
}
|
||||
if (num_bindings)
|
||||
shader->precompile.layout = zink_pipeline_layout_create(screen, dsl, num_dsl, false, VK_PIPELINE_LAYOUT_CREATE_INDEPENDENT_SETS_BIT_EXT);
|
||||
shader->precompile.layout = zink_pipeline_layout_create(screen, dsl, num_dsl, false, VK_PIPELINE_LAYOUT_CREATE_INDEPENDENT_SETS_BIT_EXT);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user