<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - arb_query_buffer_object: have_cpu_result is only accurate for 64bit reads"
href="https://bugs.freedesktop.org/show_bug.cgi?id=98139#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - arb_query_buffer_object: have_cpu_result is only accurate for 64bit reads"
href="https://bugs.freedesktop.org/show_bug.cgi?id=98139">bug 98139</a>
from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
<pre>(In reply to Nicolai Hähnle from <a href="show_bug.cgi?id=98139#c2">comment #2</a>)
<span class="quote">> 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."</span >
Which is what mesa does.
<span class="quote">> Furthermore, whether the value is saturated or truncated doesn't even matter
> for this particular part of the test. </span >
The result from the CPU read is then used for an exact comparison with the full
result read via the GPU. It matters.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>