r600g: fix evergreen sampler view + depth interaction
This commit is contained in:
parent
9ee765197c
commit
fdd35dc912
|
@ -381,7 +381,7 @@ static struct pipe_sampler_view *evergreen_create_sampler_view(struct pipe_conte
|
|||
R600_ERR("unknow format %d\n", state->format);
|
||||
}
|
||||
tmp = (struct r600_resource_texture *)texture;
|
||||
if (tmp->depth && tmp->tile_type == 1) {
|
||||
if (tmp->depth && !tmp->is_flushing_texture) {
|
||||
r600_texture_depth_flush(ctx, texture, TRUE);
|
||||
tmp = tmp->flushed_depth_texture;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue