projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ee7651
)
r600g: fix evergreen sampler view + depth interaction
author
Dave Airlie
<airlied@redhat.com>
Fri, 4 Feb 2011 05:26:09 +0000
(15:26 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Fri, 4 Feb 2011 05:26:09 +0000
(15:26 +1000)
src/gallium/drivers/r600/evergreen_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/evergreen_state.c
b/src/gallium/drivers/r600/evergreen_state.c
index 73fa1714361ef127c6698d1bc97edccb264323da..b80d80497182034c65b46e6e8c4c1f4701b66117 100644
(file)
--- 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 &&
tmp->tile_type == 1
) {
+ if (tmp->depth &&
!tmp->is_flushing_texture
) {
r600_texture_depth_flush(ctx, texture, TRUE);
tmp = tmp->flushed_depth_texture;
}