r600g: don't set tile_type on evergreen.
authorDave Airlie <airlied@redhat.com>
Fri, 4 Feb 2011 05:26:41 +0000 (15:26 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 4 Feb 2011 05:26:41 +0000 (15:26 +1000)
Since we never bind the actual DB to the CB/texture only the flushed one
we don't need to track the tile type at the moment.

src/gallium/drivers/r600/evergreen_state.c

index b80d80497182034c65b46e6e8c4c1f4701b66117..d9b8eb768b0ebc6851b87b7d9fc497cfbdc58e17 100644 (file)
@@ -727,7 +727,7 @@ static void evergreen_db(struct r600_pipe_context *rctx, struct r600_pipe_state
 
        surf = (struct r600_surface *)state->zsbuf;
        rtex = (struct r600_resource_texture*)state->zsbuf->texture;
-       rtex->tile_type = 1;
+
        rbuffer = &rtex->resource;
 
        /* XXX quite sure for dx10+ hw don't need any offset hacks */