[Bug 97321] Query INFO_LOG_LENGTH for empty info log should return 0

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 18 16:04:05 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=97321

--- Comment #13 from Ian Romanick <idr at freedesktop.org> ---
(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);

-- 
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/20160818/6ed5d2ec/attachment.html>


More information about the intel-3d-bugs mailing list