<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#c2">Comment # 2</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:nhaehnle@gmail.com" title="Nicolai Hähnle <nhaehnle@gmail.com>"> <span class="fn">Nicolai Hähnle</span></a>
</span></b>
        <pre>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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>