mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
svga: Actually call fence_reference in texture downloads.
This commit is contained in:
parent
ad93f3e489
commit
b750786fb1
1 changed files with 2 additions and 2 deletions
|
|
@ -205,7 +205,7 @@ svga_transfer_dma(struct svga_transfer *st,
|
|||
if(transfer == SVGA3D_READ_HOST_VRAM) {
|
||||
svga_screen_flush(screen, &fence);
|
||||
sws->fence_finish(sws, fence, 0);
|
||||
//sws->fence_reference(sws, &fence, NULL);
|
||||
sws->fence_reference(sws, &fence, NULL);
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
@ -235,7 +235,7 @@ svga_transfer_dma(struct svga_transfer *st,
|
|||
if(y) {
|
||||
svga_screen_flush(screen, &fence);
|
||||
sws->fence_finish(sws, fence, 0);
|
||||
//sws->fence_reference(sws, &fence, NULL);
|
||||
sws->fence_reference(sws, &fence, NULL);
|
||||
}
|
||||
|
||||
hw = sws->buffer_map(sws, st->hwbuf, PIPE_BUFFER_USAGE_CPU_WRITE);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue