mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
r300g: fix transfering compressed textures
This commit is contained in:
parent
e72b87736d
commit
9cc6b5b043
1 changed files with 1 additions and 1 deletions
|
|
@ -204,7 +204,7 @@ r300_texture_get_transfer(struct pipe_context *ctx,
|
|||
r300_texture_get_stride(r300screen, tex, sr.level);
|
||||
trans->offset = r300_texture_get_offset(tex, sr.level, box->z, sr.face);
|
||||
|
||||
if (referenced_cs && (usage & PIPE_TRANSFER_READ))
|
||||
if (referenced_cs)
|
||||
ctx->flush(ctx, PIPE_FLUSH_RENDER_CACHE, NULL);
|
||||
return &trans->transfer;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue