[Intel-gfx] [PATCH] intel: Fix emit_linear_blit to use DWORD aligned width blits

Chris Wilson chris at chris-wilson.co.uk
Sun Nov 7 11:25:52 CET 2010


On Sat, 06 Nov 2010 10:04:31 +0000, Peter Clifton <pcjc2 at cam.ac.uk> 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



More information about the Intel-gfx mailing list