diff options
author | Dave Airlie <airlied@redhat.com> | 2011-02-01 13:06:35 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-02-01 13:06:35 +1000 |
commit | 8b5a50b31ca272ab8761e2a31025a54d8999ec06 (patch) | |
tree | a140661e2e73f863d05c659f9b97a0fc6c79c1ed /src/gallium/drivers/r600 | |
parent | aee5f1e40ca27149a6226187e855125821d96971 (diff) |
r600g: fix evergreen for depth decompress test
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r-- | src/gallium/drivers/r600/evergreen_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c index 8c4f0f9aad..426b3a9d6d 100644 --- a/src/gallium/drivers/r600/evergreen_state.c +++ b/src/gallium/drivers/r600/evergreen_state.c @@ -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; } |