mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
nv50: remove nouveau_fence_signalled prior nouveau_fence_wait
nouveau_fence_wait handles signalled fences just as well. Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: M Henning <drawoc@darkrefraction.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10752>
This commit is contained in:
parent
0642f95c4e
commit
88b76f8492
1 changed files with 1 additions and 1 deletions
|
|
@ -624,7 +624,7 @@ nv50_draw_elements(struct nv50_context *nv50, bool shorten,
|
|||
* the not-yet-written data. Ideally this wait would only happen on
|
||||
* pushbuf submit, but it's probably not a big performance difference.
|
||||
*/
|
||||
if (buf->fence_wr && !nouveau_fence_signalled(buf->fence_wr))
|
||||
if (buf->fence_wr)
|
||||
nouveau_fence_wait(buf->fence_wr, &nv50->base.debug);
|
||||
|
||||
while (instance_count--) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue