projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c64344
)
r600g: avoid trying to flush the flushing texture.
author
Dave Airlie
<airlied@redhat.com>
Thu, 3 Feb 2011 23:36:02 +0000
(09:36 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 3 Feb 2011 23:36:02 +0000
(09:36 +1000)
Since these textures still have the depth bit set.
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_blit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_blit.c
b/src/gallium/drivers/r600/r600_blit.c
index de54da8714f4c6acec8209ea6f61d140a7d828bb..af471d0d917ffe38bb088bcb5ff774f5dcd47bd7 100644
(file)
--- a/
src/gallium/drivers/r600/r600_blit.c
+++ b/
src/gallium/drivers/r600/r600_blit.c
@@
-134,6
+134,9
@@
void r600_flush_depth_textures(struct r600_pipe_context *rctx)
if (!tex->depth)
continue;
+ if (tex->is_flushing_texture)
+ continue;
+
r600_blit_uncompress_depth(&rctx->context, tex);
}
@@
-145,6
+148,9
@@
void r600_flush_depth_textures(struct r600_pipe_context *rctx)
if (!tex->depth)
continue;
+ if (tex->is_flushing_texture)
+ continue;
+
r600_blit_uncompress_depth(&rctx->context, tex);
}
}