diff options
author | Kenneth Graunke <[email protected]> | 2015-04-15 03:04:33 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-04-23 14:05:41 -0700 |
commit | 8c17d53823c77ac1c56b0548e4e54f69a33285f1 (patch) | |
tree | 507104331f24b766b40d56dc6b57ad875edf98b4 /docs/bugs.html | |
parent | 29f0f976bd82c04c6c569658c260feaade7394cd (diff) |
i965: Make intel_emit_linear_blit handle Gen8+ alignment restrictions.
The BLT engine on Gen8+ requires linear surfaces to be cacheline
aligned. This restriction was added as part of converting the BLT to
use 48-bit addressing.
intel_emit_linear_blit needs to handle blits that are not cacheline
aligned, as we use it for arbitrary glBufferSubData calls and subrange
mappings.
Since intel_emit_linear_blit uses 1 byte per pixel, we can use the src/dst
pixel X offset field to represent the unaligned portion, and subtract
that from the address so it's cacheline aligned.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88521
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Anuj Phogat <[email protected]>
Cc: [email protected]
Diffstat (limited to 'docs/bugs.html')
0 files changed, 0 insertions, 0 deletions