i965: Add decode for the G4X x,y offset in surface state.
authorEric Anholt <eric@anholt.net>
Thu, 18 Jun 2009 03:46:12 +0000 (20:46 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 18 Jun 2009 04:01:48 +0000 (21:01 -0700)
src/mesa/drivers/dri/i965/brw_state_dump.c

index a713262..e94fa7d 100644 (file)
@@ -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);
    }