mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 11:20:20 +01:00
r600g: Replace needless flush in texture upload.
Replace pipe->flush() with pipe->texture_barrier() in the texture upload path for the staging texture. This should be enough to get data out of the gpu caches ready to be read for texture fetch.
This commit is contained in:
parent
7684808f9c
commit
e8139ebf58
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ static void r600_copy_from_staging_texture(struct pipe_context *ctx, struct r600
|
|||
rtransfer->staging_texture,
|
||||
0, &sbox);
|
||||
|
||||
r600_flush(ctx, NULL, RADEON_FLUSH_ASYNC);
|
||||
ctx->texture_barrier(ctx);
|
||||
}
|
||||
|
||||
unsigned r600_texture_get_offset(struct r600_resource_texture *rtex,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue