r600g: depth needs to bound to ds

This commit is contained in:
Dave Airlie 2010-10-18 13:23:34 +10:00
parent 69f8eebe72
commit 21c6459dfb
1 changed files with 1 additions and 1 deletions

View File

@ -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) {