mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-23 06:13:04 +00:00
tests/gem_cpu_concurrent_blit: Restore lost intel_copy_bo()
Accidentally replaced the intel_copy_bo() with the set_bo() in the
"overwrite-source" in 4fd34977af when
clearly I wanted to simply add the calls to set_bo() first.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
@@ -121,6 +121,8 @@ main(int argc, char **argv)
|
|||||||
set_bo(src[i], i, width, height);
|
set_bo(src[i], i, width, height);
|
||||||
set_bo(dst[i], i, width, height);
|
set_bo(dst[i], i, width, height);
|
||||||
}
|
}
|
||||||
|
for (i = 0; i < num_buffers; i++)
|
||||||
|
intel_copy_bo(batch, dst[i], src[i], width, height);
|
||||||
for (i = num_buffers; i--; )
|
for (i = num_buffers; i--; )
|
||||||
set_bo(src[i], 0xdeadbeef, width, height);
|
set_bo(src[i], 0xdeadbeef, width, height);
|
||||||
for (i = 0; i < num_buffers; i++)
|
for (i = 0; i < num_buffers; i++)
|
||||||
|
|||||||
Reference in New Issue
Block a user