From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: [PATCH] intel: Fix emit_linear_blit to use DWORD aligned width blits Date: Sun, 07 Nov 2010 10:25:52 +0000 Message-ID: <5b55a1$ijc3pt@fmsmga002.fm.intel.com> References: <1289037871.2453.3.camel@pcjc2lap> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id 3089F9E75F for ; Sun, 7 Nov 2010 02:25:55 -0800 (PST) In-Reply-To: <1289037871.2453.3.camel@pcjc2lap> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Peter Clifton , "intel-gfx@lists.freedesktop.org" , "mesa3d-dev@lists.sourceforge.net" List-Id: intel-gfx@lists.freedesktop.org On Sat, 06 Nov 2010 10:04:31 +0000, Peter Clifton wrote: > Fixes corruption with glBufferSubData on my machine, > > Can someone review and push? Oddly, the pitch for BLT is in bytes and it should be sufficient to be a multiple of element-size. Or two element-size depending on circumstances. Just to satisfy my curiosity, what happens with (1<<15 - 2)? -Chris -- Chris Wilson, Intel Open Source Technology Centre