mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 07:50:11 +01:00
st/mesa: replace st_flush() with pipe->flush()
We only need to flush the gallium driver in this case. Fixes a recursive state validation bug.
This commit is contained in:
parent
2198497203
commit
4e6c79ac16
1 changed files with 1 additions and 1 deletions
|
|
@ -588,5 +588,5 @@ st_teximage_flush_before_map(struct st_context *st,
|
|||
|
||||
if (referenced && ((referenced & PIPE_REFERENCED_FOR_WRITE) ||
|
||||
(usage & PIPE_TRANSFER_WRITE)))
|
||||
st_flush(st, PIPE_FLUSH_RENDER_CACHE, NULL);
|
||||
st->pipe->flush(st->pipe, PIPE_FLUSH_RENDER_CACHE, NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue