diff options
author | Marek Olšák <[email protected]> | 2017-07-04 17:26:31 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-07-17 10:50:39 -0400 |
commit | 5b555854cc2c36e16e1ce3e5e81c09c869ec3531 (patch) | |
tree | a3af0af4b9b5f9db58baa1ed33eb4133cb9e76b0 | |
parent | 63dcfed81f011dae5ca68af3369433be28135415 (diff) |
gallium/radeon: flush the context after in-place texture realloc before export
Reviewed-by: Nicolai Hähnle <[email protected]>
-rw-r--r-- | src/gallium/drivers/radeon/r600_texture.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c index 2deb56af661..f5f7d1030c8 100644 --- a/src/gallium/drivers/radeon/r600_texture.c +++ b/src/gallium/drivers/radeon/r600_texture.c @@ -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); } |