[Bug 97321] Query INFO_LOG_LENGTH for empty info log should return 0
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Aug 19 09:19:02 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=97321
--- Comment #14 from Qiankun Miao <qiankun.miao at intel.com> ---
(In reply to Ian Romanick from comment #13)
> (In reply to Qiankun Miao from comment #11)
> > (In reply to Ian Romanick from comment #10)
> > > 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);
buffer would be:"\000othing was written.", '\000' <repeats xx times>
So printf will print an empty line.
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20160819/01c2b327/attachment.html>
More information about the intel-3d-bugs
mailing list