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

--- Comment #2 from Nicolai Hähnle <[email protected]> ---
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.
_______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to