[Bug 89314] [HSW, regression, bisected] i965/pixel_read: Use meta_pbo_GetTexSubImage for PBO ReadPixels (ef0499af255ecd)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 9 05:18:55 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89314

--- Comment #19 from Kenneth Graunke <kenneth at whitecape.org> ---
It seems pretty clear to me.  The specification allows rounding in either
direction.

Reading from GPU memory into GPU memory (a PBO) vs. reading into CPU memory (a
malloc'd buffer) are different operations, and already have differing
properties.  For example, reading into CPU memory could stall due to
cross-device synchronization, while reading into GPU memory might be fully
pipelined and only stall if/when the buffer is eventually mapped.  Those are
substantially different behaviors; applications don't expect them to behave
identically.

Our implementation of GetTexSubImage/ReadPixels into CPU memory is valid.
Our implementation of GetTexSubImage/ReadPixels into GPU memory is also valid.

The GL implementation is expected to perform these operations as quickly as
possible, so it needs to be free to choose the most performant valid
implementation as it sees fit.

The fact that they differ, ever so slightly, is not a problem.  Both results
are allowed by the specification.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20150609/b2b59225/attachment.html>


More information about the intel-3d-bugs mailing list