mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
intel: Respect texture tiling when doing a PBO blit teximage upload.
Bug #26008. Fixes piglit pbo-teximage-tiling-2.
(cherry picked from commit 22bbc97994)
This commit is contained in:
parent
9564a6fa13
commit
fb32e0fcc5
1 changed files with 2 additions and 1 deletions
|
|
@ -241,7 +241,8 @@ try_pbo_upload(struct intel_context *intel,
|
|||
if (!intelEmitCopyBlit(intel,
|
||||
intelImage->mt->cpp,
|
||||
src_stride, src_buffer, src_offset, GL_FALSE,
|
||||
dst_stride, dst_buffer, 0, GL_FALSE,
|
||||
dst_stride, dst_buffer, 0,
|
||||
intelImage->mt->region->tiling,
|
||||
0, 0, dst_x, dst_y, width, height,
|
||||
GL_COPY)) {
|
||||
UNLOCK_HARDWARE(intel);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue