mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 18:48:28 +02:00
r600g: add bo wait after map.
This commit is contained in:
parent
f717fd25cc
commit
121a625c16
1 changed files with 2 additions and 0 deletions
|
|
@ -240,6 +240,8 @@ void* r600_texture_transfer_map(struct pipe_context *ctx,
|
|||
if (radeon_bo_map(rscreen->rw, resource->bo)) {
|
||||
return NULL;
|
||||
}
|
||||
radeon_bo_wait(rscreen->rw, resource->bo);
|
||||
|
||||
map = resource->bo->data;
|
||||
|
||||
return map + rtransfer->offset +
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue