diff options
author | Eric Anholt <[email protected]> | 2014-04-25 15:18:14 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-05-01 15:12:27 -0700 |
commit | 835f90692fe3de9d5100d9877c033039f5bdb4a1 (patch) | |
tree | fb886e80f423d38adc8b1396eef2973a47c6b3f0 | |
parent | b49982de6a52fdb7d0360d608badb103d15c04f1 (diff) |
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 <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_screen.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c index 30321242f43..f3daad0675c 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, |