mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 23:40:10 +01:00
gallium/radeon: flush the context after in-place texture realloc before export
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
63dcfed81f
commit
5b555854cc
1 changed files with 1 additions and 0 deletions
|
|
@ -570,6 +570,7 @@ static boolean r600_texture_get_handle(struct pipe_screen* screen,
|
|||
assert(!res->b.is_shared);
|
||||
r600_reallocate_texture_inplace(rctx, rtex,
|
||||
PIPE_BIND_SHARED, false);
|
||||
rctx->b.flush(&rctx->b, NULL, 0);
|
||||
assert(res->b.b.bind & PIPE_BIND_SHARED);
|
||||
assert(res->flags & RADEON_FLAG_NO_SUBALLOC);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue