<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#c14">Comment # 14</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#c13">comment #13</a>)
<span class="quote">> (In reply to Qiankun Miao from <a href="show_bug.cgi?id=97321#c11">comment #11</a>)
> > (In reply to Ian Romanick from <a href="show_bug.cgi?id=97321#c10">comment #10</a>)
> > > Also... has anyone checked what other implementations do using, say, a
> > > piglit test? Something other than WebGL tests.
> >
> > FYI:
> > NVidia 349.16 behaves the same as Mesa. NVidia 364.19 returns 0.
>
> When the GL_INFO_LOG_LENGTH query returns 0, what does the following code
> output?
>
> char buffer[256];
>
> strcpy(buffer, "Nothing was written.");
> glGetProgramInfoLog(prog, sizeof(buffer), NULL, buffer);
>
> printf("%s\n", buffer);</span >
buffer would be:"\000othing was written.", '\000' <repeats xx times>
So printf will print an empty line.</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>