- diff --git a/src/mesa/state_tracker/st_texture.c b/src/mesa/state_tracker/st_texture.c
- index dbccee8..fe8191e 100644
- --- a/src/mesa/state_tracker/st_texture.c
- +++ b/src/mesa/state_tracker/st_texture.c
- @@ -584,11 +584,5 @@ st_teximage_flush_before_map(struct st_context *st,
- unsigned int level,
- enum pipe_transfer_usage usage)
- {
- - struct pipe_context *pipe = st->pipe;
- - unsigned referenced =
- - pipe->is_texture_referenced(pipe, pt, face, level);
- -
- - if (referenced && ((referenced & PIPE_REFERENCED_FOR_WRITE) ||
- - (usage & PIPE_TRANSFER_WRITE)))
- - st->pipe->flush(st->pipe, PIPE_FLUSH_RENDER_CACHE, NULL);
- + st_flush(st, PIPE_FLUSH_RENDER_CACHE, NULL);
- }
Undefined
By: Guest | Date: Dec 3 2009 23:32 | Format: None | Expires: never | Size: 716 B | Hits: 906
Latest pastes
1 hours ago
11 hours ago
1 days ago
2 days ago
2 days ago