summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/r600_texture.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-10-18 13:23:34 +1000
committerDave Airlie <airlied@redhat.com>2010-10-18 13:39:55 +1000
commit21c6459dfbe3434fd80bc1beaffb9f71a34e8994 (patch)
treec4838d0a2bdd4330f6122f1f2bf35c2ddf34c4a1 /src/gallium/drivers/r600/r600_texture.c
parent69f8eebe726d01d013f7cdea6c0d058ff6b04337 (diff)
r600g: depth needs to bound to ds
Diffstat (limited to 'src/gallium/drivers/r600/r600_texture.c')
-rw-r--r--src/gallium/drivers/r600/r600_texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c
index 152cd9210f..07156bb7ac 100644
--- 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) {