<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Query INFO_LOG_LENGTH for empty info log should return 0"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97321#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Query INFO_LOG_LENGTH for empty info log should return 0"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97321">bug 97321</a>
from <span class="vcard"><a class="email" href="mailto:qiankun.miao@intel.com" title="Qiankun Miao <qiankun.miao@intel.com>"> <span class="fn">Qiankun Miao</span></a>
</span></b>
<pre>(In reply to Ian Romanick from <a href="show_bug.cgi?id=97321#c6">comment #6</a>)
<span class="quote">> The spec also says, "If pname is INFO_LOG_LENGTH , the length of the info
> log, including a null terminator, is returned." If this query returns 0,
> then glGetProgramInfoLog CANNOT write anything to the buffer... and it
> currently does.</span >
I think returned value of GetProgramiv() can be 0. It doesn't affect the real
length of the info log buffer. Driver can still return a null terminator
string.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>