zink: stop flagging has_work on batch tracking
this used to be a lazy workaround, but now it can actually mean something Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29108>
This commit is contained in:
committed by
Marge Bot
parent
74f572b28f
commit
0a24b8f9a3
@@ -1059,7 +1059,6 @@ zink_batch_reference_resource_move(struct zink_context *ctx, struct zink_resourc
|
||||
*/
|
||||
}
|
||||
check_oom_flush(bs->ctx);
|
||||
bs->has_work = true;
|
||||
simple_mtx_unlock(&bs->ref_lock);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -187,8 +187,6 @@ zink_batch_resource_usage_set(struct zink_batch_state *bs, struct zink_resource
|
||||
}
|
||||
}
|
||||
zink_resource_usage_set(res, bs, write);
|
||||
|
||||
bs->has_work = true;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user