diff options
author | Peter Clifton <[email protected]> | 2010-11-06 09:23:06 +0000 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-11-08 10:14:17 -0800 |
commit | 10b9e018ca4b37c66a6e0215d4551ed74b4981a6 (patch) | |
tree | fd831d46c5810e40e361b3e863323289e499d87e /src/gallium/winsys/r600 | |
parent | 5b15b5f4a8fffa07d8051e6cd4cd0a6c9288fc9f (diff) |
intel: Fix emit_linear_blit to use DWORD aligned width blits
The width of the 2D blits used to copy the data is defined as a 16-bit
signed integer, but the pitch must be DWORD aligned. Limit to an integral
number of DWORDs, (1 << 15 - 4) rather than (1 << 15 -1).
Fixes corruption to data uploaded with glBufferSubData.
Signed-off-by: Peter Clifton <[email protected]>
Diffstat (limited to 'src/gallium/winsys/r600')
0 files changed, 0 insertions, 0 deletions