mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 08:58:02 +02:00
r600g: fix evergreen for depth decompress test
This commit is contained in:
parent
aee5f1e40c
commit
8b5a50b31c
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
if (tmp->depth && tmp->tile_type == 1) {
|
||||
r600_texture_depth_flush(ctx, texture);
|
||||
tmp = tmp->flushed_depth_texture;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue