projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69f8eeb
)
r600g: depth needs to bound to ds
author
Dave Airlie
<airlied@redhat.com>
Mon, 18 Oct 2010 03:23:34 +0000
(13:23 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 18 Oct 2010 03:39:55 +0000
(13:39 +1000)
src/gallium/drivers/r600/r600_texture.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_texture.c
b/src/gallium/drivers/r600/r600_texture.c
index 152cd9210fd852c00941fb3b44642dc7572456a6..07156bb7acc870f5f4cf754506ae4d5066c60e82 100644
(file)
--- a/
src/gallium/drivers/r600/r600_texture.c
+++ b/
src/gallium/drivers/r600/r600_texture.c
@@
-318,7
+318,7
@@
int r600_texture_depth_flush(struct pipe_context *ctx,
resource.bind = 0;
resource.flags = 0;
- resource.bind |= PIPE_BIND_
RENDER_TARGET
;
+ resource.bind |= PIPE_BIND_
DEPTH_STENCIL
;
rtex->flushed_depth_texture = (struct r600_resource_texture *)ctx->screen->resource_create(ctx->screen, &resource);
if (rtex->flushed_depth_texture == NULL) {