Mesa (master): r600g: don't set tile_type on evergreen.
Dave Airlie
airlied at kemper.freedesktop.org
Fri Feb 4 05:23:36 UTC 2011
Module: Mesa
Branch: master
Commit: 3188a7deb3d8bcaee647de27831c0f62b17a6ea9
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3188a7deb3d8bcaee647de27831c0f62b17a6ea9
Author: Dave Airlie <airlied at redhat.com>
Date: Fri Feb 4 15:26:41 2011 +1000
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.
---
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 b80d804..d9b8eb7 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 */
More information about the mesa-commit
mailing list