From: Dave Airlie Date: Fri, 4 Feb 2011 05:26:41 +0000 (+1000) Subject: r600g: don't set tile_type on evergreen. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3188a7deb3d8bcaee647de27831c0f62b17a6ea9;p=mesa.git r600g: don't set tile_type on evergreen. 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. --- diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c index b80d8049718..d9b8eb768b0 100644 --- a/src/gallium/drivers/r600/evergreen_state.c +++ b/src/gallium/drivers/r600/evergreen_state.c @@ -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 */