diff options
author | Dave Airlie <[email protected]> | 2011-02-04 15:26:41 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2011-02-04 15:26:41 +1000 |
commit | 3188a7deb3d8bcaee647de27831c0f62b17a6ea9 (patch) | |
tree | 1ce3548e47a43f135071b6bce128e4428480a9dd | |
parent | fdd35dc91220046ed66877e60479f155e3a23690 (diff) |
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.
-rw-r--r-- | src/gallium/drivers/r600/evergreen_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |