[Piglit] [Bug 98139] arb_query_buffer_object: have_cpu_result is only accurate for 64bit reads

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 7 07:52:37 UTC 2016


--- Comment #2 from Nicolai Hähnle <nhaehnle at gmail.com> ---
I disagree. OpenGL 4.5 (Compatibility Profile), page 48 (5th paragraph after
the listing of GetQuery[Buffer]Object*) says:

"If pname is QUERY_RESULT, then the query object’s result value is returned as
a single integer. If the value is so large in magnitude that it cannot be
represented with the requested type, then ***the nearest value*** representable
using the requested type is returned."

Furthermore, whether the value is saturated or truncated doesn't even matter
for this particular part of the test. The real point is that GetQueryObject and
GetQueryBufferObject must return the same result, because there is no part in
the spec that allows for such a different: the query object result value is
described in the spec as a piece of state, and those functions just return that
piece of state.

You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20161007/d953519b/attachment.html>

More information about the Piglit mailing list