zink: don't update lazy descriptor states in hybrid mode

I'm not 100% sure how, but this breaks tomb raider

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13350>
This commit is contained in:
Mike Blumenkrantz
2021-10-13 09:16:35 -04:00
committed by Marge Bot
parent 75e51138b1
commit b140d58b1f
@@ -536,9 +536,6 @@ zink_descriptors_update_lazy_masked(struct zink_context *ctx, bool is_compute, u
dd_lazy(ctx)->push_state_changed[is_compute] = false;
}
}
bdd->pg[is_compute] = pg;
ctx->dd->pg[is_compute] = pg;
bdd->compat_id[is_compute] = pg->compat_id;
}
void
@@ -581,6 +578,9 @@ zink_descriptors_update_lazy(struct zink_context *ctx, bool is_compute)
0, NULL);
ctx->dd->bindless_bound = true;
}
bdd->pg[is_compute] = pg;
ctx->dd->pg[is_compute] = pg;
bdd->compat_id[is_compute] = pg->compat_id;
}
void