Mesa (master): i965: Drop a funny assert about mt pitch.
Eric Anholt
anholt at kemper.freedesktop.org
Thu May 1 22:16:53 UTC 2014
Module: Mesa
Branch: master
Commit: 835f90692fe3de9d5100d9877c033039f5bdb4a1
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=835f90692fe3de9d5100d9877c033039f5bdb4a1
Author: Eric Anholt <eric at anholt.net>
Date: Fri Apr 25 15:18:14 2014 -0700
i965: Drop a funny assert about mt pitch.
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.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
---
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 3032124..f3daad0 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,
More information about the mesa-commit
mailing list