mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 02:20:11 +01:00
zink: simplify redundant is_buffer check
it's in the params Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24775>
This commit is contained in:
parent
738eb0d78c
commit
e02441b000
1 changed files with 1 additions and 1 deletions
|
|
@ -180,7 +180,7 @@ zink_batch_resource_usage_set(struct zink_batch *batch, struct zink_resource *re
|
|||
if (acquire)
|
||||
util_dynarray_append(&batch->state->acquires, VkSemaphore, acquire);
|
||||
}
|
||||
if (write && !res->obj->is_buffer) {
|
||||
if (write) {
|
||||
if (!res->valid && res->fb_bind_count)
|
||||
batch->state->ctx->rp_loadop_changed = true;
|
||||
res->valid = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue