Mesa (master): i965: Add decode for the G4X x, y offset in surface state.
Eric Anholt
anholt at kemper.freedesktop.org
Wed Jun 17 21:03:35 PDT 2009
Module: Mesa
Branch: master
Commit: 3addc4e3078b99db07598ac0b2473f7612b83a09
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3addc4e3078b99db07598ac0b2473f7612b83a09
Author: Eric Anholt <eric at anholt.net>
Date: Wed Jun 17 20:46:12 2009 -0700
i965: Add decode for the G4X x,y offset in surface state.
---
src/mesa/drivers/dri/i965/brw_state_dump.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_state_dump.c b/src/mesa/drivers/dri/i965/brw_state_dump.c
index a713262..e94fa7d 100644
--- a/src/mesa/drivers/dri/i965/brw_state_dump.c
+++ b/src/mesa/drivers/dri/i965/brw_state_dump.c
@@ -126,6 +126,8 @@ static void dump_wm_surface_state(struct brw_context *brw)
surf->ss3.pitch + 1, surf->ss3.tiled_surface ? "" : "not ");
state_out(name, surf, surfoff, 4, "mip base %d\n",
surf->ss4.min_lod);
+ state_out(name, surf, surfoff, 5, "x,y offset: %d,%d\n",
+ surf->ss5.x_offset, surf->ss5.y_offset);
dri_bo_unmap(surf_bo);
}
More information about the mesa-commit
mailing list