mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 03:50:13 +01:00
zink: flag push state changed in batch changed conditional
this will matter after future refactoring Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19306>
This commit is contained in:
parent
2b40170d63
commit
cec19b58d5
1 changed files with 1 additions and 1 deletions
|
|
@ -912,7 +912,7 @@ zink_descriptors_update(struct zink_context *ctx, bool is_compute)
|
|||
if (batch_changed) {
|
||||
/* update all sets and bind null sets */
|
||||
ctx->dd.state_changed[is_compute] = pg->dd.binding_usage & BITFIELD_MASK(ZINK_DESCRIPTOR_TYPE_UNIFORMS);
|
||||
ctx->dd.push_state_changed[is_compute] = !!pg->dd.push_usage;
|
||||
ctx->dd.push_state_changed[is_compute] = !!pg->dd.push_usage || ctx->dd.has_fbfetch != bs->dd.has_fbfetch;
|
||||
}
|
||||
|
||||
if (pg != bs->dd.pg[is_compute]) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue