mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
svga: Actually call fence_reference in texture downloads.
This commit is contained in:
parent
cb5447f79c
commit
ddedfe12d4
1 changed files with 2 additions and 2 deletions
|
|
@ -203,7 +203,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 {
|
||||
|
|
@ -232,7 +232,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