[Mesa-dev] [PATCH 14/18] i965: Drop a funny assert about mt pitch.
Eric Anholt
eric at anholt.net
Tue Apr 29 16:34:39 PDT 2014
I slipped this in in the region->pitch change from pixels to bytes, but I
don't see any reason for it any more -- the libdrm code doesn't appear to
divide pitch by a cpp.
---
src/mesa/drivers/dri/i965/intel_screen.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c
index eca9bc2..ab95a39 100644
--- a/src/mesa/drivers/dri/i965/intel_screen.c
+++ b/src/mesa/drivers/dri/i965/intel_screen.c
@@ -140,7 +140,6 @@ aub_dump_bmp(struct gl_context *ctx)
continue;
}
- assert(irb->mt->pitch % irb->mt->cpp == 0);
drm_intel_gem_bo_aub_dump_bmp(irb->mt->bo,
irb->draw_x,
irb->draw_y,
--
1.9.2
More information about the mesa-dev
mailing list