mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
zink: ensure db is bound before separate shader update
seems unlikely but who knows Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21246>
This commit is contained in:
parent
bec6087699
commit
651f322091
1 changed files with 4 additions and 0 deletions
|
|
@ -1051,6 +1051,10 @@ update_separable(struct zink_context *ctx, struct zink_program *pg)
|
|||
prog->shaders[MESA_SHADER_VERTEX],
|
||||
prog->shaders[MESA_SHADER_FRAGMENT],
|
||||
};
|
||||
|
||||
if (!bs->dd.db_bound)
|
||||
zink_batch_bind_db(ctx);
|
||||
|
||||
for (unsigned j = 0; j < pg->num_dsl; j++) {
|
||||
if (!shaders[j]->precompile.dsl)
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue